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 ConstantsEnum ConstantDescriptionarbitrary pragmas, which are not passed through though, but won't cause errors if this is enabledReports tokens of type INVALID as errors.#custom directive, which is passed throughenable debug messagesSupports ANSI digraphs.GLSL supportPreserves comments in the lexed output, even when inactive.Preserves comments in the lexed output.Adds flags to the line markers that distinguish what role they have.Outputs line marker tokens.Outputs line marker tokens by file name.enables marking the source a #pragma once appears in to only be included onceSupports ANSI trigraphs. -
Method Summary
-
Enum Constant Details
-
DIGRAPHS
Supports ANSI digraphs. -
TRIGRAPHS
Supports ANSI trigraphs. -
LINE_MARKERS
Outputs line marker tokens. -
NAMED_LINE_MARKERS
Outputs line marker tokens by file name. -
LINE_MARKER_FLAGS
Adds flags to the line markers that distinguish what role they have. -
C_SYNTAX
Reports tokens of type INVALID as errors. -
KEEP_COMMENTS
Preserves comments in the lexed output. Like cpp -C -
KEEP_ALL_COMMENTS
Preserves comments in the lexed output, even when inactive. -
DEBUG
enable debug messages -
INCLUDE_NEXT
-
PRAGMA_ONCE
enables marking the source a #pragma once appears in to only be included once -
GLSL_PASSTHROUGH
GLSL support -
GLSL_CUSTOM_PASSTHROUGH
-
ARBITRARY_PRAGMAS
arbitrary pragmas, which are not passed through though, but won't cause errors if this is enabled -
CUSTOM_DIRECTIVE
#custom directive, which is passed through
-
-
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
-