public final class CharLiteral extends ValueExpressionBase
| Modifier and Type | Field and Description |
|---|---|
static int |
precedence |
char |
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 CharLiteral |
construct(char value)
Construction of a character literal.
|
int |
getPrecedence()
Get precedence value of the expression operator
(higher precedence value means higher binding power)
|
accept, accept, acceptChildren, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptChildren, print, printCore, toString, toStringCorepublic static final int precedence
public final char value
public static CharLiteral construct(char value)
value - the character denoting the literal.public void accept(ASTVisitorOld visitor)
accept in interface ASTaccept in class ASTProgramBasevisitor - the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class ValueExpressionBasevisitor - the visitor who is accepted by this node.public int getPrecedence()