public static enum Parser.ClassDeclarationContext extends Enum<Parser.ClassDeclarationContext>
| Enum Constant and Description |
|---|
BLOCK
The class declaration appears inside a 'block'.
|
COMPILATION_UNIT
The class declaration appears on the top level.
|
TYPE_DECLARATION
The class declaration appears (directly) inside a type declaration.
|
| Modifier and Type | Method and Description |
|---|---|
static Parser.ClassDeclarationContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.ClassDeclarationContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.ClassDeclarationContext BLOCK
public static final Parser.ClassDeclarationContext TYPE_DECLARATION
public static final Parser.ClassDeclarationContext COMPILATION_UNIT
public static Parser.ClassDeclarationContext[] values()
for (Parser.ClassDeclarationContext c : Parser.ClassDeclarationContext.values()) System.out.println(c);
public static Parser.ClassDeclarationContext 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 null