public static final class Java.Crement extends Java.Rvalue
| Modifier and Type | Field and Description |
|---|---|
Java.Lvalue |
operand
The lvalue to operate upon.
|
String |
operator
The operator; either "++" or "--".
|
boolean |
pre
Whether this operation is 'pre' (TRUE) or 'post' (FALSE).
|
NOWHERE| Constructor and Description |
|---|
Crement(Location location,
Java.Lvalue operand,
String operator) |
Crement(Location location,
String operator,
Java.Lvalue operand) |
| 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 boolean pre
public final String operator
public final Java.Lvalue operand
public Crement(Location location, String operator, Java.Lvalue operand)
public Crement(Location location, Java.Lvalue operand, String operator)
@Nullable public <R,EX extends Throwable> R accept(Visitor.RvalueVisitor<R,EX> visitor) throws EX extends Throwable
Java.Rvalueaccept in class Java.RvalueEX extends Throwable