cs132.vapor.ast
Class VInstr.Visitor<E extends Throwable>
java.lang.Object
cs132.vapor.ast.VInstr.Visitor<E>
- Type Parameters:
E
- The exception type that each node is allowed to throw. If you don't want checked
exceptions here, use RuntimeException
.
- Enclosing class:
- VInstr
public abstract static class VInstr.Visitor<E extends Throwable>
- extends Object
Visitor for instruction nodes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VInstr.Visitor
public VInstr.Visitor()
visit
public abstract void visit(VAssign a)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VCall c)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VBuiltIn c)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VMemWrite w)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VMemRead r)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VBranch b)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VGoto g)
throws E extends Throwable
- Throws:
E extends Throwable
visit
public abstract void visit(VReturn r)
throws E extends Throwable
- Throws:
E extends Throwable