Class ValueFunction

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

public class ValueFunction extends Object implements com.google.gwt.thirdparty.common.css.compiler.ast.GssFunction
Handles the value() function. This function takes a sequence of dot-separated identifiers interpreted as zero-arg method invocations. It can takes a optional prefix and suffix.
  • Constructor Details

    • ValueFunction

      public ValueFunction()
  • 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