public static final class Java.UnaryOperation extends Java.BooleanRvalue
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
operand
The rvalue to operate upon.
|
String |
operator
The operator; either
"+", "-", "~" or "!" |
NOWHERE| Constructor and Description |
|---|
UnaryOperation(Location location,
String operator,
Java.Rvalue 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 String operator
public final Java.Rvalue operand
public UnaryOperation(Location location, String operator, Java.Rvalue operand)
operator - Either "+", "-", "~" or "!"; 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.