Re-exports§
pub use crate::filter::SolidityExtractionConfig;pub use crate::filter::filter_analysis_source_files;pub use crate::filter::normalize_relative_source_files;
Structs§
- Extracted
Callable - A function-like Solidity item extracted by tree-sitter.
- Extracted
Contract - A contract/interface/library extracted from Solidity source.
- Solidity
Extraction Result - Contracts/functions extracted from a Solidity repository before any LLM callgraph analysis.
- Solidity
Source Input - One Solidity source file plus its already-loaded content. The
tree-sitter pass needs the source bytes; this struct lets callers
that have already read the file (e.g. a
crate::filter::SolidityExtractionConfig- driven CLI flow or aknowdit_project::ProjectScopeContentsnapshot) pass the content straight through instead of forcing a secondtokio::fs::read_to_stringper file.
Enums§
- Solidity
Callable Kind - Solidity callable kind represented as a callgraph function node.
- Solidity
Contract Kind - Solidity declaration kind for a contract-like source item.
- Solidity
Function Node Kind - Repository callgraph function node kind.
Functions§
- extract_
contracts_ functions - Extract Solidity contracts and callables with tree-sitter from
pre-loaded source content. Sync: tree-sitter parsing is CPU-bound
and the caller has already taken care of disk I/O. The previous
(repo_root, &[PathBuf])signature is preserved at the outerextract_repo_contracts_functionsentry point, which handles reading + then defers here. - extract_
repo_ contracts_ functions - Extract Solidity contracts/functions without invoking the LLM.