|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlab7.ReflectiveVisitor
lab7.NodeVisitor
lab8.DumpNodeVisitor
public class 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 lab7.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 lab7.NodeVisitor |
|---|
err, err, out, out, setPrintStream |
| Methods inherited from class lab7.ReflectiveVisitor |
|---|
dispatch, perform, performVisit |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 | |||||||||