org.apache.jdo.jdoql.tree
Interface NodeVisitor

All Known Implementing Classes:
AbstractNodeVisitor, FilterExpressionDumper, MemoryQuery

public interface NodeVisitor

This interface defines three categories of methods for each query tree node. These methods are called during walking the tree: arrive: This method is meant for initialization purposes and is called before walking a node's children. leave: This method is meant for calculation purposes and is called after walking a node's children. walkNextChild: This method is called before walking each child of a node. It can be used to control whether the a node's remaining children should be walked.

Author:
Michael Watzek

Method Summary
 void arrive(AndExpression node)
          This method is called before walking any children of the argument node.
 void arrive(AscendingOrderingExpression node)
          This method is called before walking any children of the argument node.
 void arrive(BooleanLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ByteLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(CandidateClass node)
          This method is called before walking any children of the argument node.
 void arrive(CastExpression node)
          This method is called before walking any children of the argument node.
 void arrive(CharLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ComplementExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ConditionalAndExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ConditionalOrExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ConstantExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ContainsCallExpression node)
          This method is called before walking any children of the argument node.
 void arrive(DescendingOrderingExpression node)
          This method is called before walking any children of the argument node.
 void arrive(DivideExpression node)
          This method is called before walking any children of the argument node.
 void arrive(DoubleLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(EndsWithCallExpression node)
          This method is called before walking any children of the argument node.
 void arrive(EqualsExpression node)
          This method is called before walking any children of the argument node.
 void arrive(FieldAccessExpression node)
          This method is called before walking any children of the argument node.
 void arrive(FloatLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(GreaterThanEqualsExpression node)
          This method is called before walking any children of the argument node.
 void arrive(GreaterThanExpression node)
          This method is called before walking any children of the argument node.
 void arrive(IdentifierExpression node)
          This method is called before walking any children of the argument node.
 void arrive(IntLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(IsEmptyCallExpression node)
          This method is called before walking any children of the argument node.
 void arrive(LessThanEqualsExpression node)
          This method is called before walking any children of the argument node.
 void arrive(LessThanExpression node)
          This method is called before walking any children of the argument node.
 void arrive(LongLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(MinusExpression node)
          This method is called before walking any children of the argument node.
 void arrive(NotEqualsExpression node)
          This method is called before walking any children of the argument node.
 void arrive(NotExpression node)
          This method is called before walking any children of the argument node.
 void arrive(OrExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ParameterAccessExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ParameterDeclaration node)
          This method is called before walking any children of the argument node.
 void arrive(PlusExpression node)
          This method is called before walking any children of the argument node.
 void arrive(QueryTree node)
          This method is called before walking any children of the argument node.
 void arrive(ShortLiteralExpression node)
          This method is called before walking any children of the argument node.
 void arrive(StartsWithCallExpression node)
          This method is called before walking any children of the argument node.
 void arrive(StaticFieldAccessExpression node)
          This method is called before walking any children of the argument node.
 void arrive(ThisExpression node)
          This method is called before walking any children of the argument node.
 void arrive(TimesExpression node)
          This method is called before walking any children of the argument node.
 void arrive(Type node)
          This method is called before walking any children of the argument node.
 void arrive(UnaryMinusExpression node)
          This method is called before walking any children of the argument node.
 void arrive(UnaryPlusExpression node)
          This method is called before walking any children of the argument node.
 void arrive(VariableAccessExpression node)
          This method is called before walking any children of the argument node.
 void arrive(VariableDeclaration node)
          This method is called before walking any children of the argument node.
 java.lang.Object leave(AndExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(AscendingOrderingExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(BooleanLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ByteLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(CandidateClass node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(CastExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(CharLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ComplementExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ConditionalAndExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ConditionalOrExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ConstantExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ContainsCallExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(DescendingOrderingExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(DivideExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(DoubleLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(EndsWithCallExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(EqualsExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(FieldAccessExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(FloatLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(GreaterThanEqualsExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(GreaterThanExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(IdentifierExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(IntLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(IsEmptyCallExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(LessThanEqualsExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(LessThanExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(LongLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(MinusExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(NotEqualsExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(NotExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(OrExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ParameterAccessExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ParameterDeclaration node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(PlusExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(QueryTree node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ShortLiteralExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(StartsWithCallExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(StaticFieldAccessExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(ThisExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(TimesExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(Type node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(UnaryMinusExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(UnaryPlusExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(VariableAccessExpression node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 java.lang.Object leave(VariableDeclaration node, java.lang.Object[] results)
          This method is called after walking the children of the argument node.
 boolean walkNextChild(AndExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(AscendingOrderingExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(CastExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(ComplementExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(ConditionalAndExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(ConditionalOrExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(ContainsCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(DescendingOrderingExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(DivideExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(EndsWithCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(EqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(FieldAccessExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(GreaterThanEqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(GreaterThanExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(IsEmptyCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(LessThanEqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(LessThanExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(MinusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(NotEqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(NotExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(OrExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(PlusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(QueryTree node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(StartsWithCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(StaticFieldAccessExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(TimesExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(UnaryMinusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 boolean walkNextChild(UnaryPlusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
          This method is called before walking each child of the argument node.
 

Method Detail

arrive

void arrive(AndExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(AscendingOrderingExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(BooleanLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ByteLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(CandidateClass node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(CastExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(CharLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ComplementExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ConditionalAndExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ConditionalOrExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ConstantExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ContainsCallExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(DescendingOrderingExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(DivideExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(DoubleLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(EndsWithCallExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(EqualsExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(FieldAccessExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(StaticFieldAccessExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(FloatLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(GreaterThanEqualsExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(GreaterThanExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(IdentifierExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(IntLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(IsEmptyCallExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(LessThanEqualsExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(LessThanExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(LongLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(MinusExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(NotEqualsExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(NotExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(OrExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ParameterAccessExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ParameterDeclaration node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(PlusExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(QueryTree node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ShortLiteralExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(StartsWithCallExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(ThisExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(TimesExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(Type node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(UnaryMinusExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(UnaryPlusExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(VariableAccessExpression node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

arrive

void arrive(VariableDeclaration node)
This method is called before walking any children of the argument node. A node visitor instance uses this method to perform any initialization tasks it needs for walking the node's children.

Parameters:
node - the node to be walked

leave

java.lang.Object leave(AndExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(AscendingOrderingExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(BooleanLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ByteLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(CandidateClass node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(CastExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(CharLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ComplementExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ConditionalAndExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ConditionalOrExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ConstantExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ContainsCallExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(DescendingOrderingExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(DivideExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(DoubleLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(EqualsExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(EndsWithCallExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(FieldAccessExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(StaticFieldAccessExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(FloatLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(GreaterThanEqualsExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(GreaterThanExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(IdentifierExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(IntLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(IsEmptyCallExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(LessThanEqualsExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(LessThanExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(LongLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(MinusExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(NotEqualsExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(NotExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(OrExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ParameterAccessExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ParameterDeclaration node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(PlusExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(QueryTree node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ShortLiteralExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(StartsWithCallExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(ThisExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(TimesExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(Type node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(UnaryMinusExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(UnaryPlusExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(VariableAccessExpression node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

leave

java.lang.Object leave(VariableDeclaration node,
                       java.lang.Object[] results)
This method is called after walking the children of the argument node. A node visitor instance uses this method to compute the result of walking the argument node and it's children. This result is returned by the tree walker's walk method. The argument results holds the results of walking the children of the argument node. Usually, the result of the argument node is computed in consideration of the results of its' children.

Parameters:
node - the node having been walked
results - the results of walking the node's children
Returns:
the result of walking the node and it's children

walkNextChild

boolean walkNextChild(AndExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(AscendingOrderingExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(CastExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(ComplementExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(ConditionalAndExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(ConditionalOrExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(ContainsCallExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(DescendingOrderingExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(DivideExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(EqualsExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(EndsWithCallExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(FieldAccessExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(GreaterThanEqualsExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(GreaterThanExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(IsEmptyCallExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(LessThanEqualsExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(LessThanExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(MinusExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(NotEqualsExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(NotExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(OrExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(PlusExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(QueryTree node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(StartsWithCallExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(StaticFieldAccessExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(TimesExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(UnaryMinusExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true

walkNextChild

boolean walkNextChild(UnaryPlusExpression node,
                      java.lang.Object resultOfPreviousChild,
                      int indexOfNextChild)
This method is called before walking each child of the argument node. The return value of this method determines if the next child of the argument node should be walked. In case of returning false, none of the remaining children are walked. Instead, the node's leave method is called immediately. The argument resultOfPreviousChild holds the result of walking the previous child of the argument node. Usually, it is used to determine the return value of this method. The argument indexOfNextChild determines the index of the next child to be walked. This index determines the position in the children array of the argument node. Note: The index of the first child is 0.

Parameters:
node - the parent node of the children currently walked
resultOfPreviousChild - the result of walking the node's previous child
indexOfNextChild - the index of the next child to be walked
Returns:
false, if no more childs should be walked, else true


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.