ConForM.CoopnTools.JavaProto.MiniJava
Class PrintVisitor
java.lang.Object
|
+--ConForM.CoopnTools.JavaProto.MiniJava.PrintVisitor
- All Implemented Interfaces:
- JavaNodeVisitor
- public class PrintVisitor
- extends java.lang.Object
- implements JavaNodeVisitor
Constructor Summary |
PrintVisitor(java.io.OutputStream out,
int init,
int tab)
|
PrintVisitor(java.io.PrintWriter out,
int init,
int tab)
|
PrintVisitor(java.io.Writer out,
int init,
int tab)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintVisitor
public PrintVisitor(java.io.PrintWriter out,
int init,
int tab)
PrintVisitor
public PrintVisitor(java.io.OutputStream out,
int init,
int tab)
PrintVisitor
public PrintVisitor(java.io.Writer out,
int init,
int tab)
visit
public JavaNode visit(JavaNode n)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(Instruction i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(SimpleInstruction i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(TryInstruction i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(IfInstruction i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(WhileInstruction i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(VarDeclaration i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(InstructionList i)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(Return r)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(CatchBlock c)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(CatchList c)
- Specified by:
visit
in interface JavaNodeVisitor
visit
public JavaNode visit(Assignment c)
- Specified by:
visit
in interface JavaNodeVisitor