public static final class Java.ReturnStatement extends Java.Statement
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
optionalReturnValue
The optional rvalue that is returned.
|
localVariablesNOWHERE| Constructor and Description |
|---|
ReturnStatement(Location location,
Java.Rvalue optionalReturnValue) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.BlockStatementVisitor<R,EX> visitor)
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileException@Nullable public final Java.Rvalue optionalReturnValue
public ReturnStatement(Location location, @Nullable Java.Rvalue optionalReturnValue)
@Nullable public <R,EX extends Throwable> R accept(Visitor.BlockStatementVisitor<R,EX> visitor) throws EX extends Throwable
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.EX extends Throwable