Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatablepublic static final class Java.BinaryOperation extends Java.BooleanRvalue
Operations with boolean result:
| Modifier and Type | Field | 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 | Description |
|---|---|
BinaryOperation(Location location,
Java.Rvalue lhs,
String op,
Java.Rvalue rhs) |
| Modifier and Type | Method | 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() |
|
Iterator<Java.Rvalue> |
unrollLeftAssociation() |
Returns an
Iterator over a left-to-right sequence of Java.Rvalues. |
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptiongetLocation, throwCompileExceptiongetEnclosingBlockStatement, setEnclosingBlockStatement, toRvaluepublic 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.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–2019. All rights reserved.