Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatablepublic static final class Java.ArrayAccessExpression extends Java.Lvalue
| Modifier and Type | Field | 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 | Description |
|---|---|
ArrayAccessExpression(Location location,
Java.Rvalue lhs,
Java.Rvalue index) |
| Modifier and Type | Method | 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() |
toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptiongetLocation, throwCompileExceptiontoLvaluegetEnclosingBlockStatement, setEnclosingBlockStatement, toRvaluepublic 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.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvalueaccept in class Java.Rvaluepublic void accept(Visitor.LvalueVisitor visitor)
Java.Lvalueaccept in class Java.Lvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.Copyright © 2001–2019. All rights reserved.