Skip to main content

is_sql_language

Function is_sql_language 

Source
pub fn is_sql_language(lang: &Language) -> bool
Expand description

Check whether a tree_sitter::Language is the SQL grammar (tree-sitter-sequel).

Used by crate::repo_map to gate SQL-specific enrichment — the synthetic file-level def for dbt/sqlmesh models (S1, Wave 4). Same node-kind-count proxy as is_rust_language.