public enum TokenType extends Enum<TokenType>
Enum Constant and Description |
---|
AT
Token type that represents the @ symbol.
|
CLOSE_BR
Token type that represents a right parenthesis.
|
CLOSE_SQP
Token type that represents a closing squared bracket.
|
COLON
Token type that represents a colon : .
|
COMMA
Token type that represents a comma.
|
COMMENT
Token type that represents a comment (: ......
|
COMP
Token type that represents a comparison.
|
DBL_QUOTE
Token type that represents a normal quote : " .
|
DESC_STEP
Token type that represents a descendant step.
|
DOLLAR
Token type that represents the dollar sign : $ .
|
E_NUMBER
Token type that represents an 'E' or an 'e' that is part of a double
value.
|
END
Token type for the end of the string to parse.
|
EQ
Token type that represents an equality comparison.
|
INTERROGATION
Token type that represents a interrogation mark: ?
|
INVALID
Invalid type.
|
L_SHIFT
Token type that represents a left shift: << .
|
MINUS
Token type that represents a minus.
|
N_EQ
Token type that represents a diversity comparison.
|
NAME
Name type.
|
OPEN_BR
Token type that represents a left parenthesis.
|
OPEN_SQP
Token type that represents an opening squared bracket.
|
OR
Token type that represents the or sign: | .
|
PARENT
Token type that represents a shortcut for the parent: ..
|
PLUS
Token type that represents a plus.
|
POINT
Token type that represents the point.
|
R_SHIFT
Token type that represents a right shift: >> .
|
SINGLE_QUOTE
Token type that represents a single quote : ' .
|
SLASH
Token type that represents a '/' .
|
SPACE
Token type that represents a whitespace.
|
STAR
Token type that represents a star.
|
TEXT
Text type.
|
VALUE
Value type.
|
Modifier and Type | Method and Description |
---|---|
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType INVALID
public static final TokenType TEXT
public static final TokenType NAME
public static final TokenType VALUE
public static final TokenType SLASH
public static final TokenType DESC_STEP
public static final TokenType OPEN_BR
public static final TokenType CLOSE_BR
public static final TokenType COMP
public static final TokenType EQ
public static final TokenType N_EQ
public static final TokenType OPEN_SQP
public static final TokenType CLOSE_SQP
public static final TokenType AT
public static final TokenType POINT
public static final TokenType COLON
public static final TokenType DBL_QUOTE
public static final TokenType SINGLE_QUOTE
public static final TokenType DOLLAR
public static final TokenType PLUS
public static final TokenType MINUS
public static final TokenType INTERROGATION
public static final TokenType STAR
public static final TokenType L_SHIFT
public static final TokenType R_SHIFT
public static final TokenType PARENT
public static final TokenType COMMA
public static final TokenType OR
public static final TokenType COMMENT
public static final TokenType SPACE
public static final TokenType E_NUMBER
public static final TokenType END
public final String mContent
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013. All Rights Reserved.