| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
arrayKeyword |
static java.lang.String |
baseKeyword |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit.
|
static ArrayType |
construct(Type index,
Type base)
Construct array type.
|
Type |
getBase()
Get base type.
|
Type |
getIndex()
Get index type.
|
int |
getPrecedence()
Get precedence value of the type operator
(higher precedence value means higher binding power)
|
getPosition, isLeftAssociative, isRightAssociative, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisLeftAssociative, isRightAssociativegetPosition, setPositionprint, printCore, toString, toStringCorepublic static final java.lang.String arrayKeyword
public static final java.lang.String baseKeyword
public static ArrayType construct(Type index, Type base)
index - the index type.base - the base type.public Type getIndex()
public Type getBase()
public void accept(ASTVisitorOld visitor)
public void accept(ASTVisitor visitor)
public void acceptChildren(ASTVisitor visitor)
acceptChildren in interface ASTacceptChildren in class ASTBasevisitor - the visitor who is accepted by this node.public int getPrecedence()
getPrecedence in interface ExpressiongetPrecedence in class ExpressionBase