public class GCmpExpr extends AbstractGrimpIntBinopExpr implements CmpExpr
op1Box, op2Box
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
java.lang.Object |
clone()
Returns a clone of this Value.
|
int |
getPrecedence() |
java.lang.String |
getSymbol()
Returns the unique symbol for an operator.
|
toString
getType
equivHashCode, equivTo, getOp1, getOp1Box, getOp2, getOp2Box, getUseBoxes, setOp1, setOp2, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOp1, getOp1Box, getOp2, getOp2Box, setOp1, setOp2, toString
getType, getUseBoxes, toString
equivHashCode, equivTo
public final java.lang.String getSymbol()
AbstractBinopExpr
getSymbol
in interface BinopExpr
getSymbol
in class AbstractBinopExpr
public final int getPrecedence()
getPrecedence
in interface Precedence
getPrecedence
in class AbstractGrimpIntBinopExpr
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public java.lang.Object clone()
Value
clone
in interface Value
clone
in class AbstractBinopExpr