public static final class Java.Assignment extends Java.Rvalue
| Modifier and Type | Field and Description |
|---|---|
Java.Lvalue |
lhs
The lvalue to assign to.
|
String |
operator
The assignment operator, as an
interned string; either the "simple assignment
operator" (JLS7 15.26.1), or one of the "compound assignment operators" (JLS7 15.26.2). |
Java.Rvalue |
rhs
The rvalue that is assigned.
|
NOWHERE| Constructor and Description |
|---|
Assignment(Location location,
Java.Lvalue lhs,
String operator,
Java.Rvalue rhs) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.RvalueVisitor<R,EX> visitor)
|
String |
toString() |
accept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScope, toRvaluetoLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.Lvalue lhs
public final String operator
interned string; either the "simple assignment
operator" (JLS7 15.26.1), or one of the "compound assignment operators" (JLS7 15.26.2).public final Java.Rvalue rhs
public Assignment(Location location, Java.Lvalue lhs, String operator, Java.Rvalue rhs)
operator - Must be an interned string!@Nullable public <R,EX extends Throwable> R accept(Visitor.RvalueVisitor<R,EX> visitor) throws EX extends Throwable
Java.Rvalueaccept in class Java.RvalueEX extends ThrowableCopyright © 2019. All rights reserved.