Interface JexlScriptParser

All Known Implementing Classes:
JexlParser, Parser

public interface JexlScriptParser
The interface that produces a JEXL script AST from a source.
Since:
3.5.0
  • Method Details

    • parse

      ASTJexlScript parse(JexlInfo info, JexlFeatures features, String src, Scope scope)
      Parses a script or expression.
      Parameters:
      info - information structure
      features - The set of parsing features
      src - The expression to parse
      scope - The script frame
      Returns:
      The parsed tree
      Throws:
      JexlException - if any error occurred during parsing
    • jxltParse

      default ASTJexlScript jxltParse(JexlInfo info, JexlFeatures features, String src, Scope scope)
      Parses an embedded JXLT script or expression, an interpolation expression.
      Parameters:
      info - information structure
      features - The set of parsing features
      src - The expression to parse
      scope - The script frame
      Returns:
      The parsed tree
      Throws:
      JexlException - if any error occurred during parsing