Expand description
SplitRS library - Public API for integration tests and external usage
This library exposes the core analyzers and utilities used by SplitRS for splitting large Rust files into maintainable modules.
Modules§
- array_
splitter - Array-splitting mode for SplitRS.
- config
- Configuration file support for SplitRS
- dependency_
analyzer - Dependency analysis and circular dependency detection
- domain_
router - Domain-mapping support for Feature B (
--target-modules). - error_
recovery - Error recovery and resilient parsing
- extraction
- SMT-verified function-extraction transform.
- field_
access_ tracker - Field access tracking for proper cross-module visibility
- file_
analyzer - File analysis module for SplitRS
- glob_
import_ analyzer - Glob import analysis and resolution for smart import generation
- helper_
dependency_ tracker - Helper function dependency tracking for proper module organization
- import_
analyzer - Import statement analysis and generation for refactored modules
- incremental
- Incremental refactoring support
- lsp
- macro_
analyzer - Macro analysis module for SplitRS
- method_
analyzer - Method boundary detection and analysis for splitting large impl blocks
- metrics_
dashboard - Metrics dashboard for SplitRS — cyclomatic complexity analysis, HTML/JSON/text reporting.
- module_
generator - Module generation for SplitRS
- naming_
strategy - Custom naming strategies for module generation
- nested_
mod_ splitter - Feature C — nested inline-mod descent (
--split-nested-mods). - scope_
analyzer - Module scope analysis for correct impl block placement
- smt
- SMT-backed semantic-equivalence oracle for verified refactoring.
- smt_cli
- CLI driver for the
--verify-equivmode. - source_
map - Verbatim source slicing: map
proc_macro2::Span(line/column) back to exact original source byte ranges so split items can be emitted byte-for-byte, preserving inline//comments and original formatting thatprettypleasewould otherwise strip or reflow. - test_
generator - Integration test generation for verifying refactoring correctness
- trait_
bound_ analyzer - Trait bound tracking and analysis for proper import generation
- trait_
method_ tracker - Trait method tracking for proper trait imports
- workspace
- Workspace-level refactoring support