public static class Java.TryStatement.VariableAccessResource extends Java.TryStatement.Resource
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
variableAccess
The rvalue of this resource.
|
NOWHERE| Constructor and Description |
|---|
VariableAccessResource(Location location,
Java.Rvalue variableAccess) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.TryStatementResourceVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.TryStatementResourceVisitor for the concrete Java.TryStatement.Resource type. |
void |
setEnclosingTryStatement(Java.TryStatement ts)
Sets the enclosing scope for this object and all subordinate
Java.TryStatement.Resource objects. |
String |
toString() |
getLocation, throwCompileExceptionpublic final Java.Rvalue variableAccess
public VariableAccessResource(Location location, Java.Rvalue variableAccess)
public void setEnclosingTryStatement(Java.TryStatement ts)
Java.TryStatement.ResourceJava.TryStatement.Resource objects.setEnclosingTryStatement in class Java.TryStatement.Resource@Nullable public <R,EX extends Throwable> R accept(Visitor.TryStatementResourceVisitor<R,EX> visitor) throws EX extends Throwable
Java.TryStatement.Resourcevisit...()" method of Visitor.TryStatementResourceVisitor for the concrete Java.TryStatement.Resource type.accept in class Java.TryStatement.ResourceEX extends ThrowableCopyright © 2019. All rights reserved.