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 |
|---|---|
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.RvalueVisitor visitor)
|
String |
toString() |
getEnclosingBlockStatement, setEnclosingBlockStatement, 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)
public void accept(Visitor.AtomVisitor visitor)
Java.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvalueaccept in class Java.Rvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.Copyright © 2001–2025. All rights reserved.