Java.BlockStatement, Java.Locatable, Java.Scopepublic static final class Java.ReturnStatement extends Java.Statement
| Modifier and Type | Field | Description |
|---|---|---|
Java.Rvalue |
optionalReturnValue |
The optional rvalue that is returned.
|
NOWHERElocalVariables| Constructor | Description |
|---|---|
ReturnStatement(Location location,
Java.Rvalue optionalReturnValue) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
getLocation, throwCompileExceptiongetLocation, throwCompileExceptionfindLocalVariable, getEnclosingScope, setEnclosingScopepublic final Java.Rvalue optionalReturnValue
public ReturnStatement(Location location, Java.Rvalue optionalReturnValue)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.Copyright © 2001–2019. All rights reserved.