Class ExpressionParser
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.compiler.frontend.ExpressionParser
-
public class ExpressionParser extends Object
-
-
Constructor Summary
Constructors Constructor Description ExpressionParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterpolationparseInterpolation(String expressionString)Parses the expression string.
-
-
-
Method Detail
-
parseInterpolation
public Interpolation parseInterpolation(String expressionString) throws SightlyCompilerException
Parses the expression string.- Parameters:
expressionString- as defined by the HTL spec (https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/master/SPECIFICATION.md)- Returns:
- Parsed Expression object
- Throws:
NullPointerException- is the given exprString is nullSightlyCompilerException- if an error occurs while parsing the expression
-
-