|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Feature>
org.anarres.cpp.Feature
public enum Feature
Features of the Preprocessor, which may be enabled or disabled.
Enum Constant Summary | |
---|---|
CSYNTAX
Reports tokens of type INVALID as errors. |
|
DEBUG
|
|
DIGRAPHS
Supports ANSI digraphs. |
|
KEEPCOMMENTS
Preserves comments in the lexed output. |
|
LINEMARKERS
Outputs linemarker tokens. |
|
OBJCSYNTAX
Supports lexing of objective-C. |
|
TRIGRAPHS
Supports ANSI trigraphs. |
|
VERBOSE
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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 VERBOSE
public static final Feature DEBUG
public static final Feature OBJCSYNTAX
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |