public static enum IGosuParser.ParseType extends Enum<IGosuParser.ParseType>
| Enum Constant and Description |
|---|
CLASS_FRAGMENT |
EXPRESSION |
EXPRESSION_OR_PROGRAM |
PROGRAM |
| Modifier and Type | Method and Description |
|---|---|
static IGosuParser.ParseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IGosuParser.ParseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IGosuParser.ParseType EXPRESSION
public static final IGosuParser.ParseType PROGRAM
public static final IGosuParser.ParseType CLASS_FRAGMENT
public static final IGosuParser.ParseType EXPRESSION_OR_PROGRAM
public static IGosuParser.ParseType[] values()
for (IGosuParser.ParseType c : IGosuParser.ParseType.values()) System.out.println(c);
public static IGosuParser.ParseType 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 nullCopyright © 2019. All rights reserved.