Expand description
Tree-sitter-based parser for extracting semantic structure from source code.
This module provides language-agnostic parsing using tree-sitter queries to extract functions, classes, imports, references, and other semantic elements from source files. Two main extractors handle different use cases:
ElementExtractor: Quick extraction of function and class counts.SemanticExtractor: Detailed semantic analysis with calls, imports, and references.
Structs§
- Element
Extractor - Canonical API for extracting element counts from source code.
- Semantic
Extractor