public final class NullLiteral extends ValueExpressionBase
Modifier and Type | Field and Description |
---|---|
static int |
precedence |
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
static NullLiteral |
construct()
Construction of a null literal.
|
int |
getPrecedence()
Get precedence value of the expression operator
(higher precedence value means higher binding power)
|
TypeExpression |
getType()
Get type of objects/arrays to which this null reference belongs.
|
void |
setType(TypeExpression type)
Set type of objects/arrays to which this null reference belongs.
|
accept, accept, acceptChildren, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptChildren, print, printCore, toString, toStringCore
public static final int precedence
public static NullLiteral construct()
public void accept(ASTVisitorOld visitor)
accept
in interface AST
accept
in class ASTProgramBase
visitor
- the visitor who is accepted by this node.public int getPrecedence()
public void setType(TypeExpression type)
type
- the type of the referencepublic TypeExpression getType()
public void accept(ASTVisitor visitor)
accept
in interface AST
accept
in class ValueExpressionBase
visitor
- the visitor who is accepted by this node.