Skip to main content

Crate sdivi_parsing

Crate sdivi_parsing 

Source
Expand description

File discovery and AST parsing stage for sdivi-rust.

Provides the adapter::LanguageAdapter extension point, the feature_record::FeatureRecord output type, and the parse::parse_repository entry point.

When compiled with the test-tree-counter Cargo feature, ACTIVE_TREES is exposed so language adapters can track live CST objects in tests.

Modulesยง

adapter
LanguageAdapter trait โ€” the extension point for per-language AST parsing.
feature_record
FeatureRecord and PatternHint โ€” the output types of the parsing stage.
parse
parse_repository โ€” parallel parsing entry point for the parsing stage.
text
Text utilities shared across language adapter crates.
walker
File discovery: breadth-first stable-sorted walk with .gitignore and glob exclusion.