public enum PreprocessorCommand extends Enum<PreprocessorCommand>
Enum Constant and Description |
---|
PP_DEFINE |
PP_ELIF |
PP_ELSE |
PP_ENDIF |
PP_ERROR |
PP_IF |
PP_IFDEF |
PP_IFNDEF |
PP_IMPORT |
PP_INCLUDE |
PP_INCLUDE_NEXT |
PP_LINE |
PP_PRAGMA |
PP_UNDEF |
PP_WARNING |
Modifier and Type | Method and Description |
---|---|
static PreprocessorCommand |
forText(String text) |
static PreprocessorCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreprocessorCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreprocessorCommand PP_DEFINE
public static final PreprocessorCommand PP_ELIF
public static final PreprocessorCommand PP_ELSE
public static final PreprocessorCommand PP_ENDIF
public static final PreprocessorCommand PP_ERROR
public static final PreprocessorCommand PP_IF
public static final PreprocessorCommand PP_IFDEF
public static final PreprocessorCommand PP_IFNDEF
public static final PreprocessorCommand PP_INCLUDE
public static final PreprocessorCommand PP_LINE
public static final PreprocessorCommand PP_PRAGMA
public static final PreprocessorCommand PP_UNDEF
public static final PreprocessorCommand PP_WARNING
public static final PreprocessorCommand PP_INCLUDE_NEXT
public static final PreprocessorCommand PP_IMPORT
public static PreprocessorCommand[] values()
for (PreprocessorCommand c : PreprocessorCommand.values()) System.out.println(c);
public static PreprocessorCommand 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 nullpublic static PreprocessorCommand forText(String text)