public class NewArrayExpression extends Expression
| Modifier and Type | Field and Description |
|---|---|
Expression |
bound |
int |
dimension |
List<Expression> |
expressions |
private int |
hash
Cache the hash code for the expression
|
nodeType, type| Constructor and Description |
|---|
NewArrayExpression(Type type,
int dimension,
Expression bound,
List<Expression> expressions) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
accept(ExpressionWriter writer,
int lprec,
int rprec) |
Expression |
accept(Shuttle shuttle) |
<R> R |
accept(Visitor<R> visitor) |
boolean |
equals(Object o) |
int |
hashCode() |
canReduceaccept, accept0, evaluate, getNodeType, getType, toStringpublic final int dimension
public final Expression bound
public final List<Expression> expressions
private int hash
public NewArrayExpression(Type type, int dimension, Expression bound, List<Expression> expressions)
public Expression accept(Shuttle shuttle)
accept in interface Nodeaccept in class Expressionpublic <R> R accept(Visitor<R> visitor)
void accept(ExpressionWriter writer, int lprec, int rprec)
accept in class AbstractNodepublic boolean equals(Object o)
equals in class AbstractNodepublic int hashCode()
hashCode in class AbstractNodeCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.