Enum Feature

    • 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. Like cpp -C
      • 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.
      • UNIFIED_OUTPUT

        public static final Feature UNIFIED_OUTPUT
        Unified output for reproducible platform-agnostic builds, i.e.:
        • Use unix-file-separator '/' on all platform.
    • 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 name
        NullPointerException - if the argument is null