Skip to main content

Module document

Module document 

Source
Expand description

Shared linter document model.

A LintDocument is constructed once per SQL source and reused across all rule engines. It carries source text, dialect metadata, parsed statements, and tokenizer output with stable spans.

Structs§

LintDocument
Normalized lint input model for a single SQL source.
LintStatement
A parsed statement entry within a lint document.
LintToken
A token emitted by the SQL tokenizer with stable source span.
NoqaMap
-- noqa suppression directives indexed by 1-based line number.

Enums§

LintTokenKind
Token class used by lexical/document lint engines.