Package st.gravel.support.compiler.ast

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


  @Test
  public void testParseUnaryMethod() {
    final UnaryMethodNode _node;
    _node = ((UnaryMethodNode) Parser.factory.parseMethod_("foo self baz. ^bar"));
    assertTrue(st.gravel.support.jvm.ObjectExtensions.equals_(_node.factory(), UnaryMethodNode.factory));
    assertEquals((String) "foo\n\tself baz.\n\t^bar", (String) _node.prettySourceString());
  }

  @Test
  public void testParseVariable() {
    final VariableNode _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.