The source code to be tokenized.
Returns whether the lexer should keep comments.
Sets whether the lexer should keep comments.
Returns whether the lexer is configured to preprocess the input.
Sets whether the lexer should preprocess the input.
Returns whether the current token is at the start of a line.
Returns whether the current token has a leading space.
Returns the current token kind.
Returns the length of the current token.
Returns the offset of the current token.
Returns the text of the current token.
Creates a new lexer.