public static final class Java.NewInitializedArray extends Java.Rvalue
Modifier and Type | Field and Description |
---|---|
IClass |
arrayIClass
The resolved
arrayType . |
Java.ArrayInitializer |
arrayInitializer
The (mandatory) initializer for the array.
|
Java.ArrayType |
arrayType
The array type to be instantiated.
|
NOWHERE
Constructor and Description |
---|
NewInitializedArray(Location location,
Java.ArrayType arrayType,
Java.ArrayInitializer arrayInitializer) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.AtomVisitor visitor)
|
void |
accept(Visitor.ElementValueVisitor visitor)
Invokes the '
visit...() ' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.RvalueVisitor visitor)
|
String |
toString() |
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileException
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
public final Java.ArrayType arrayType
public final Java.ArrayInitializer arrayInitializer
public NewInitializedArray(Location location, Java.ArrayType arrayType, Java.ArrayInitializer arrayInitializer)
public void accept(Visitor.AtomVisitor visitor)
Java.Atom
public void accept(Visitor.RvalueVisitor visitor)
Java.Rvalue
accept
in class Java.Rvalue
public void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValue
visit...()
' method of Visitor.ElementValueVisitor
for the concrete Java.ElementValue
type.Copyright © 2001–2016. All rights reserved.