Skip to main content

Module lexer

Module lexer 

Source
Expand description

SQL Lexer/Tokenizer

This module provides a hand-written lexer for SQL that produces a stream of tokens.

Structs§

Lexer
A lexer that tokenizes SQL input.
Span
Represents a span in the source code.
Token
A token with its span in the source code.

Enums§

Keyword
SQL keywords.
TokenKind
The kind of token.