public enum EKotlinParserStates extends java.lang.Enum<EKotlinParserStates>
Enum Constant and Description |
---|
IN_ENUM
Currently within the scope of an enum class in the stage where enum literals
are defined.
|
IN_LAMBDA
Currently within an expression.
|
IN_METHOD
Currently within method/procedure/function definition.
|
IN_MODULE
Currently within module definition (or package, namespace, etc.).
|
IN_PROPERTY
Currently within the scope of a property, where get and set methods may be
defined.
|
IN_STATEMENT
Currently within a statement and found IF or WHEN expression.
|
IN_TYPE
Currently within type definition (class, etc.).
|
IN_WHEN
Currently within a when (switch in Java) statement.
|
TOP_LEVEL
Top level state.
|
Modifier and Type | Method and Description |
---|---|
static EKotlinParserStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EKotlinParserStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EKotlinParserStates TOP_LEVEL
public static final EKotlinParserStates IN_MODULE
public static final EKotlinParserStates IN_TYPE
public static final EKotlinParserStates IN_METHOD
public static final EKotlinParserStates IN_LAMBDA
public static final EKotlinParserStates IN_WHEN
public static final EKotlinParserStates IN_STATEMENT
public static final EKotlinParserStates IN_PROPERTY
public static final EKotlinParserStates IN_ENUM
public static EKotlinParserStates[] values()
for (EKotlinParserStates c : EKotlinParserStates.values()) System.out.println(c);
public static EKotlinParserStates 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