Java.BlockStatement
, Java.Locatable
, Java.Scope
public static final class Java.ThrowStatement extends Java.Statement
Modifier and Type | Field | Description |
---|---|---|
Java.Rvalue |
expression |
The rvalue (of type
Throwable ) thrown by this THROW statement. |
NOWHERE
localVariables
Constructor | Description |
---|---|
ThrowStatement(Location location,
Java.Rvalue expression) |
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, throwCompileException
getLocation, throwCompileException
findLocalVariable, getEnclosingScope, setEnclosingScope
public final Java.Rvalue expression
Throwable
) thrown by this THROW statement.public ThrowStatement(Location location, Java.Rvalue expression)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.Copyright © 2001–2019. All rights reserved.