public enum LexerActionType extends Enum<LexerActionType>
LexerAction
.Enum Constant and Description |
---|
CHANNEL
The type of a
LexerChannelAction action. |
CUSTOM
The type of a
LexerCustomAction action. |
MODE
The type of a
LexerModeAction action. |
MORE
The type of a
LexerMoreAction action. |
POP_MODE
The type of a
LexerPopModeAction action. |
PUSH_MODE
The type of a
LexerPushModeAction action. |
SKIP
The type of a
LexerSkipAction action. |
TYPE
The type of a
LexerTypeAction action. |
Modifier and Type | Method and Description |
---|---|
static LexerActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LexerActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LexerActionType CHANNEL
LexerChannelAction
action.public static final LexerActionType CUSTOM
LexerCustomAction
action.public static final LexerActionType MODE
LexerModeAction
action.public static final LexerActionType MORE
LexerMoreAction
action.public static final LexerActionType POP_MODE
LexerPopModeAction
action.public static final LexerActionType PUSH_MODE
LexerPushModeAction
action.public static final LexerActionType SKIP
LexerSkipAction
action.public static final LexerActionType TYPE
LexerTypeAction
action.public static LexerActionType[] values()
for (LexerActionType c : LexerActionType.values()) System.out.println(c);
public static LexerActionType 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 © 1992–2016 ANTLR. All rights reserved.