Package io.micronaut.expressions.parser
Class CompoundEvaluatedEvaluatedExpressionParser
java.lang.Object
io.micronaut.expressions.parser.CompoundEvaluatedEvaluatedExpressionParser
- All Implemented Interfaces:
EvaluatedExpressionParser
@Internal
public final class CompoundEvaluatedEvaluatedExpressionParser
extends Object
implements EvaluatedExpressionParser
This parser is used to split complex expression into multiple
single expressions if necessary and delegate each atomic expression
parsing to separate instance of
SingleEvaluatedEvaluatedExpressionParser
,
then combining single expressions parsing results.- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Constructor Summary
ConstructorDescriptionCompoundEvaluatedEvaluatedExpressionParser
(@NonNull Object expression) Instantiates compound expression parser. -
Method Summary
-
Constructor Details
-
CompoundEvaluatedEvaluatedExpressionParser
Instantiates compound expression parser.- Parameters:
expression
- either string or string[]
-
-
Method Details
-
parse
Description copied from interface:EvaluatedExpressionParser
Parse expression into AST.- Specified by:
parse
in interfaceEvaluatedExpressionParser
- Returns:
- expression AST
- Throws:
ExpressionParsingException
- when expression violates syntactic rules
-