T
- the type of the object that's returned after an ExpressionNode
evaluationpublic interface NodeVisitor<T>
NodeVisitor
represents the mechanism through which ExpressionNode
entities are processed.Modifier and Type | Method and Description |
---|---|
T |
evaluate(ArrayLiteral arrayLiteral)
Evaluate a
ArrayLiteral node. |
T |
evaluate(BinaryOperation binaryOperation)
Evaluate a
BinaryOperation node. |
T |
evaluate(BooleanConstant booleanConstant)
Evaluate a
BooleanConstant node. |
T |
evaluate(Identifier identifier)
Evaluate an
Identifier node. |
T |
evaluate(MapLiteral mapLiteral)
Evaluate a
MapLiteral node. |
T |
evaluate(NullLiteral nullLiteral)
Evaluate a
NullLiteral node. |
T |
evaluate(NumericConstant numericConstant)
Evaluate a
NumericConstant node. |
T |
evaluate(PropertyAccess propertyAccess)
Evaluate a
PropertyAccess node. |
T |
evaluate(RuntimeCall runtimeCall)
Evaluate a
RuntimeCall node. |
T |
evaluate(StringConstant text)
Evaluate a
StringConstant node. |
T |
evaluate(TernaryOperator ternaryOperator)
Evaluate a
TernaryOperator node. |
T |
evaluate(UnaryOperation unaryOperation)
Evaluate a
UnaryOperation node. |
T evaluate(PropertyAccess propertyAccess)
PropertyAccess
node.propertyAccess
- the node to evaluateT evaluate(Identifier identifier)
Identifier
node.identifier
- the node to evaluateT evaluate(StringConstant text)
StringConstant
node.text
- the node to evaluateT evaluate(BinaryOperation binaryOperation)
BinaryOperation
node.binaryOperation
- the node to evaluateT evaluate(BooleanConstant booleanConstant)
BooleanConstant
node.booleanConstant
- the node to evaluateT evaluate(NumericConstant numericConstant)
NumericConstant
node.numericConstant
- the node to evaluateT evaluate(UnaryOperation unaryOperation)
UnaryOperation
node.unaryOperation
- the node to evaluateT evaluate(TernaryOperator ternaryOperator)
TernaryOperator
node.ternaryOperator
- the node to evaluateT evaluate(RuntimeCall runtimeCall)
RuntimeCall
node.runtimeCall
- the node to evaluateT evaluate(MapLiteral mapLiteral)
MapLiteral
node.mapLiteral
- the node to evaluateT evaluate(ArrayLiteral arrayLiteral)
ArrayLiteral
node.arrayLiteral
- the node to evaluateT evaluate(NullLiteral nullLiteral)
NullLiteral
node.nullLiteral
- the node to evaluate"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"