Package com.jogamp.gluegen.jcpp
Enum Feature
- java.lang.Object
-
- java.lang.Enum<Feature>
-
- com.jogamp.gluegen.jcpp.Feature
-
- All Implemented Interfaces:
Serializable
,Comparable<Feature>
public enum Feature extends Enum<Feature>
Features of the Preprocessor, which may be enabled or disabled.
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
DIGRAPHS
public static final Feature DIGRAPHS
Supports ANSI digraphs.
-
TRIGRAPHS
public static final Feature TRIGRAPHS
Supports ANSI trigraphs.
-
LINEMARKERS
public static final Feature LINEMARKERS
Outputs linemarker tokens.
-
CSYNTAX
public static final Feature CSYNTAX
Reports tokens of type INVALID as errors.
-
KEEPCOMMENTS
public static final Feature KEEPCOMMENTS
Preserves comments in the lexed output.
-
KEEPALLCOMMENTS
public static final Feature KEEPALLCOMMENTS
Preserves comments in the lexed output, even when inactive.
-
DEBUG
public static final Feature DEBUG
-
OBJCSYNTAX
public static final Feature OBJCSYNTAX
Supports lexing of objective-C.
-
INCLUDENEXT
public static final Feature INCLUDENEXT
-
PRAGMA_ONCE
public static final Feature PRAGMA_ONCE
Random extensions.
-
-
Method Detail
-
values
public static Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Feature c : Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-