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 |
String |
op |
Java.Rvalue |
rhs |
CONSTANT_VALUE_NULL, JUMP_IF_FALSE, JUMP_IF_TRUE
NOWHERE
Constructor and Description |
---|
Java.BinaryOperation(Location location,
Java.Rvalue lhs,
String op,
Java.Rvalue rhs) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.AtomVisitor visitor) |
void |
accept(Visitor.RvalueVisitor visitor) |
String |
toString() |
Iterator |
unrollLeftAssociation()
Returns an
Iterator over a left-to-right sequence of Java.Rvalue s. |
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
toLvalue, toLvalueOrPE, toRvalueOrPE, toType, toTypeOrPE
getLocation, throwCompileException
public final Java.Rvalue lhs
public final String op
public final Java.Rvalue rhs
public Java.BinaryOperation(Location location, Java.Rvalue lhs, String op, Java.Rvalue rhs)
public Iterator unrollLeftAssociation()
Iterator
over a left-to-right sequence of Java.Rvalue
s.public void accept(Visitor.AtomVisitor visitor)
public void accept(Visitor.RvalueVisitor visitor)
accept
in class Java.Rvalue
Copyright © 2001-2013. All Rights Reserved.