public enum LabelType extends Enum<LabelType>
Enum Constant and Description |
---|
LEXER_STRING_LABEL |
RULE_LABEL |
RULE_LIST_LABEL |
TOKEN_LABEL |
TOKEN_LIST_LABEL |
Modifier and Type | Method and Description |
---|---|
static LabelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelType RULE_LABEL
public static final LabelType TOKEN_LABEL
public static final LabelType RULE_LIST_LABEL
public static final LabelType TOKEN_LIST_LABEL
public static final LabelType LEXER_STRING_LABEL
public static LabelType[] values()
for (LabelType c : LabelType.values()) System.out.println(c);
public static LabelType 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–2020 ANTLR. All rights reserved.