Uses of Class
com.github.zafarkhaja.semver.expr.Lexer.Token
-
Packages that use Lexer.Token Package Description com.github.zafarkhaja.semver.expr 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.Token Modifier and Type Field Description private Lexer.Token
UnexpectedTokenException. unexpected
The unexpected token.Fields in com.github.zafarkhaja.semver.expr with type parameters of type Lexer.Token Modifier and Type Field Description private Stream<Lexer.Token>
ExpressionParser. tokens
The stream of tokens produced by the lexer.Methods in com.github.zafarkhaja.semver.expr that return Lexer.Token Modifier and Type Method Description private 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.Token Modifier and Type Method Description (package private) Stream<Lexer.Token>
Lexer. tokenize(java.lang.String input)
Tokenizes the specified input string.Methods in com.github.zafarkhaja.semver.expr with parameters of type Lexer.Token Modifier and Type Method Description boolean
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.Token Modifier and Type Method Description private 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.Token Constructor Description UnexpectedTokenException(Lexer.Token token, Lexer.Token.Type... expected)
Constructs aUnexpectedTokenException
instance with the unexpected token and the expected types.
-