Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatablepublic static final class Java.FieldAccess extends Java.Lvalue
Java.ArrayLength,
e.g. "myArray.length".)| Modifier and Type | Field | Description |
|---|---|---|
IClass.IField |
field |
The field within the class or instance identified by the
lhs. |
Java.Atom |
lhs |
The left-hand-side of the field access - either a type or an rvalue (which includes all
lvalues).
|
NOWHERE| Constructor | Description |
|---|---|
FieldAccess(Location location,
Java.Atom lhs,
IClass.IField field) |
| 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.Atom lhs
public final IClass.IField field
lhs.public FieldAccess(Location location, Java.Atom lhs, IClass.IField field)
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.