Expand description
Shared language parser implementation. Common language parser implementation shared by all tree-sitter-based parsers.
Since the generic AstWalker handles all languages
uniformly (the node kind IS the vertex kind, the field name IS the edge kind),
per-language parsers are thin wrappers that provide:
- The tree-sitter Language object
- The embedded
NODE_TYPESJSON - Language-specific
WalkerConfigoverrides - File extension mapping
Structsยง
- Language
Parser - A generic language parser built from a tree-sitter grammar.