Enum Class TokenType

java.lang.Object
java.lang.Enum<TokenType>
eu.bandm.tools.tpath.parser2.TokenType
All Implemented Interfaces:
Serializable, Comparable<TokenType>, java.lang.constant.Constable

public enum TokenType extends Enum<TokenType>
  • Enum Constant Details

    • ERROR

      public static final TokenType ERROR
    • EOF

      public static final TokenType EOF
    • SLASH

      public static final TokenType SLASH
    • DOUBLE_SLASH

      public static final TokenType DOUBLE_SLASH
    • DOT

      public static final TokenType DOT
    • DOUBLE_DOT

      public static final TokenType DOUBLE_DOT
    • DOUBLE_COLON

      public static final TokenType DOUBLE_COLON
    • AT

      public static final TokenType AT
    • ANCESTOR

      public static final TokenType ANCESTOR
    • ANCESTOR_OR_SELF

      public static final TokenType ANCESTOR_OR_SELF
    • ATTRIBUTE

      public static final TokenType ATTRIBUTE
    • CHILD

      public static final TokenType CHILD
    • DESCENDANT

      public static final TokenType DESCENDANT
    • DESCENDANT_OR_SELF

      public static final TokenType DESCENDANT_OR_SELF
    • FOLLOWING

      public static final TokenType FOLLOWING
    • FOLLOWING_SIBLING

      public static final TokenType FOLLOWING_SIBLING
    • NAMESPACE

      public static final TokenType NAMESPACE
    • PARENT

      public static final TokenType PARENT
    • PRECEDING

      public static final TokenType PRECEDING
    • PRECEDING_SIBLING

      public static final TokenType PRECEDING_SIBLING
    • SELF

      public static final TokenType SELF
    • PAREN_OPEN

      public static final TokenType PAREN_OPEN
    • PAREN_CLOSE

      public static final TokenType PAREN_CLOSE
    • NAME

      public static final TokenType NAME
    • VARIABLE_REFERENCE

      public static final TokenType VARIABLE_REFERENCE
    • NAMESPACE_URI_TEST

      public static final TokenType NAMESPACE_URI_TEST
    • STAR

      public static final TokenType STAR
    • COMMENT

      public static final TokenType COMMENT
    • TEXT

      public static final TokenType TEXT
    • PROCESSING_INSTRUCTION

      public static final TokenType PROCESSING_INSTRUCTION
    • NODE

      public static final TokenType NODE
    • LITERAL

      public static final TokenType LITERAL
    • BRACKET_OPEN

      public static final TokenType BRACKET_OPEN
    • BRACKET_CLOSE

      public static final TokenType BRACKET_CLOSE
    • NUMBER

      public static final TokenType NUMBER
    • COMMA

      public static final TokenType COMMA
    • OR

      public static final TokenType OR
    • AND

      public static final TokenType AND
    • EQ

      public static final TokenType EQ
    • NEQ

      public static final TokenType NEQ
    • LT

      public static final TokenType LT
    • LEQ

      public static final TokenType LEQ
    • GT

      public static final TokenType GT
    • GEQ

      public static final TokenType GEQ
    • MULT

      public static final TokenType MULT
    • MOD

      public static final TokenType MOD
    • DIV

      public static final TokenType DIV
    • PLUS

      public static final TokenType PLUS
    • MINUS

      public static final TokenType MINUS
    • BAR

      public static final TokenType BAR
    • FUNCTION_NAME

      public static final TokenType FUNCTION_NAME
    • BRACE_OPEN

      public static final TokenType BRACE_OPEN
    • BRACE_CLOSE

      public static final TokenType BRACE_CLOSE
    • WHITESPACE

      public static final TokenType WHITESPACE
    • AVT_unparsed

      public static final TokenType AVT_unparsed
  • Method Details

    • values

      public static TokenType[] 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 TokenType 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
    • getNoOperatorFollows

      public boolean getNoOperatorFollows()
    • findKeyword

      public static Optional<TokenType> findKeyword(TokenType.KeywordCategory category, String keyword)