|
mwalk Platform 0.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mwalk.visitor.AbstractVisitor | +--mwalk.visitor.MergeVisitor
A visitor used by the builder to merge the period tables.
Fields inherited from class mwalk.visitor.AbstractVisitor |
CFG_BASE,
eval,
seen,
verbose |
Constructor Summary | |
MergeVisitor()
Default constructor. |
Method Summary | |
boolean |
postfix()
Whether to visit after visiting parent/children. |
void |
reset(Tree tree)
Reset the visitor for a new pass over the tree. |
java.lang.Object |
visitDown(Tree tree,
TreeNode node)
Visit the current node prior to visiting children. |
java.lang.Object |
visitDown(Tree tree,
TreeNode node,
java.util.Vector list)
Visit the current node after visiting children. |
Methods inherited from class mwalk.visitor.AbstractVisitor |
again,
cfgBoolean,
cfgInt,
cfgString,
cfgVisitor,
evaluator,
evaluator,
getChildren,
getParents,
getReceivers,
haveSeen,
haveVisited,
init,
markSeen,
markVisited,
nextReceiver,
prefix,
verbose,
visitUp,
visitUp,
walkDown,
walkUp |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public MergeVisitor()
Method Detail |
public boolean postfix()
boolean
whether to visit afterpublic void reset(Tree tree)
Tree
- vistited treepublic java.lang.Object visitDown(Tree tree, TreeNode node)
Tree
- current tree instanceTreeNode
- current nodeObject
optional return value to pass back along the pathVisitException
- if a problem ocurred during visitpublic java.lang.Object visitDown(Tree tree, TreeNode node, java.util.Vector list) throws VisitException
Tree
- current tree instanceTreeNode
- current nodeVector
- list of return values passed back along the pathObject
optional return value to pass back along the pathVisitException
- if a problem ocurred during visit
|
mwalk Platform 0.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |