Package foundry.veil.lib.anarres.cpp
Enum Class Feature
- All Implemented Interfaces:
Serializable
,Comparable<Feature>
,Constable
Features of the Preprocessor, which may be enabled or disabled.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionReports tokens of type INVALID as errors.Supports ANSI digraphs.Preserves comments in the lexed output, even when inactive.Preserves comments in the lexed output.Outputs linemarker tokens.Supports lexing of objective-C.Random extensions.Supports ANSI trigraphs. -
Method Summary
-
Enum Constant Details
-
DIGRAPHS
Supports ANSI digraphs. -
TRIGRAPHS
Supports ANSI trigraphs. -
LINEMARKERS
Outputs linemarker tokens. -
CSYNTAX
Reports tokens of type INVALID as errors. -
KEEPCOMMENTS
Preserves comments in the lexed output. Like cpp -C -
KEEPALLCOMMENTS
Preserves comments in the lexed output, even when inactive. -
OBJCSYNTAX
Supports lexing of objective-C. -
INCLUDENEXT
-
PRAGMA_ONCE
Random extensions.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-