Package com.google.template.soy.shared.restricted

Examples of com.google.template.soy.shared.restricted.SoyJavaRuntimeFunction


   * @param fnNode The function node. Only used for error reporting.
   * @return The result of the function called on the given arguments.
   */
  protected SoyData computeFunction(String fnName, List<SoyData> args, FunctionNode fnNode) {

    SoyJavaRuntimeFunction fn = soyJavaRuntimeFunctionsMap.get(fnName);
    if (fn == null) {
      throw new RenderException(
          "Failed to find Soy function with name '" + fnName + "'" +
          " (function call \"" + fnNode.toSourceString() + "\").");
    }
View Full Code Here

TOP

Related Classes of com.google.template.soy.shared.restricted.SoyJavaRuntimeFunction

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.