|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Filter expression tree node visitor interface. Note that this is a variation of the extrinsic visitor variation. It has the following advantages over the standard visitor pattern:
Method Summary | |
boolean |
canVisit(ExprNode a_node)
Checks to see if a node can be visited. |
java.util.ArrayList |
getOrder(BranchNode node,
java.util.ArrayList a_children)
Get the array of children to visit sequentially to determine the order of child visitations. |
boolean |
isPrefix()
Determines whether the visitation order is prefix or postfix. |
void |
visit(ExprNode a_node)
Visits a filter expression AST using a specific visitation order. |
Method Detail |
public void visit(ExprNode a_node)
a_node
- the node to visitpublic boolean canVisit(ExprNode a_node)
a_node
- the node to be visited
public boolean isPrefix()
public java.util.ArrayList getOrder(BranchNode node, java.util.ArrayList a_children)
node
- the parent branch nodea_children
- the child node array
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |