public class ShiftExpr extends Expr
| Modifier and Type | Field and Description |
|---|---|
static int |
LEFT |
static int |
RIGHT |
static int |
UNSIGNED_RIGHT |
| Constructor and Description |
|---|
ShiftExpr(int dir,
Expr expr,
Expr bits,
Type type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
bits() |
java.lang.Object |
clone() |
int |
dir() |
boolean |
equalsExpr(Expr other)
Compares this expression to another.
|
Expr |
expr() |
int |
exprHashCode()
Returns the hash code for this expresion.
|
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
cleanupOnly, comparator, copyInto, def, isDef, setDef, setType, stmt, typeblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic static final int LEFT
public static final int RIGHT
public static final int UNSIGNED_RIGHT
public int dir()
public Expr expr()
public Expr bits()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)
public int exprHashCode()
ExprexprHashCode in class Exprpublic boolean equalsExpr(Expr other)
ExprequalsExpr in class Exprother - Expr to which to compare this.