Package io.pebbletemplates.pebble.lexer
Class LexerImpl
java.lang.Object
io.pebbletemplates.pebble.lexer.LexerImpl
- All Implemented Interfaces:
Lexer
This class reads the template input and builds single items out of it.
This class is not thread safe.
-
Constructor Summary
ConstructorsConstructorDescriptionLexerImpl(Syntax syntax, Collection<UnaryOperator> unaryOperators, Collection<BinaryOperator> binaryOperators) Constructor -
Method Summary
Modifier and TypeMethodDescriptionThis is the main method used to tokenize the raw contents of a template.
-
Constructor Details
-
LexerImpl
public LexerImpl(Syntax syntax, Collection<UnaryOperator> unaryOperators, Collection<BinaryOperator> binaryOperators) Constructor- Parameters:
syntax- The primary syntaxunaryOperators- The available unary operatorsbinaryOperators- The available binary operators
-
-
Method Details