Creates a lexer over input. spanOffset is added to every span, for lexing macro bodies that do not come from the user's source.
input
spanOffset
Lexer(this.input, {this.spanOffset = 0});