
public class JCharLiteral extends JValueLiteral
| Modifier and Type | Field and Description |
|---|---|
static JCharLiteral |
NULL |
| Constructor and Description |
|---|
JCharLiteral(SourceInfo sourceInfo,
char value) |
| Modifier and Type | Method and Description |
|---|---|
JValueLiteral |
cloneFrom(JValueLiteral value) |
static JCharLiteral |
get(char value) |
JType |
getType()
Returns the type of this expression.
|
char |
getValue() |
Object |
getValueObj() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffectsmakeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic static final JCharLiteral NULL
public JCharLiteral(SourceInfo sourceInfo, char value)
public static JCharLiteral get(char value)
public JValueLiteral cloneFrom(JValueLiteral value)
cloneFrom in class JValueLiteralpublic JType getType()
HasTypepublic char getValue()
public Object getValueObj()
getValueObj in class JValueLiteralpublic void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.