public static final class Java.BinaryOperation extends Java.BooleanRvalue
Operations with boolean result:
Operations with non-boolean result:
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
lhs
The left hand side operand.
|
String |
op
The operator; one of thos described in
Java.BinaryOperation. |
Java.Rvalue |
rhs
The right hand side operand.
|
NOWHERE| Constructor and Description |
|---|
BinaryOperation(Location location,
Java.Rvalue lhs,
String op,
Java.Rvalue rhs) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.RvalueVisitor<R,EX> visitor)
|
String |
toString() |
Iterator<Java.Rvalue> |
unrollLeftAssociation()
Returns an
Iterator over a left-to-right sequence of Java.Rvalues. |
accept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScope, toRvaluetoLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.Rvalue lhs
public final String op
Java.BinaryOperation.public final Java.Rvalue rhs
public BinaryOperation(Location location, Java.Rvalue lhs, String op, Java.Rvalue rhs)
public Iterator<Java.Rvalue> unrollLeftAssociation()
Iterator over a left-to-right sequence of Java.Rvalues.@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