Package org.antlr.v4.tool
Enum AttributeDict.DictType
- java.lang.Object
-
- java.lang.Enum<AttributeDict.DictType>
-
- org.antlr.v4.tool.AttributeDict.DictType
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeDict.DictType>
- Enclosing class:
- AttributeDict
public static enum AttributeDict.DictType extends Enum<AttributeDict.DictType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARG
LOCAL
PREDEFINED_LEXER_RULE
PREDEFINED_RULE
RET
TOKEN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeDict.DictType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeDict.DictType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARG
public static final AttributeDict.DictType ARG
-
RET
public static final AttributeDict.DictType RET
-
LOCAL
public static final AttributeDict.DictType LOCAL
-
TOKEN
public static final AttributeDict.DictType TOKEN
-
PREDEFINED_RULE
public static final AttributeDict.DictType PREDEFINED_RULE
-
PREDEFINED_LEXER_RULE
public static final AttributeDict.DictType PREDEFINED_LEXER_RULE
-
-
Method Detail
-
values
public static AttributeDict.DictType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AttributeDict.DictType c : AttributeDict.DictType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeDict.DictType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-