public class LiteralToken extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
TOKEN_FALSE
"false".
|
static String |
TOKEN_NULL
"null".
|
static String |
TOKEN_TRUE
"true".
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
LiteralTokenKind |
getKind()
Returns the literal kind.
|
String |
getText()
Returns the token image.
|
Object |
getValue()
Returns the value which this literal represent to.
|
int |
hashCode() |
String |
toString() |
public static final String TOKEN_TRUE
public static final String TOKEN_FALSE
public static final String TOKEN_NULL
public LiteralTokenKind getKind()
public String getText()
public Object getValue()
LiteralTokenKind.UNKNOWN
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.