Enum Symbol

    • Enum Constant Detail

      • LITTERAL

        public static final Symbol LITTERAL
      • DEFINITION

        public static final Symbol DEFINITION
      • CONCATENATION

        public static final Symbol CONCATENATION
      • TERMINATION

        public static final Symbol TERMINATION
      • ALTERNATION

        public static final Symbol ALTERNATION
      • OPTIONAL_OPEN

        public static final Symbol OPTIONAL_OPEN
      • OPTIONAL_CLOSE

        public static final Symbol OPTIONAL_CLOSE
      • OPTIONAL

        public static final Symbol OPTIONAL
      • REPETITION_SYMBOL

        public static final Symbol REPETITION_SYMBOL
      • REPETITION_OPEN

        public static final Symbol REPETITION_OPEN
      • REPETITION_CLOSE

        public static final Symbol REPETITION_CLOSE
      • REPETITION_MINUS_CLOSE

        public static final Symbol REPETITION_MINUS_CLOSE
      • REPETITION_ZERO_OR_MORE

        public static final Symbol REPETITION_ZERO_OR_MORE
      • REPETITION_ONE_OR_MORE

        public static final Symbol REPETITION_ONE_OR_MORE
      • GROUPING_OPEN

        public static final Symbol GROUPING_OPEN
      • GROUPING_CLOSE

        public static final Symbol GROUPING_CLOSE
      • TERMINAL_STRING1

        public static final Symbol TERMINAL_STRING1
      • TERMINAL_STRING2

        public static final Symbol TERMINAL_STRING2
      • COMMENT_TOKEN

        public static final Symbol COMMENT_TOKEN
      • COMMENT_BELOW

        public static final Symbol COMMENT_BELOW
      • COMMENT_ABOVE

        public static final Symbol COMMENT_ABOVE
      • SPECIAL_SEQUENCE

        public static final Symbol SPECIAL_SEQUENCE
      • EXCEPTION

        public static final Symbol EXCEPTION
    • Method Detail

      • values

        public static Symbol[] 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 (Symbol c : Symbol.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Symbol 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
      • getPriority

        public int getPriority()