public enum Sym extends Enum<Sym>
Enum Constant and Description |
---|
ADD |
AND |
ASSIGN |
COLON |
COMMA |
DEC |
DIV |
DOT |
DOUBLE |
EOF |
EQUAL |
FALSE |
FLOAT |
GE |
GT |
ID |
INC |
INT |
LBRACE |
LBRACK |
LE |
LONG |
LPAREN |
LT |
MOD |
MUL |
NOT |
NOTEQUAL |
NULL |
NULL_SAFE |
OR |
QUESTION |
RANGE |
RBRACE |
RBRACK |
RPAREN |
SEMICOLON |
STATIC |
STR |
SUB |
TRUE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
String |
value() |
static Sym |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sym[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sym ASSIGN
public static final Sym DOT
public static final Sym RANGE
public static final Sym COLON
public static final Sym STATIC
public static final Sym COMMA
public static final Sym SEMICOLON
public static final Sym LPAREN
public static final Sym RPAREN
public static final Sym LBRACK
public static final Sym RBRACK
public static final Sym LBRACE
public static final Sym RBRACE
public static final Sym ADD
public static final Sym SUB
public static final Sym INC
public static final Sym DEC
public static final Sym MUL
public static final Sym DIV
public static final Sym MOD
public static final Sym EQUAL
public static final Sym NOTEQUAL
public static final Sym LT
public static final Sym LE
public static final Sym GT
public static final Sym GE
public static final Sym NOT
public static final Sym AND
public static final Sym OR
public static final Sym QUESTION
public static final Sym NULL_SAFE
public static final Sym ID
public static final Sym STR
public static final Sym TRUE
public static final Sym FALSE
public static final Sym NULL
public static final Sym INT
public static final Sym LONG
public static final Sym FLOAT
public static final Sym DOUBLE
public static final Sym EOF
public static Sym[] values()
for (Sym c : Sym.values()) System.out.println(c);
public static Sym 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 nullpublic String value()
Copyright © 2018. All rights reserved.