Package st.gravel.support.compiler.ast

Examples of st.gravel.support.compiler.ast.CharacterLiteralNode.factory()


  @Test
  public void testParseChar() {
    final CharacterLiteralNode _node;
    _node = ((CharacterLiteralNode) Parser.factory.source_("$a").parseExpression());
    assertTrue(st.gravel.support.jvm.ObjectExtensions.equals_(_node.factory(), CharacterLiteralNode.factory));
    assertEquals((String) "$a", (String) _node.prettySourceString());
    assertTrue(st.gravel.support.jvm.CharacterExtensions.equals_(_node.value(), 'a'));
  }

  @Test
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.