Java.BlockStatement
, Java.Locatable
, Java.Scope
Java.AlternateConstructorInvocation
, Java.SuperConstructorInvocation
public abstract static class Java.ConstructorInvocation extends Java.Atom implements Java.BlockStatement
Java.SuperConstructorInvocation
and Java.AlternateConstructorInvocation
.Modifier and Type | Field | 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 | Description |
---|---|---|
protected |
ConstructorInvocation(Location location,
Java.Rvalue[] arguments) |
Modifier and Type | Method | Description |
---|---|---|
Java.LocalVariable |
findLocalVariable(String name) |
|
Java.Scope |
getEnclosingScope() |
|
void |
setEnclosingScope(Java.Scope enclosingScope) |
Sets the enclosing scope of this
Java.BlockStatement . |
accept, toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toString, toType, toTypeOrCompileException
accept
getLocation, throwCompileException
getLocation, throwCompileException
public final Java.Rvalue[] arguments
public Map<String,Java.LocalVariable> localVariables
protected ConstructorInvocation(Location location, Java.Rvalue[] arguments)
public void setEnclosingScope(Java.Scope enclosingScope)
Java.BlockStatement
Java.BlockStatement
.setEnclosingScope
in interface Java.BlockStatement
public Java.Scope getEnclosingScope()
getEnclosingScope
in interface Java.BlockStatement
getEnclosingScope
in interface Java.Scope
null
public Java.LocalVariable findLocalVariable(String name)
findLocalVariable
in interface Java.BlockStatement
name
Copyright © 2001–2019. All rights reserved.