public class NewArrayExpr extends Expr
| Constructor and Description |
|---|
NewArrayExpr(Expr size,
Type elementType,
Type type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
Type |
elementType() |
boolean |
equalsExpr(Expr other)
Compares this expression to another.
|
int |
exprHashCode()
Returns the hash code for this expresion.
|
Expr |
size() |
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 Expr size()
public Type elementType()
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.