public static final class Java.ArrayAccessExpression extends Java.Lvalue
Modifier and Type | Field and Description |
---|---|
Java.Rvalue |
index
The index value to use.
|
Java.Rvalue |
lhs
The array to access (must be an
Java.Lvalue if the access is modifying). |
NOWHERE
Constructor and Description |
---|
ArrayAccessExpression(Location location,
Java.Rvalue lhs,
Java.Rvalue index) |
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.LvalueVisitor visitor)
|
void |
accept(Visitor.RvalueVisitor visitor)
|
String |
toString() |
toLvalue
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileException
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
public final Java.Rvalue lhs
Java.Lvalue
if the access is modifying).public final Java.Rvalue index
public ArrayAccessExpression(Location location, Java.Rvalue lhs, Java.Rvalue index)
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.LvalueVisitor visitor)
Java.Lvalue
accept
in class Java.Lvalue
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.