| Constructor and Description |
|---|
LexerImpl(Syntax syntax,
Collection<UnaryOperator> unaryOperators,
Collection<BinaryOperator> binaryOperators)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
tokenize(Reader reader,
String name)
This is the main method used to tokenize the raw contents of a template.
|
public LexerImpl(Syntax syntax, Collection<UnaryOperator> unaryOperators, Collection<BinaryOperator> binaryOperators)
syntax - The primary syntaxunaryOperators - The available unary operatorsbinaryOperators - The available binary operatorspublic TokenStream tokenize(Reader reader, String name)
Copyright © 2018. All rights reserved.