public static enum JasmTokens.TokenType extends Enum<JasmTokens.TokenType>
Enum Constant and Description |
---|
DECLARATION |
EXPRESSION |
JASM |
JASM_IDENT |
MISC |
MODIFIER |
MODULE_NAME |
OPERATOR |
PUNCTUATION |
SPECIAL |
STATEMENT |
TYPE |
TYPE_PATH_KIND |
VALUE |
Modifier and Type | Method and Description |
---|---|
String |
printval() |
static JasmTokens.TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JasmTokens.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JasmTokens.TokenType MODIFIER
public static final JasmTokens.TokenType OPERATOR
public static final JasmTokens.TokenType VALUE
public static final JasmTokens.TokenType TYPE
public static final JasmTokens.TokenType EXPRESSION
public static final JasmTokens.TokenType STATEMENT
public static final JasmTokens.TokenType DECLARATION
public static final JasmTokens.TokenType PUNCTUATION
public static final JasmTokens.TokenType SPECIAL
public static final JasmTokens.TokenType JASM
public static final JasmTokens.TokenType MISC
public static final JasmTokens.TokenType JASM_IDENT
public static final JasmTokens.TokenType MODULE_NAME
public static final JasmTokens.TokenType TYPE_PATH_KIND
public static JasmTokens.TokenType[] values()
for (JasmTokens.TokenType c : JasmTokens.TokenType.values()) System.out.println(c);
public static JasmTokens.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 nullpublic String printval()
Copyright © 2021. All Rights Reserved.