public abstract static class Java.ConstructorInvocation extends Java.Atom implements Java.BlockStatement
Java.SuperConstructorInvocation and Java.AlternateConstructorInvocation.| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue[] |
arguments
The arguments to pass to the constructor.
|
Map<String,Java.LocalVariable> |
localVariables
The local variables that are accessible during the compilation of the constructor invocation.
|
NOWHERE| Modifier | Constructor and Description |
|---|---|
protected |
ConstructorInvocation(Location location,
Java.Rvalue[] arguments) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.AtomVisitor<R,EX> visitor)
|
abstract <R,EX extends Throwable> |
accept(Visitor.ConstructorInvocationVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.ConstructorInvocationVisitor for the concrete
Java.ConstructorInvocation. |
Java.LocalVariable |
findLocalVariable(String name) |
Java.Scope |
getEnclosingScope() |
void |
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope of this
Java.BlockStatement. |
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toString, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptgetLocation, throwCompileExceptionpublic final Java.Rvalue[] arguments
@Nullable public Map<String,Java.LocalVariable> localVariables
protected ConstructorInvocation(Location location, Java.Rvalue[] arguments)
public void setEnclosingScope(Java.Scope enclosingScope)
Java.BlockStatementJava.BlockStatement.setEnclosingScope in interface Java.BlockStatementpublic Java.Scope getEnclosingScope()
getEnclosingScope in interface Java.BlockStatementgetEnclosingScope in interface Java.Scopenull@Nullable public Java.LocalVariable findLocalVariable(String name)
findLocalVariable in interface Java.BlockStatement@Nullable public final <R,EX extends Throwable> R accept(Visitor.AtomVisitor<R,EX> visitor) throws EX extends Throwable
Java.Atom@Nullable public abstract <R,EX extends Throwable> R accept(Visitor.ConstructorInvocationVisitor<R,EX> visitor) throws EX extends Throwable
visit...()" method of Visitor.ConstructorInvocationVisitor for the concrete
Java.ConstructorInvocation.EX extends ThrowableCopyright © 2019. All rights reserved.