Constructors
constructor
- new Lexer(input: string, templatePath?: string): Lexer
-
Parameters
-
input: string
-
Default value templatePath: string = "<anonymous>"
Properties
templatePath
templatePath: string
Methods
tokens
- tokens(): IterableIterator<Token>
-
Returns IterableIterator<Token>
A token iterable
A lexer for sql templates