Module sql_parser::lexer [−][src]
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.