Interface NodeVisitor<T>
-
- Type Parameters:
T
- the type of the object that's returned after anExpressionNode
evaluation
- All Known Implementing Classes:
SideEffectVisitor
@ProviderType public interface NodeVisitor<T>
ANodeVisitor
represents the mechanism through whichExpressionNode
entities are processed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
evaluate(ArrayLiteral arrayLiteral)
Evaluate aArrayLiteral
node.T
evaluate(BinaryOperation binaryOperation)
Evaluate aBinaryOperation
node.T
evaluate(BooleanConstant booleanConstant)
Evaluate aBooleanConstant
node.T
evaluate(Identifier identifier)
Evaluate anIdentifier
node.T
evaluate(MapLiteral mapLiteral)
Evaluate aMapLiteral
node.T
evaluate(NullLiteral nullLiteral)
Evaluate aNullLiteral
node.T
evaluate(NumericConstant numericConstant)
Evaluate aNumericConstant
node.T
evaluate(PropertyAccess propertyAccess)
Evaluate aPropertyAccess
node.T
evaluate(RuntimeCall runtimeCall)
Evaluate aRuntimeCall
node.T
evaluate(StringConstant text)
Evaluate aStringConstant
node.T
evaluate(TernaryOperator ternaryOperator)
Evaluate aTernaryOperator
node.T
evaluate(UnaryOperation unaryOperation)
Evaluate aUnaryOperation
node.
-
-
-
Method Detail
-
evaluate
T evaluate(PropertyAccess propertyAccess)
Evaluate aPropertyAccess
node.- Parameters:
propertyAccess
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(Identifier identifier)
Evaluate anIdentifier
node.- Parameters:
identifier
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(StringConstant text)
Evaluate aStringConstant
node.- Parameters:
text
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(BinaryOperation binaryOperation)
Evaluate aBinaryOperation
node.- Parameters:
binaryOperation
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(BooleanConstant booleanConstant)
Evaluate aBooleanConstant
node.- Parameters:
booleanConstant
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(NumericConstant numericConstant)
Evaluate aNumericConstant
node.- Parameters:
numericConstant
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(UnaryOperation unaryOperation)
Evaluate aUnaryOperation
node.- Parameters:
unaryOperation
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(TernaryOperator ternaryOperator)
Evaluate aTernaryOperator
node.- Parameters:
ternaryOperator
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(RuntimeCall runtimeCall)
Evaluate aRuntimeCall
node.- Parameters:
runtimeCall
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(MapLiteral mapLiteral)
Evaluate aMapLiteral
node.- Parameters:
mapLiteral
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(ArrayLiteral arrayLiteral)
Evaluate aArrayLiteral
node.- Parameters:
arrayLiteral
- the node to evaluate- Returns:
- the evaluation result
-
evaluate
T evaluate(NullLiteral nullLiteral)
Evaluate aNullLiteral
node.- Parameters:
nullLiteral
- the node to evaluate- Returns:
- the evaluation result
-
-