Skip to main content

PYTHON_KIND_TABLE

Constant PYTHON_KIND_TABLE 

Source
pub const PYTHON_KIND_TABLE: &[(&str, NormalizedKind)];
Expand description

Grammar node-type → normalized kind. Every name here must exist in the tree-sitter-python grammar; tests::python_kind_table_matches_grammar asserts that, so a grammar bump that renames a node fails loudly.