|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcs132.vapor.ast.Node
cs132.vapor.ast.VInstr
cs132.vapor.ast.VCall
public class VCall
Function call instruction.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cs132.vapor.ast.VInstr |
|---|
VInstr.Visitor<E extends Throwable>, VInstr.VisitorP<P,E extends Throwable>, VInstr.VisitorPR<P,R,E extends Throwable>, VInstr.VisitorR<R,E extends Throwable> |
| Field Summary | |
|---|---|
VAddr<VFunction> |
addr
The address of the function being called. |
VOperand[] |
args
The list of arguments to pass to the function. |
VVarRef.Local |
dest
The variable used to store the return value of the function. |
| Fields inherited from class cs132.vapor.ast.Node |
|---|
sourcePos |
| Constructor Summary | |
|---|---|
VCall(SourcePos sourcePos,
VAddr<VFunction> addr,
VOperand[] args,
VVarRef.Local dest)
|
|
| Method Summary | ||
|---|---|---|
|
accept(P p,
VInstr.VisitorP<P,E> v)
Relay for VInstr.VisitorP |
|
|
accept(P p,
VInstr.VisitorPR<P,R,E> v)
Relay for VInstr.VisitorPR |
|
|
accept(VInstr.Visitor<E> v)
Relay for VInstr.Visitor |
|
|
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 |
| Field Detail |
|---|
public final VAddr<VFunction> addr
public final VOperand[] args
public final VVarRef.Local dest
null, in which case the return value is ignored.
| Constructor Detail |
|---|
public VCall(SourcePos sourcePos,
VAddr<VFunction> addr,
VOperand[] args,
VVarRef.Local dest)
| Method Detail |
|---|
public <E extends Throwable> void accept(VInstr.Visitor<E> v)
throws E extends Throwable
VInstrVInstr.Visitor
accept in class VInstrE extends Throwable
public <R,E extends Throwable> R accept(VInstr.VisitorR<R,E> v)
throws E extends Throwable
VInstrVInstr.VisitorR
accept in class VInstrE extends Throwable
public <P,E extends Throwable> void accept(P p,
VInstr.VisitorP<P,E> v)
throws E extends Throwable
VInstrVInstr.VisitorP
accept in class VInstrE extends Throwable
public <P,R,E extends Throwable> R accept(P p,
VInstr.VisitorPR<P,R,E> v)
throws E extends Throwable
VInstrVInstr.VisitorPR
accept in class VInstrE extends Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||