Package com.google.clearsilver.jsilver.compiler.JavaExpression

Examples of com.google.clearsilver.jsilver.compiler.JavaExpression.Type


   * Declares the (typed) expression as a variable with the given name. (e.g. "int foo = 5" or
   * "Data foo = Data.getChild("a.b")"
   */
  public JavaExpression declareAsVariable(String name, PExpression csExpression) {
    JavaExpression expression = translateUntyped(csExpression);
    Type type = expression.getType();
    assert type != null : "all subexpressions should be typed";
    return declare(type, name, expression);
  }
View Full Code Here

TOP

Related Classes of com.google.clearsilver.jsilver.compiler.JavaExpression.Type

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.