Uses of Class
io.pebbletemplates.pebble.lexer.Token
Packages that use Token
Package
Description
-
Uses of Token in io.pebbletemplates.pebble.lexer
Methods in io.pebbletemplates.pebble.lexer that return TokenModifier and TypeMethodDescriptionTokenStream.current()Looks at the current token.TokenStream.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.TokenStream.next()Consumes and returns the next token in the stream.TokenStream.peek()Returns the next token in the stream without consuming it.TokenStream.peek(int number) Returns a future token in the stream without consuming any.Methods in io.pebbletemplates.pebble.lexer that return types with arguments of type TokenConstructor parameters in io.pebbletemplates.pebble.lexer with type arguments of type TokenModifierConstructorDescriptionTokenStream(Collection<Token> tokens, String name) Constructor for a Token Stream -
Uses of Token in io.pebbletemplates.pebble.parser
Methods in io.pebbletemplates.pebble.parser with parameters of type Token -
Uses of Token in io.pebbletemplates.pebble.tokenParser
Methods in io.pebbletemplates.pebble.tokenParser with parameters of type TokenModifier and TypeMethodDescriptionThe TokenParser is responsible to convert all the necessary tokens into appropriate Nodes.