Uses of Class
com.github.zafarkhaja.semver.expr.Lexer.Token.Type
-
Packages that use Lexer.Token.Type Package Description com.github.zafarkhaja.semver.expr 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.Type Modifier and Type Field Description private Lexer.Token.Type[]
UnexpectedTokenException. expected
The array of the expected token types.(package private) Lexer.Token.Type
Lexer.Token. type
The type of this token.Methods in com.github.zafarkhaja.semver.expr that return Lexer.Token.Type Modifier and Type Method Description (package private) Lexer.Token.Type[]
UnexpectedTokenException. getExpectedTokenTypes()
Gets the expected token types.static Lexer.Token.Type
Lexer.Token.Type. valueOf(java.lang.String name)
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.Type Modifier and Type Method Description private 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.Type Constructor Description Token(Lexer.Token.Type type, java.lang.String lexeme, int position)
Constructs aToken
instance with the type, lexeme and position.UnexpectedTokenException(Lexer.Token token, Lexer.Token.Type... expected)
Constructs aUnexpectedTokenException
instance with the unexpected token and the expected types.
-