Class EvalFunction

java.lang.Object
com.google.gwt.resources.gss.EvalFunction
All Implemented Interfaces:
com.google.gwt.thirdparty.common.css.compiler.ast.GssFunction

public class EvalFunction extends Object implements com.google.gwt.thirdparty.common.css.compiler.ast.GssFunction
GSS function that creates a CssJavaExpressionNode in order to evaluate a Java expression at runtime.
  • Constructor Details

    • EvalFunction

      public EvalFunction()
  • Method Details

    • getName

      public static String getName()
    • getCallResultNodes

      public List<com.google.gwt.thirdparty.common.css.compiler.ast.CssValueNode> getCallResultNodes(List<com.google.gwt.thirdparty.common.css.compiler.ast.CssValueNode> args, com.google.gwt.thirdparty.common.css.compiler.ast.ErrorManager errorManager) throws com.google.gwt.thirdparty.common.css.compiler.ast.GssFunctionException
      Specified by:
      getCallResultNodes in interface com.google.gwt.thirdparty.common.css.compiler.ast.GssFunction
      Throws:
      com.google.gwt.thirdparty.common.css.compiler.ast.GssFunctionException
    • getCallResultString

      public String getCallResultString(List<String> args) throws com.google.gwt.thirdparty.common.css.compiler.ast.GssFunctionException
      Specified by:
      getCallResultString in interface com.google.gwt.thirdparty.common.css.compiler.ast.GssFunction
      Throws:
      com.google.gwt.thirdparty.common.css.compiler.ast.GssFunctionException
    • getNumExpectedArguments

      public Integer getNumExpectedArguments()
      Specified by:
      getNumExpectedArguments in interface com.google.gwt.thirdparty.common.css.compiler.ast.GssFunction