Package org.apache.commons.jexl3.parser
Interface JexlScriptParser
-
- All Known Implementing Classes:
JexlParser,Parser
public interface JexlScriptParserThe interface that produces a JEXL script AST from a source.- Since:
- 3.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ASTJexlScriptjxltParse(JexlInfo info, JexlFeatures features, java.lang.String src, Scope scope)Parses an embedded JXLT script or expression, an interpolation expression.ASTJexlScriptparse(JexlInfo info, JexlFeatures features, java.lang.String src, Scope scope)Parses a script or expression.
-
-
-
Method Detail
-
parse
ASTJexlScript parse(JexlInfo info, JexlFeatures features, java.lang.String src, Scope scope)
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
default ASTJexlScript jxltParse(JexlInfo info, JexlFeatures features, java.lang.String src, Scope scope)
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
-
-