|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cs132.vapor.ast.Node cs132.vapor.ast.VInstr
public abstract class VInstr
The base class for all AST instruction nodes.
Nested Class Summary | |
---|---|
static class |
VInstr.Visitor<E extends Throwable>
Visitor for instruction nodes. |
static class |
VInstr.VisitorP<P,E extends Throwable>
Visitor for instruction nodes, where each visitor function takes a parameter. |
static class |
VInstr.VisitorPR<P,R,E extends Throwable>
Visitor for instruction nodes, where each visitor function takes a parameter and returns a value. |
static class |
VInstr.VisitorR<R,E extends Throwable>
Visitor for instruction nodes, where each visitor function returns a value. |
Field Summary |
---|
Fields inherited from class cs132.vapor.ast.Node |
---|
sourcePos |
Constructor Summary | |
---|---|
protected |
VInstr(SourcePos sourcePos)
|
Method Summary | ||
---|---|---|
abstract
|
accept(P p,
VInstr.VisitorP<P,E> v)
Relay for VInstr.VisitorP |
|
abstract
|
accept(P p,
VInstr.VisitorPR<P,R,E> v)
Relay for VInstr.VisitorPR |
|
abstract
|
accept(VInstr.Visitor<E> v)
Relay for VInstr.Visitor |
|
abstract
|
accept(VInstr.VisitorR<R,E> v)
Relay for VInstr.VisitorR |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected VInstr(SourcePos sourcePos)
Method Detail |
---|
public abstract <E extends Throwable> void accept(VInstr.Visitor<E> v) throws E extends Throwable
VInstr.Visitor
E extends Throwable
public abstract <R,E extends Throwable> R accept(VInstr.VisitorR<R,E> v) throws E extends Throwable
VInstr.VisitorR
E extends Throwable
public abstract <P,E extends Throwable> void accept(P p, VInstr.VisitorP<P,E> v) throws E extends Throwable
VInstr.VisitorP
E extends Throwable
public abstract <P,R,E extends Throwable> R accept(P p, VInstr.VisitorPR<P,R,E> v) throws E extends Throwable
VInstr.VisitorPR
E extends Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |