|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.jdoql.tree.AbstractNodeVisitor
public abstract class AbstractNodeVisitor
This class provides a default implementation for the node visitor pattern.
Methods having derived nodes as arguments delegate to those methods
having least derived nodes as arguments. As some visitors do not need
to know each specific operations,
they do not need to provide code for those operations.
In addition to methods defined in the interface NodeVisitor
this class defines protected methods taking non-leaf nodes in terms of the
node hierarchy of interfaces.
Constructor Summary | |
---|---|
AbstractNodeVisitor()
|
Method Summary | |
---|---|
void |
arrive(AndExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(AscendingOrderingExpression node)
This method delegates to arrive casting the argument
node to OrderingExpression . |
protected void |
arrive(BinaryExpression node)
This method delegates to arrive casting the argument
node to Expression . |
void |
arrive(BooleanLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(ByteLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(CandidateClass node)
This method delegates to arrive casting the argument
node to Node . |
void |
arrive(CastExpression node)
This method delegates to arrive casting the argument
node to Expression . |
void |
arrive(CharLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(ComplementExpression node)
This method delegates to arrive casting the argument
node to UnaryExpression . |
void |
arrive(ConditionalAndExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(ConditionalOrExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(ConstantExpression node)
This method delegates to arrive casting the argument
node to Expression . |
void |
arrive(ContainsCallExpression node)
This method delegates to arrive casting the argument
node to MethodCallExpression . |
protected void |
arrive(Declaration node)
This method delegates to arrive casting the argument
node to Node . |
void |
arrive(DescendingOrderingExpression node)
This method delegates to arrive casting the argument
node to OrderingExpression . |
void |
arrive(DivideExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(DoubleLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(EndsWithCallExpression node)
This method delegates to arrive casting the argument
node to MethodCallExpression . |
void |
arrive(EqualsExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
protected void |
arrive(Expression node)
This method delegates to arrive casting the argument
node to Node . |
void |
arrive(FieldAccessExpression node)
This method delegates to arrive casting the argument
node to IdentifierExpression . |
void |
arrive(FloatLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(GreaterThanEqualsExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(GreaterThanExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(IdentifierExpression node)
This method delegates to arrive casting the argument
node to Expression . |
void |
arrive(IntLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(IsEmptyCallExpression node)
This method delegates to arrive casting the argument
node to MethodCallExpression . |
void |
arrive(LessThanEqualsExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(LessThanExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(LongLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
protected void |
arrive(MethodCallExpression node)
This method delegates to arrive casting the argument
node to Expression . |
void |
arrive(MinusExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
protected void |
arrive(Node node)
This method defines the default implementation for all arrive methods: It immediately returns without executing
any other instruction. |
void |
arrive(NotEqualsExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(NotExpression node)
This method delegates to arrive casting the argument
node to UnaryExpression . |
protected void |
arrive(OrderingExpression node)
This method delegates to arrive casting the argument
node to Node . |
void |
arrive(OrExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(ParameterAccessExpression node)
This method delegates to arrive casting the argument
node to IdentifierExpression . |
void |
arrive(ParameterDeclaration node)
This method delegates to arrive casting the argument
node to Declaration . |
void |
arrive(PlusExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(QueryTree node)
This method delegates to arrive casting the argument
node to Node . |
void |
arrive(ShortLiteralExpression node)
This method delegates to arrive casting the argument
node to ConstantExpression . |
void |
arrive(StartsWithCallExpression node)
This method delegates to arrive casting the argument
node to MethodCallExpression . |
void |
arrive(StaticFieldAccessExpression node)
This method delegates to arrive casting the argument
node to FieldAccessExpression . |
void |
arrive(ThisExpression node)
This method delegates to arrive casting the argument
node to IdentifierExpression . |
void |
arrive(TimesExpression node)
This method delegates to arrive casting the argument
node to BinaryExpression . |
void |
arrive(Type node)
This method delegates to arrive casting the argument
node to Node . |
protected void |
arrive(UnaryExpression node)
This method delegates to arrive casting the argument
node to Expression . |
void |
arrive(UnaryMinusExpression node)
This method delegates to arrive casting the argument
node to UnaryExpression . |
void |
arrive(UnaryPlusExpression node)
This method delegates to arrive casting the argument
node to UnaryExpression . |
void |
arrive(VariableAccessExpression node)
This method delegates to arrive casting the argument
node to IdentifierExpression . |
void |
arrive(VariableDeclaration node)
This method delegates to arrive casting the argument
node to Declaration . |
java.lang.Object |
leave(AndExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(AscendingOrderingExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to OrderingExpression . |
protected java.lang.Object |
leave(BinaryExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Expression . |
java.lang.Object |
leave(BooleanLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(ByteLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(CandidateClass node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Node . |
java.lang.Object |
leave(CastExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Expression . |
java.lang.Object |
leave(CharLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(ComplementExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to UnaryExpression . |
java.lang.Object |
leave(ConditionalAndExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(ConditionalOrExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(ConstantExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Expression . |
java.lang.Object |
leave(ContainsCallExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to MethodCallExpression . |
protected java.lang.Object |
leave(Declaration node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Node . |
java.lang.Object |
leave(DescendingOrderingExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to OrderingExpression . |
java.lang.Object |
leave(DivideExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(DoubleLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(EndsWithCallExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to MethodCallExpression . |
java.lang.Object |
leave(EqualsExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
protected java.lang.Object |
leave(Expression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Node . |
java.lang.Object |
leave(FieldAccessExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to IdentifierExpression . |
java.lang.Object |
leave(FloatLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(GreaterThanEqualsExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(GreaterThanExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(IdentifierExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Expression . |
java.lang.Object |
leave(IntLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(IsEmptyCallExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to MethodCallExpression . |
java.lang.Object |
leave(LessThanEqualsExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(LessThanExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(LongLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
protected java.lang.Object |
leave(MethodCallExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Expression . |
java.lang.Object |
leave(MinusExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
protected java.lang.Object |
leave(Node node,
java.lang.Object[] results)
This method defines the default implementation for all leave methods: It immediately returns null
without executing any other instruction. |
java.lang.Object |
leave(NotEqualsExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(NotExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to UnaryExpression . |
protected java.lang.Object |
leave(OrderingExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Node . |
java.lang.Object |
leave(OrExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(ParameterAccessExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to IdentifierExpression . |
java.lang.Object |
leave(ParameterDeclaration node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Declaration . |
java.lang.Object |
leave(PlusExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(QueryTree node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Node . |
java.lang.Object |
leave(ShortLiteralExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to ConstantExpression . |
java.lang.Object |
leave(StartsWithCallExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to MethodCallExpression . |
java.lang.Object |
leave(StaticFieldAccessExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to FieldAccessExpression . |
java.lang.Object |
leave(ThisExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to IdentifierExpression . |
java.lang.Object |
leave(TimesExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to BinaryExpression . |
java.lang.Object |
leave(Type node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Node . |
protected java.lang.Object |
leave(UnaryExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Expression . |
java.lang.Object |
leave(UnaryMinusExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to UnaryExpression . |
java.lang.Object |
leave(UnaryPlusExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to UnaryExpression . |
java.lang.Object |
leave(VariableAccessExpression node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to IdentifierExpression . |
java.lang.Object |
leave(VariableDeclaration node,
java.lang.Object[] results)
This method delegates to leave casting the argument
node to Declaration . |
boolean |
walkNextChild(AndExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(AscendingOrderingExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to OrderingExpression . |
protected boolean |
walkNextChild(BinaryExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Expression . |
boolean |
walkNextChild(CastExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Expression . |
boolean |
walkNextChild(ComplementExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to UnaryExpression . |
boolean |
walkNextChild(ConditionalAndExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(ConditionalOrExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(ContainsCallExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to MethodCallExpression . |
boolean |
walkNextChild(DescendingOrderingExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to OrderingExpression . |
boolean |
walkNextChild(DivideExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(EndsWithCallExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to MethodCallExpression . |
boolean |
walkNextChild(EqualsExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
protected boolean |
walkNextChild(Expression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Node . |
boolean |
walkNextChild(FieldAccessExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to IdentifierExpression . |
boolean |
walkNextChild(GreaterThanEqualsExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(GreaterThanExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
protected boolean |
walkNextChild(IdentifierExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Expression . |
boolean |
walkNextChild(IsEmptyCallExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to MethodCallExpression . |
boolean |
walkNextChild(LessThanEqualsExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(LessThanExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
protected boolean |
walkNextChild(MethodCallExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Expression . |
boolean |
walkNextChild(MinusExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
protected boolean |
walkNextChild(Node node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method defines the default implementation for all walkNextChild methods: It immediately returns true
without executing any other instruction. |
boolean |
walkNextChild(NotEqualsExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(NotExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to UnaryExpression . |
protected boolean |
walkNextChild(OrderingExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Node . |
boolean |
walkNextChild(OrExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(PlusExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
boolean |
walkNextChild(QueryTree node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Node . |
boolean |
walkNextChild(StartsWithCallExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to MethodCallExpression . |
boolean |
walkNextChild(StaticFieldAccessExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to FieldAccessExpression . |
boolean |
walkNextChild(TimesExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to BinaryExpression . |
protected boolean |
walkNextChild(UnaryExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to Expression . |
boolean |
walkNextChild(UnaryMinusExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to UnaryExpression . |
boolean |
walkNextChild(UnaryPlusExpression node,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
This method delegates to walkNextChild casting the argument
node to UnaryExpression . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractNodeVisitor()
Method Detail |
---|
protected void arrive(BinaryExpression node)
arrive
casting the argument
node
to Expression
.
node
- the node to be walkedprotected void arrive(Declaration node)
arrive
casting the argument
node
to Node
.
node
- the node to be walkedprotected void arrive(Expression node)
arrive
casting the argument
node
to Node
.
node
- the node to be walkedprotected void arrive(MethodCallExpression node)
arrive
casting the argument
node
to Expression
.
node
- the node to be walkedprotected void arrive(OrderingExpression node)
arrive
casting the argument
node
to Node
.
node
- the node to be walkedprotected void arrive(Node node)
arrive
methods: It immediately returns without executing
any other instruction.
node
- the node to be walkedprotected void arrive(UnaryExpression node)
arrive
casting the argument
node
to Expression
.
node
- the node to be walkedprotected java.lang.Object leave(BinaryExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the node having been walkedresults
- the results of walking the node's children
protected java.lang.Object leave(Declaration node, java.lang.Object[] results)
leave
casting the argument
node
to Node
. It returns the value
of that method.
node
- the node having been walkedresults
- the results of walking the node's children
protected java.lang.Object leave(Expression node, java.lang.Object[] results)
leave
casting the argument
node
to Node
. It returns the value
of that method.
node
- the node having been walkedresults
- the results of walking the node's children
protected java.lang.Object leave(MethodCallExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the node having been walkedresults
- the results of walking the node's children
protected java.lang.Object leave(OrderingExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Node
. It returns the value
of that method.
node
- the node having been walkedresults
- the results of walking the node's children
protected java.lang.Object leave(Node node, java.lang.Object[] results)
leave
methods: It immediately returns null
without executing any other instruction.
node
- the node having been walkedresults
- the results of walking the node's children
null
protected java.lang.Object leave(UnaryExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the node having been walkedresults
- the results of walking the node's children
protected boolean walkNextChild(BinaryExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
protected boolean walkNextChild(Expression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Node
. It returns the value
of that method.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
protected boolean walkNextChild(IdentifierExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
protected boolean walkNextChild(MethodCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
protected boolean walkNextChild(Node node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
methods: It immediately returns true
without executing any other instruction.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
true
protected boolean walkNextChild(OrderingExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Node
. It returns the value
of that method.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
protected boolean walkNextChild(UnaryExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Expression
. It returns the value
of that method.
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public void arrive(AndExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(AscendingOrderingExpression node)
arrive
casting the argument
node
to OrderingExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(BooleanLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ByteLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(CandidateClass node)
arrive
casting the argument
node
to Node
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(CastExpression node)
arrive
casting the argument
node
to Expression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(CharLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ComplementExpression node)
arrive
casting the argument
node
to UnaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ConditionalAndExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ConditionalOrExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ConstantExpression node)
arrive
casting the argument
node
to Expression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ContainsCallExpression node)
arrive
casting the argument
node
to MethodCallExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(DescendingOrderingExpression node)
arrive
casting the argument
node
to OrderingExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(DivideExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(DoubleLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(EqualsExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(EndsWithCallExpression node)
arrive
casting the argument
node
to MethodCallExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(FieldAccessExpression node)
arrive
casting the argument
node
to IdentifierExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(FloatLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(GreaterThanEqualsExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(GreaterThanExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(IdentifierExpression node)
arrive
casting the argument
node
to Expression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(IntLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(IsEmptyCallExpression node)
arrive
casting the argument
node
to MethodCallExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(LessThanEqualsExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(LessThanExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(LongLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(MinusExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(NotEqualsExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(NotExpression node)
arrive
casting the argument
node
to UnaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(OrExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ParameterAccessExpression node)
arrive
casting the argument
node
to IdentifierExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ParameterDeclaration node)
arrive
casting the argument
node
to Declaration
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(PlusExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(QueryTree node)
arrive
casting the argument
node
to Node
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ShortLiteralExpression node)
arrive
casting the argument
node
to ConstantExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(StartsWithCallExpression node)
arrive
casting the argument
node
to MethodCallExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(StaticFieldAccessExpression node)
arrive
casting the argument
node
to FieldAccessExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(ThisExpression node)
arrive
casting the argument
node
to IdentifierExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(TimesExpression node)
arrive
casting the argument
node
to BinaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(Type node)
arrive
casting the argument
node
to Node
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(UnaryMinusExpression node)
arrive
casting the argument
node
to UnaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(UnaryPlusExpression node)
arrive
casting the argument
node
to UnaryExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(VariableAccessExpression node)
arrive
casting the argument
node
to IdentifierExpression
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic void arrive(VariableDeclaration node)
arrive
casting the argument
node
to Declaration
.
arrive
in interface NodeVisitor
node
- the node to be walkedpublic java.lang.Object leave(AndExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(AscendingOrderingExpression node, java.lang.Object[] results)
leave
casting the argument
node
to OrderingExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(BooleanLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ByteLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(CandidateClass node, java.lang.Object[] results)
leave
casting the argument
node
to Node
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(CastExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Expression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(CharLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ComplementExpression node, java.lang.Object[] results)
leave
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ConditionalAndExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ConditionalOrExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ConstantExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Expression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ContainsCallExpression node, java.lang.Object[] results)
leave
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(DescendingOrderingExpression node, java.lang.Object[] results)
leave
casting the argument
node
to OrderingExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(DivideExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(DoubleLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(EndsWithCallExpression node, java.lang.Object[] results)
leave
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(EqualsExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(FieldAccessExpression node, java.lang.Object[] results)
leave
casting the argument
node
to IdentifierExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(FloatLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(GreaterThanEqualsExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(GreaterThanExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(IdentifierExpression node, java.lang.Object[] results)
leave
casting the argument
node
to Expression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(IntLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(IsEmptyCallExpression node, java.lang.Object[] results)
leave
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(LessThanEqualsExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(LessThanExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(LongLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(MinusExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(NotEqualsExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(NotExpression node, java.lang.Object[] results)
leave
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(OrExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ParameterAccessExpression node, java.lang.Object[] results)
leave
casting the argument
node
to IdentifierExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ParameterDeclaration node, java.lang.Object[] results)
leave
casting the argument
node
to Declaration
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(PlusExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(QueryTree node, java.lang.Object[] results)
leave
casting the argument
node
to Node
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ShortLiteralExpression node, java.lang.Object[] results)
leave
casting the argument
node
to ConstantExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(StartsWithCallExpression node, java.lang.Object[] results)
leave
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(StaticFieldAccessExpression node, java.lang.Object[] results)
leave
casting the argument
node
to FieldAccessExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(ThisExpression node, java.lang.Object[] results)
leave
casting the argument
node
to IdentifierExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(TimesExpression node, java.lang.Object[] results)
leave
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(Type node, java.lang.Object[] results)
leave
casting the argument
node
to Node
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(UnaryMinusExpression node, java.lang.Object[] results)
leave
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(UnaryPlusExpression node, java.lang.Object[] results)
leave
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(VariableAccessExpression node, java.lang.Object[] results)
leave
casting the argument
node
to IdentifierExpression
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public java.lang.Object leave(VariableDeclaration node, java.lang.Object[] results)
leave
casting the argument
node
to Declaration
. It returns the value
of that method.
leave
in interface NodeVisitor
node
- the node having been walkedresults
- the results of walking the node's children
public boolean walkNextChild(AndExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(AscendingOrderingExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to OrderingExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(CastExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Expression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(ComplementExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(ConditionalAndExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(ConditionalOrExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(ContainsCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(DescendingOrderingExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to OrderingExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(DivideExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(EndsWithCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(EqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(FieldAccessExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to IdentifierExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(GreaterThanEqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(GreaterThanExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(IsEmptyCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(LessThanEqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(LessThanExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(MinusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(NotEqualsExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(NotExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(OrExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(PlusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(QueryTree node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to Node
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(StartsWithCallExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to MethodCallExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(StaticFieldAccessExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to FieldAccessExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(TimesExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to BinaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(UnaryMinusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
public boolean walkNextChild(UnaryPlusExpression node, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
walkNextChild
casting the argument
node
to UnaryExpression
. It returns the value
of that method.
walkNextChild
in interface NodeVisitor
node
- the parent node of the children currently walkedresultOfPreviousChild
- the result of walking the node's previous childindexOfNextChild
- the index of the next child to be walked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |