public static final class Java.ReturnStatement extends Java.Statement
Modifier and Type | Field and Description |
---|---|
Java.Rvalue |
optionalReturnValue
The optional rvalue that is returned.
|
localVariables
NOWHERE
Constructor and Description |
---|
ReturnStatement(Location location,
Java.Rvalue optionalReturnValue) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.BlockStatementVisitor visitor)
Invokes the '
visit...() ' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
java.lang.String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScope
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
public final Java.Rvalue optionalReturnValue
public ReturnStatement(Location location, Java.Rvalue optionalReturnValue)
public java.lang.String toString()
toString
in class java.lang.Object
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.