public interface AmbNewArray
extends polyglot.ast.Expr, polyglot.ast.Ambiguous
new T.a[e][m], e
may be either a dimension expression or a label/principal parameter.| Modifier and Type | Method and Description |
|---|---|
int |
additionalDims()
Gets the number of unspecified dimensions [] from an AmbNewArray representing T.a[e][m][][]...[]
|
AmbNewArray |
additionalDims(int addDims)
Returns a copy of this node with the number of unspecified dimensions updated.
|
polyglot.ast.TypeNode |
baseType()
Gets the base type T.a from an AmbNewArray representing T.a[e][m].
|
AmbNewArray |
baseType(polyglot.ast.TypeNode baseType)
Returns a copy of this node with the base type updated.
|
java.util.List<? extends polyglot.ast.Expr> |
dims()
Gets the additional expression dimensions m from an AmbNewArray representing T.a[e][m].
|
AmbNewArray |
dims(java.util.List<? extends polyglot.ast.Expr> dims)
Returns a copy of this node with the additional expression dimensions updated.
|
java.lang.Object |
expr()
Gets the expr e from an AmbNewArray representing T.a[e][m].
|
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, typedel, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpolyglot.ast.TypeNode baseType()
AmbNewArray baseType(polyglot.ast.TypeNode baseType)
java.lang.Object expr()
java.util.List<? extends polyglot.ast.Expr> dims()
AmbNewArray dims(java.util.List<? extends polyglot.ast.Expr> dims)
int additionalDims()
AmbNewArray additionalDims(int addDims)