Examples of GlobalNode


Examples of com.google.template.soy.exprtree.GlobalNode

  }


  public void testParseGlobal() throws Exception {

    GlobalNode global = (new ExpressionParser("MOO_2")).parseGlobal().getChild(0);
    assertEquals("MOO_2", global.getName());
    assertEquals("MOO_2", global.toSourceString());

    global = (new ExpressionParser("aaa.BBB")).parseGlobal().getChild(0);
    assertEquals("aaa.BBB", global.getName());
    assertEquals("aaa.BBB", global.toSourceString());
  }
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.