Uses of Class
com.github.zafarkhaja.semver.expr.Lexer.Token
Packages that use Lexer.Token
Package
Description
This package contains classes that implement the SemVer Expressions.
-
Uses of Lexer.Token in com.github.zafarkhaja.semver.expr
Fields in com.github.zafarkhaja.semver.expr declared as Lexer.TokenModifier and TypeFieldDescriptionprivate final Lexer.Token
UnexpectedTokenException.unexpected
The unexpected token.Fields in com.github.zafarkhaja.semver.expr with type parameters of type Lexer.TokenModifier and TypeFieldDescriptionprivate Stream<Lexer.Token>
ExpressionParser.tokens
The stream of tokens produced by the lexer.Methods in com.github.zafarkhaja.semver.expr that return Lexer.TokenModifier and TypeMethodDescriptionprivate Lexer.Token
ExpressionParser.consumeNextToken
(Lexer.Token.Type... expected) Tries to consume the next token in the stream.(package private) Lexer.Token
UnexpectedTokenException.getUnexpectedToken()
Gets the unexpected token.Methods in com.github.zafarkhaja.semver.expr that return types with arguments of type Lexer.TokenModifier and TypeMethodDescription(package private) Stream<Lexer.Token>
Tokenizes the specified input string.Methods in com.github.zafarkhaja.semver.expr with parameters of type Lexer.TokenModifier and TypeMethodDescriptionboolean
Lexer.Token.Type.isMatchedBy
(Lexer.Token token) Checks if the specified element matches this type.Method parameters in com.github.zafarkhaja.semver.expr with type arguments of type Lexer.TokenModifier and TypeMethodDescriptionprivate boolean
ExpressionParser.isVersionFollowedBy
(Stream.ElementType<Lexer.Token> type) Determines if the version terminals are followed by the specified token type.Constructors in com.github.zafarkhaja.semver.expr with parameters of type Lexer.TokenModifierConstructorDescription(package private)
UnexpectedTokenException
(Lexer.Token token, Lexer.Token.Type... expected) Constructs aUnexpectedTokenException
instance with the unexpected token and the expected types.