Package org.jparsec

Enum Tokens.Tag

java.lang.Object
java.lang.Enum<Tokens.Tag>
org.jparsec.Tokens.Tag
All Implemented Interfaces:
Serializable, Comparable<Tokens.Tag>, java.lang.constant.Constable
Enclosing class:
Tokens

public static enum Tokens.Tag extends Enum<Tokens.Tag>
Pre-built Tokens.Fragment token tags.
  • Enum Constant Details

    • RESERVED

      public static final Tokens.Tag RESERVED
      Reserved word
    • IDENTIFIER

      public static final Tokens.Tag IDENTIFIER
      Regular identifier
    • INTEGER

      public static final Tokens.Tag INTEGER
      Integral number literal
    • DECIMAL

      public static final Tokens.Tag DECIMAL
      Decimal number literal
  • Constructor Details

    • Tag

      private Tag()
  • Method Details

    • values

      public static Tokens.Tag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Tokens.Tag 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