Expand description
Multi-language static analysis: parse codebases into a dependency graph for impact analysis.
§Quick start
use std::path::Path;
use impactsense_parser::pipeline::ScanOptions;
use impactsense_parser::parse_project;
use impactsense_parser::store::GraphStore;
let graph = parse_project(Path::new("/path/to/repo"), &ScanOptions::default()).unwrap();
let _callers = graph.callers("com.example.Service.method");Re-exports§
pub use graph::ExtractOptions;pub use graph::build_project_ir;pub use graph::enrich_project_ir_code_bytes;pub use extract::scan_and_build_ir_async;pub use project::parse_project;pub use project::parse_project_async;pub use project::refresh_files;pub use project::ProjectError;pub use compress::compressor_language_from_ir_string;pub use compress::decompress_code_bytes;pub use compress::language_id_from_ir_string;pub use compress::CompressorClient;pub use compress::CompressorConfig;pub use compress::CompressError;pub use store::ExplainOptions;pub use store::ExplainSourceOrigin;pub use store::ExplainSymbolResult;pub use store::GraphStore;pub use store::InMemoryGraph;pub use store::ImpactReport;pub use store::QueryLimits;pub use store::SymbolRef;
Modules§
- compress
- edge
- extract
- Pure extraction from parsed files into
ProjectIr(no Neo4j). - go_
resolve - Discover
go.modmodules and resolve import paths to files on disk. - go_
stdlib - Go standard-library import paths (from
go list stdat embed time). - graph
- ir
- pipeline
- project
- High-level project parsing API for library and MCP consumers.
- python_
common_ external - Common third-party / optional top-level names (PyPI, Sphinx, etc.). Imports whose first segment is listed here are not logged as unresolved when they do not map to scanned files (same idea as stdlib filtering).
- python_
stdlib - Top-level names from CPython
sys.stdlib_module_names(embedded at build time). - scanner
- scanner_
incremental - schema
- store
Structs§
- Multi
Lang Parser - A reusable multi-language Tree-Sitter parser.
Enums§
- Language
Id - Identifier for all languages this parser supports.
- Parser
Error - Errors that can be returned by the parsing layer.
Functions§
- language_
for - Get the underlying Tree-Sitter
Languagefor a givenLanguageId. - parse_
once - Convenience function for one-off parses.