Module mz_sql_lexer::lexer

source Β·
Expand description

SQL lexer.

This module lexes SQL according to the rules described in the β€œLexical Structure” section of the PostgreSQL documentation. The description is intentionally not replicated here. Please refer to that chapter as you read the code in this module.

Where the PostgreSQL documentation is unclear, refer to their flex source instead, located in the backend/parser/scan.l file in the PostgreSQL Git repository.

Macros§

Structs§

Enums§

Constants§

Functions§

Type Aliases§

  • Newtype that limits the length of identifiers.