You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlquack-lint is removed; its Rules now live in SQLClean. The tokenizer moved to sqlquack-tokenize: sqlquack_syntax::{LosslessToken, TokenKind, TokenizeFailure} are now sqlquack_tokenize::{LosslessToken, TokenKind, TokenizeFailure}, sqlquack_syntax::lossless::* is sqlquack_tokenize::lossless::*, sqlquack_syntax::tokens::models::{Tokenizer, TokenizerConfig} are sqlquack_tokenize::tokens::models::{Tokenizer, TokenizerConfig} (also sqlquack_tokenize::{Tokenizer, TokenizerConfig}), and sqlquack_syntax::tokens::main::parse_dollar_string_token is sqlquack_tokenize::tokens::main::parse_dollar_string_token; depend on sqlquack-tokenize to use them. sqlquack_parse::tokenize and the token, span and dialect types (Token, TokenType, Span, Dialect, CallMode) keep their paths. CallMode gains QueriesLocated and AsWrittenLocated, TriggerBody gains Statements, and tree nodes gain position fields (for example Lateral::alias_span, Select::select_span, BinaryOp::operator_span), so an exhaustive match on CallMode or TriggerBody, or a struct literal of those nodes, no longer compiles. A WITH before VALUES now parses as a SELECT over the VALUES carrying the WITH.
Features
give located trees every position Rules need; move the tokenizer into sqlquack-tokenize; remove sqlquack-lint (c4acfd1)