Uses of Enum
com.github.zafarkhaja.semver.expr.Lexer.Token.Type
Packages that use Lexer.Token.Type
Package
Description
This package contains classes that implement the SemVer Expressions.
-
Uses of Lexer.Token.Type in com.github.zafarkhaja.semver.expr
Fields in com.github.zafarkhaja.semver.expr declared as Lexer.Token.TypeModifier and TypeFieldDescriptionprivate final Lexer.Token.Type[]
UnexpectedTokenException.expected
The array of the expected token types.(package private) final Lexer.Token.Type
Lexer.Token.type
The type of this token.Methods in com.github.zafarkhaja.semver.expr that return Lexer.Token.TypeModifier and TypeMethodDescription(package private) Lexer.Token.Type[]
UnexpectedTokenException.getExpectedTokenTypes()
Gets the expected token types.static Lexer.Token.Type
Returns the enum constant of this type with the specified name.static Lexer.Token.Type[]
Lexer.Token.Type.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.zafarkhaja.semver.expr with parameters of type Lexer.Token.TypeModifier and TypeMethodDescriptionprivate Lexer.Token
ExpressionParser.consumeNextToken
(Lexer.Token.Type... expected) Tries to consume the next token in the stream.Constructors in com.github.zafarkhaja.semver.expr with parameters of type Lexer.Token.TypeModifierConstructorDescription(package private)
Token
(Lexer.Token.Type type, String lexeme, int position) Constructs aToken
instance with the type, lexeme and position.(package private)
UnexpectedTokenException
(Lexer.Token token, Lexer.Token.Type... expected) Constructs aUnexpectedTokenException
instance with the unexpected token and the expected types.