Package st.gravel.support.compiler.ast

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


    assertEquals((String) "+ arg {^String}\n\t^bar", (String) _node.prettySourceString());
  }

  @Test
  public void testParseNamespacedVariable() {
    final NamespacedVariableNode _node;
    _node = ((NamespacedVariableNode) Parser.factory.source_(" foo.bar.baz ").parseExpression());
    assertEquals((st.gravel.support.jvm.SmalltalkFactory) NamespacedVariableNode.factory, (st.gravel.support.jvm.SmalltalkFactory) _node.factory());
    assertEquals((String) "foo.bar.baz", (String) _node.prettySourceString());
    assertEquals((String[]) new String[] { "foo", "bar", "baz" }, (String[]) _node.path());
  }
View Full Code Here

TOP

Related Classes of st.gravel.support.compiler.ast.NamespacedVariableNode

Copyright © 2018 www.massapicom. 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.