Complete lang specs: add all missing node types across 114 languages

Systematic audit of every grammar's parser.c against the current
lang_specs.c entries. For each language, identified all primary
extraction-relevant node types (function/class/call/import) present
in the grammar but missing from the spec.

Changes:
- 44 new node type arrays created for languages that had empty_types
  where the grammar provides extractable constructs
- 121 existing arrays extended with additional node types
- Covers all 153 vendored grammars

Examples of additions:
- Go: import, import_declaration added to import_types
- Python: import, import_from_statement, import_statement added
- JavaScript: new_expression, call_expression added to call_types
- PHP: namespace_use_declaration added (was completely missing)
- Rust: macro_invocation added to call_types
- C/C++: struct_specifier, enum_specifier, union_specifier added

All 2797 tests pass with zero regressions.
This commit is contained in:
test
2026-04-16 00:07:32 +02:00
parent 8c7f61c795
commit 7f436b552e
+376 -230
View File
File diff suppressed because it is too large Load Diff