Skip to main content

Module parser

Module parser 

Source
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:

Structs§

ElementExtractor
Canonical API for extracting element counts from source code.
SemanticExtractor

Enums§

ParserError