public abstract class PartialExpressionTreeWalker extends ExpressionTreeWalker
after
hooks, until it terminates at the root or traversal of inner
expressions is activated again.Constructor and Description |
---|
PartialExpressionTreeWalker() |
Modifier and Type | Method and Description |
---|---|
protected void |
startTraversingInnerExpressions()
Starts visiting of inner expressions.
|
protected void |
stopTraversingInnerExpressions()
Stops visiting of inner expressions.
|
protected boolean |
willTraverseInnerExpressions()
Queries whether the visitor will visit inner expressions.
|
afterAddition, afterComparison, afterConstant, afterDivision, afterExponentation, afterExponentialFunction, afterExpression, afterIfThenElse, afterLogarithm, afterMultiplication, afterNaturalLogarithm, afterOther, afterSine, afterSubtraction, afterVariable, atAddition, atComparison, atConstant, atDivision, atExponentation, atExponentialFunction, atExpression, atIfThenElse, atLogarithm, atMultiplication, atNaturalLogarithm, atOther, atSine, atSubtraction, atVariable, getTraversalDepth, getVisitedCount
protected void stopTraversingInnerExpressions()
after
hooks of
already visited expressions will be called until the root is reached.startTraversingInnerExpressions()
protected void startTraversingInnerExpressions()
stopTraversingInnerExpressions()
protected boolean willTraverseInnerExpressions()
true
if startTraversingInnerExpressions()
was called and false
if
stopTraversingInnerExpressions()
was called.