Interface NodeVisitor<T>
-
- Type Parameters:
T- the type of the object that's returned after anExpressionNodeevaluation
- All Known Implementing Classes:
SideEffectVisitor
@ProviderType public interface NodeVisitor<T>
ANodeVisitorrepresents the mechanism through whichExpressionNodeentities are processed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tevaluate(ArrayLiteral arrayLiteral)Evaluate aArrayLiteralnode.Tevaluate(BinaryOperation binaryOperation)Evaluate aBinaryOperationnode.Tevaluate(BooleanConstant booleanConstant)Evaluate aBooleanConstantnode.Tevaluate(Identifier identifier)Evaluate anIdentifiernode.Tevaluate(MapLiteral mapLiteral)Evaluate aMapLiteralnode.Tevaluate(NullLiteral nullLiteral)Evaluate aNullLiteralnode.Tevaluate(NumericConstant numericConstant)Evaluate aNumericConstantnode.Tevaluate(PropertyAccess propertyAccess)Evaluate aPropertyAccessnode.Tevaluate(RuntimeCall runtimeCall)Evaluate aRuntimeCallnode.Tevaluate(StringConstant text)Evaluate aStringConstantnode.Tevaluate(TernaryOperator ternaryOperator)Evaluate aTernaryOperatornode.Tevaluate(UnaryOperation unaryOperation)Evaluate aUnaryOperationnode.
-
-
-
Method Detail
-
evaluate
T evaluate(PropertyAccess propertyAccess)
Evaluate aPropertyAccessnode.- Parameters:
propertyAccess- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(Identifier identifier)
Evaluate anIdentifiernode.- Parameters:
identifier- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(StringConstant text)
Evaluate aStringConstantnode.- Parameters:
text- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(BinaryOperation binaryOperation)
Evaluate aBinaryOperationnode.- Parameters:
binaryOperation- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(BooleanConstant booleanConstant)
Evaluate aBooleanConstantnode.- Parameters:
booleanConstant- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(NumericConstant numericConstant)
Evaluate aNumericConstantnode.- Parameters:
numericConstant- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(UnaryOperation unaryOperation)
Evaluate aUnaryOperationnode.- Parameters:
unaryOperation- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(TernaryOperator ternaryOperator)
Evaluate aTernaryOperatornode.- Parameters:
ternaryOperator- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(RuntimeCall runtimeCall)
Evaluate aRuntimeCallnode.- Parameters:
runtimeCall- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(MapLiteral mapLiteral)
Evaluate aMapLiteralnode.- Parameters:
mapLiteral- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(ArrayLiteral arrayLiteral)
Evaluate aArrayLiteralnode.- Parameters:
arrayLiteral- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(NullLiteral nullLiteral)
Evaluate aNullLiteralnode.- Parameters:
nullLiteral- the node to evaluate- Returns:
- the evaluation result
-
-