|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthw3.ReflectiveVisitor
hw3.NodeVisitor
hw4.DumpNodeVisitor
This visitor shows you the AST as-is, node for node, with node types printed out. The number printed is useful as it can help correlate the declaration node for a symbol with references of that symbol.
| Field Summary |
| Fields inherited from class hw3.NodeVisitor |
level, ps |
| Fields inherited from class hw3.ReflectiveVisitor |
debug |
| Constructor Summary | |
DumpNodeVisitor(java.io.PrintStream ps)
|
|
| Method Summary | |
void |
defaultVisit(java.lang.Object o)
Default visitation if nothing suitable is found |
| Methods inherited from class hw3.NodeVisitor |
err, err, out, out, setPrintStream, visitChildren |
| Methods inherited from class hw3.ReflectiveVisitor |
dispatch, getBestMethodFor, perform, performVisit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DumpNodeVisitor(java.io.PrintStream ps)
| Method Detail |
public void defaultVisit(java.lang.Object o)
NodeVisitor
defaultVisit in class NodeVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||