Enum Class Token.Type

java.lang.Object
java.lang.Enum<Token.Type>
io.pebbletemplates.pebble.lexer.Token.Type
All Implemented Interfaces:
Serializable, Comparable<Token.Type>, java.lang.constant.Constable
Enclosing class:
Token

public static enum Token.Type extends Enum<Token.Type>
  • Enum Constant Details

    • EOF

      public static final Token.Type EOF
    • TEXT

      public static final Token.Type TEXT
    • EXECUTE_START

      public static final Token.Type EXECUTE_START
    • EXECUTE_END

      public static final Token.Type EXECUTE_END
    • NAME

      public static final Token.Type NAME
    • NUMBER

      public static final Token.Type NUMBER
    • LONG

      public static final Token.Type LONG
    • STRING

      public static final Token.Type STRING
    • OPERATOR

      public static final Token.Type OPERATOR
    • PUNCTUATION

      public static final Token.Type PUNCTUATION
    • STRING_INTERPOLATION_START

      public static final Token.Type STRING_INTERPOLATION_START
    • STRING_INTERPOLATION_END

      public static final Token.Type STRING_INTERPOLATION_END
  • Method Details

    • values

      public static Token.Type[] 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

      public static Token.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null