Interface GssFunction

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<CssValueNode> getCallResultNodes​(java.util.List<CssValueNode> args, ErrorManager errorManager)
      Processes a list of function call arguments and returns a list of CssNodes representing this call's output, which replace the input nodes in the AST.
      java.lang.String getCallResultString​(java.util.List<java.lang.String> args)
      Processes a list of strings as function arguments and returns a string result.
      java.lang.Integer getNumExpectedArguments()
      Returns the number of parsed arguments that this function takes, or null if the number of arguments may vary.
    • Method Detail

      • getNumExpectedArguments

        java.lang.Integer getNumExpectedArguments()
        Returns the number of parsed arguments that this function takes, or null if the number of arguments may vary.
      • getCallResultNodes

        java.util.List<CssValueNode> getCallResultNodes​(java.util.List<CssValueNode> args,
                                                        ErrorManager errorManager)
                                                 throws GssFunctionException
        Processes a list of function call arguments and returns a list of CssNodes representing this call's output, which replace the input nodes in the AST. Errors will be reported to the ErrorManager.
        Throws:
        GssFunctionException