public static enum RustShallowParser.ERustParserStates extends java.lang.Enum<RustShallowParser.ERustParserStates>
Enum Constant and Description |
---|
IN_ENUM
State for parsing enum members.
|
IN_EXPRESSION
State for parsing sub-expressions.
|
IN_LAMBDA
State for parsing within a single lambda expression.
|
IN_MATCH
State for parsing within a match statement.
|
IN_METHOD
State for parsing within a method.
|
IN_MODULE
State for parsing module-level entites.
|
IN_STRUCT
State for parsing struct members.
|
IN_TRAIT
State for parsing trait and implementation members.
|
IN_TUPLE_STRUCT
State for parsing tuple-struct members.
|
Modifier and Type | Method and Description |
---|---|
static RustShallowParser.ERustParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RustShallowParser.ERustParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RustShallowParser.ERustParserStates IN_MODULE
public static final RustShallowParser.ERustParserStates IN_STRUCT
public static final RustShallowParser.ERustParserStates IN_TUPLE_STRUCT
public static final RustShallowParser.ERustParserStates IN_TRAIT
public static final RustShallowParser.ERustParserStates IN_ENUM
public static final RustShallowParser.ERustParserStates IN_METHOD
public static final RustShallowParser.ERustParserStates IN_MATCH
public static final RustShallowParser.ERustParserStates IN_EXPRESSION
public static final RustShallowParser.ERustParserStates IN_LAMBDA
public static RustShallowParser.ERustParserStates[] values()
for (RustShallowParser.ERustParserStates c : RustShallowParser.ERustParserStates.values()) System.out.println(c);
public static RustShallowParser.ERustParserStates valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null