Package org.apache.commons.jexl3.parser
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 Summary
Modifier and TypeMethodDescriptiondefault ASTJexlScriptjxltParse(JexlInfo info, JexlFeatures features, String src, Scope scope) Parses an embedded JXLT script or expression, an interpolation expression.parse(JexlInfo info, JexlFeatures features, String src, Scope scope) Parses a script or expression.
-
Method Details
-
parse
Parses a script or expression.- Parameters:
info- information structurefeatures- The set of parsing featuressrc- The expression to parsescope- The script frame- Returns:
- The parsed tree
- Throws:
JexlException- if any error occurred during parsing
-
jxltParse
Parses an embedded JXLT script or expression, an interpolation expression.- Parameters:
info- information structurefeatures- The set of parsing featuressrc- The expression to parsescope- The script frame- Returns:
- The parsed tree
- Throws:
JexlException- if any error occurred during parsing
-