Uses of Class
io.pebbletemplates.pebble.lexer.Token.Type
-
Packages that use Token.Type Package Description io.pebbletemplates.pebble.lexer -
-
Uses of Token.Type in io.pebbletemplates.pebble.lexer
Fields in io.pebbletemplates.pebble.lexer declared as Token.Type Modifier and Type Field Description private Token.Type
Token. type
Methods in io.pebbletemplates.pebble.lexer that return Token.Type Modifier and Type Method Description Token.Type
Token. getType()
static Token.Type
Token.Type. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Token.Type[]
Token.Type. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.pebbletemplates.pebble.lexer with parameters of type Token.Type Modifier and Type Method Description Token
TokenStream. expect(Token.Type type)
Checks the current token to see if it matches the provided type.Token
TokenStream. expect(Token.Type type, java.lang.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, java.lang.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, java.lang.String... values)
Constructors in io.pebbletemplates.pebble.lexer with parameters of type Token.Type Constructor Description Token(Token.Type type, java.lang.String value, int lineNumber)
-