public static final class Java.ReturnStatement extends Java.Statement
Modifier and Type | Field and Description |
---|---|
Java.Rvalue |
optionalReturnValue |
localVariables
NOWHERE
Constructor and Description |
---|
ReturnStatement(Location location,
Java.Rvalue optionalReturnValue) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
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)