cs132.vapor.ast
Class VReturn
java.lang.Object
cs132.vapor.ast.Node
cs132.vapor.ast.VInstr
cs132.vapor.ast.VReturn
public class VReturn
- extends VInstr
Return instruction.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public final VOperand value
- The value being returned. This is optional and can be
null
.
VReturn
public VReturn(SourcePos sourcePos,
VOperand value)
accept
public <E extends Throwable> void accept(VInstr.Visitor<E> v)
throws E extends Throwable
- Description copied from class:
VInstr
- Relay for
VInstr.Visitor
- Specified by:
accept
in class VInstr
- Throws:
E extends Throwable
accept
public <R,E extends Throwable> R accept(VInstr.VisitorR<R,E> v)
throws E extends Throwable
- Description copied from class:
VInstr
- Relay for
VInstr.VisitorR
- Specified by:
accept
in class VInstr
- Throws:
E extends Throwable
accept
public <P,E extends Throwable> void accept(P p,
VInstr.VisitorP<P,E> v)
throws E extends Throwable
- Description copied from class:
VInstr
- Relay for
VInstr.VisitorP
- Specified by:
accept
in class VInstr
- Throws:
E extends Throwable
accept
public <P,R,E extends Throwable> R accept(P p,
VInstr.VisitorPR<P,R,E> v)
throws E extends Throwable
- Description copied from class:
VInstr
- Relay for
VInstr.VisitorPR
- Specified by:
accept
in class VInstr
- Throws:
E extends Throwable