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 |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.LvalueVisitor<R,EX> visitor)
|
String |
toString() |
accept, toLvalueaccept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScope, 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)
@Nullable public <R,EX extends Throwable> R accept(Visitor.LvalueVisitor<R,EX> visitor) throws EX extends Throwable
Java.Lvalueaccept in class Java.LvalueEX extends ThrowableCopyright © 2019. All rights reserved.