|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.visit.NodeVisitor
polyglot.visit.NodeScrambler.FirstPass
Scans throught the AST, create a list of all nodes present, along with
the set of parents for each node in the tree. This visitor should be
run before the main NodeScrambler
visits the tree.
Constructor Summary | |
NodeScrambler.FirstPass()
|
Method Summary | |
NodeVisitor |
enter(Node n)
|
Node |
leave(Node old,
Node n,
NodeVisitor v)
|
Methods inherited from class polyglot.visit.NodeVisitor |
begin, enter, finish, finish, leave, override, override, toString, visitEdge |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NodeScrambler.FirstPass()
Method Detail |
public NodeVisitor enter(Node n)
enter
in class NodeVisitor
public Node leave(Node old, Node n, NodeVisitor v)
leave
in class NodeVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |