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 |
---|---|
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.
|
hasSideEffects
makeReturnStatement, makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public static final JCharLiteral NULL
public JCharLiteral(SourceInfo sourceInfo, char value)
public static JCharLiteral get(char value)
public JType getType()
HasType
public char getValue()
public Object getValueObj()
getValueObj
in class JValueLiteral
Copyright © 2018. All rights reserved.