Uses of Enum Class
io.pebbletemplates.pebble.lexer.Token.Type
Packages that use Token.Type
-
Uses of Token.Type in io.pebbletemplates.pebble.lexer
Fields in io.pebbletemplates.pebble.lexer declared as Token.TypeMethods in io.pebbletemplates.pebble.lexer that return Token.TypeModifier and TypeMethodDescriptionToken.getType()
static Token.Type
Returns the enum constant of this class with the specified name.static Token.Type[]
Token.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.pebbletemplates.pebble.lexer with parameters of type Token.TypeModifier and TypeMethodDescriptionTokenStream.expect
(Token.Type type) Checks the current token to see if it matches the provided type.TokenStream.expect
(Token.Type type, String value) Checks the current token to see if it matches the provided type.private Token
LexerImpl.pushToken
(Token.Type type) Create a Token with a Token Type but without no value onto the list of tokens that we are maintaining.private Token
LexerImpl.pushToken
(Token.Type type, String value) Create a Token of a certain type and value and push it into the list of tokens that we are maintaining.void
Token.setType
(Token.Type type) boolean
Token.test
(Token.Type type) boolean
Token.test
(Token.Type type, String... values) Constructors in io.pebbletemplates.pebble.lexer with parameters of type Token.Type