Class NodeTransformer
java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.util.expression.NodeTransformer
- All Implemented Interfaces:
- NodeVisitor<ExpressionNode>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionevaluate(ArrayLiteral arrayLiteral) Evaluate aArrayLiteralnode.evaluate(BinaryOperation binaryOperation) Evaluate aBinaryOperationnode.evaluate(BooleanConstant booleanConstant) Evaluate aBooleanConstantnode.evaluate(Identifier identifier) Evaluate anIdentifiernode.evaluate(MapLiteral mapLiteral) Evaluate aMapLiteralnode.evaluate(NullLiteral nullLiteral) Evaluate aNullLiteralnode.evaluate(NumericConstant numericConstant) Evaluate aNumericConstantnode.evaluate(PropertyAccess propertyAccess) Evaluate aPropertyAccessnode.evaluate(RuntimeCall runtimeCall) Evaluate aRuntimeCallnode.evaluate(StringConstant text) Evaluate aStringConstantnode.evaluate(TernaryOperator ternaryOperator) Evaluate aTernaryOperatornode.evaluate(UnaryOperation unaryOperation) Evaluate aUnaryOperationnode.final ExpressionNodetransform(ExpressionNode node) 
- 
Constructor Details- 
NodeTransformerpublic NodeTransformer()
 
- 
- 
Method Details- 
transform
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aPropertyAccessnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- propertyAccess- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate anIdentifiernode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- identifier- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aStringConstantnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- text- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aBinaryOperationnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- binaryOperation- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aBooleanConstantnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- booleanConstant- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aNumericConstantnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- numericConstant- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aUnaryOperationnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- unaryOperation- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aTernaryOperatornode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- ternaryOperator- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aRuntimeCallnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- runtimeCall- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aMapLiteralnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- mapLiteral- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aArrayLiteralnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- arrayLiteral- the node to evaluate
- Returns:
- the evaluation result
 
- 
evaluateDescription copied from interface:NodeVisitorEvaluate aNullLiteralnode.- Specified by:
- evaluatein interface- NodeVisitor<ExpressionNode>
- Parameters:
- nullLiteral- the node to evaluate
- Returns:
- the evaluation result
 
 
-