Package com.google.template.soy.exprtree

Examples of com.google.template.soy.exprtree.VarNode.toSourceString()


  public void testParseVariable() throws Exception {

    VarNode var = (new ExpressionParser("$boo")).parseVariable().getChild(0);
    assertEquals("boo", var.getName());
    assertEquals("$boo", var.toSourceString());
  }


  public void testParseDataReference() throws Exception {
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.