public static final class Java.FieldAccess extends Java.Lvalue
Java.ArrayLength,
e.g. "myArray.length".)| Modifier and Type | Field and 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 and Description |
|---|
FieldAccess(Location location,
Java.Atom lhs,
IClass.IField field) |
| 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() |
toLvaluegetEnclosingBlockStatement, setEnclosingBlockStatement, toRvaluetoLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic 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–2025. All rights reserved.