SqlSourceStructure
Dialect-aware source structure for conservative SQL source scanners.
The structure keeps source tokens together with statement, parenthesis, CASE nesting, and source-pattern matches. It is intentionally lighter than a parser grammar; SQLDelight remains responsible for validating SQL.
Functions
Link copied to clipboard
Returns blocks whose direct parent is block.
Link copied to clipboard
Returns the token context that covers offset, if any.
Link copied to clipboard
Returns the smallest block that contains token.
Link copied to clipboard
Returns the tokens contained by block.
Link copied to clipboard
Returns tokens that belong to the statement with statementIndex.