public enum Feature extends Enum<Feature>
Enum Constant and Description |
---|
CSYNTAX
Reports tokens of type INVALID as errors.
|
DEBUG |
DIGRAPHS
Supports ANSI digraphs.
|
INCLUDENEXT |
KEEPALLCOMMENTS
Preserves comments in the lexed output, even when inactive.
|
KEEPCOMMENTS
Preserves comments in the lexed output.
|
LINEMARKERS
Outputs linemarker tokens.
|
OBJCSYNTAX
Supports lexing of objective-C.
|
PRAGMA_ONCE
Random extensions.
|
TRIGRAPHS
Supports ANSI trigraphs.
|
Modifier and Type | Method and Description |
---|---|
static Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature DIGRAPHS
public static final Feature TRIGRAPHS
public static final Feature LINEMARKERS
public static final Feature CSYNTAX
public static final Feature KEEPCOMMENTS
public static final Feature KEEPALLCOMMENTS
public static final Feature DEBUG
public static final Feature OBJCSYNTAX
public static final Feature INCLUDENEXT
public static final Feature PRAGMA_ONCE
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature 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