public static enum XtendShallowParser.EXtendShallowParserState extends java.lang.Enum<XtendShallowParser.EXtendShallowParserState>
Enum Constant and Description |
---|
IN_ENUM
State inside an enum body.
|
IN_LAMBDA
State to match a lambda expression, the content of the lambda
expression however is treated as IN_METHOD
|
IN_METHOD
State inside a method definition.
|
IN_METHOD_WITH_TEMPLATE
State inside a method definition with template literal.
|
IN_SINGLE_STATEMENT
State inside a region, that accepts only a single statement.
|
IN_TOP_LEVEL
Top level state (e.g.
|
IN_TYPE
State inside a type (class, interface or annotation) definition.
|
Modifier and Type | Method and Description |
---|---|
static XtendShallowParser.EXtendShallowParserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XtendShallowParser.EXtendShallowParserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XtendShallowParser.EXtendShallowParserState IN_TOP_LEVEL
public static final XtendShallowParser.EXtendShallowParserState IN_TYPE
public static final XtendShallowParser.EXtendShallowParserState IN_METHOD
public static final XtendShallowParser.EXtendShallowParserState IN_METHOD_WITH_TEMPLATE
public static final XtendShallowParser.EXtendShallowParserState IN_SINGLE_STATEMENT
public static final XtendShallowParser.EXtendShallowParserState IN_ENUM
public static final XtendShallowParser.EXtendShallowParserState IN_LAMBDA
public static XtendShallowParser.EXtendShallowParserState[] values()
for (XtendShallowParser.EXtendShallowParserState c : XtendShallowParser.EXtendShallowParserState.values()) System.out.println(c);
public static XtendShallowParser.EXtendShallowParserState 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