Examples of BlockNode


Examples of st.gravel.support.compiler.ast.BlockNode

    assertEquals((String) "foo", (String) _node.prettySourceString());
  }

  @Test
  public void testParseVariableDot() {
    final BlockNode _node;
    _node = ((BlockNode) Parser.factory.source_(" [foo. bar] ").parseExpression());
    assertTrue(st.gravel.support.jvm.ObjectExtensions.equals_(_node.factory(), BlockNode.factory));
    assertEquals((String) "\n[\nfoo.\nbar]", (String) _node.prettySourceString());
  }
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.