Package st.gravel.support.compiler.ast

Examples of st.gravel.support.compiler.ast.Statement.prettySourceString()


  @Test
  public void testParseUnaryBlockWithTemps() {
    final Statement _node;
    _node = Parser.factory.source_("[:a | | b | a foo. b bar]").parseExpression();
    assertTrue(st.gravel.support.jvm.ObjectExtensions.equals_(_node.factory(), BlockNode.factory));
    assertEquals((String) "\n[:a | \n| b |\na foo.\nb bar]", (String) _node.prettySourceString());
  }

  @Test
  public void testParseUnaryExpression() {
    final UnaryMessageNode _node;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.