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. |
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 void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.Copyright © 2001–2016. All rights reserved.