public final class BooleanLiteral extends ValueExpressionBase
Modifier and Type | Field and Description |
---|---|
static int |
precedence |
boolean |
value |
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 BooleanLiteral |
construct(boolean value)
Construction of an Boolean literal.
|
int |
getPrecedence()
Get precedence value of the expression operator
(higher precedence value means higher binding power)
|
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 final boolean value
public static BooleanLiteral construct(boolean value)
value
- the value of the literal.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 accept(ASTVisitor visitor)
accept
in interface AST
accept
in class ValueExpressionBase
visitor
- the visitor who is accepted by this node.