Skip to main content

codemem_engine/index/
mod.rs

1//! Code indexing engine: ast-grep based code parsing, symbol extraction,
2//! reference resolution, cross-repo linking, and API surface detection.
3
4pub mod api_surface;
5pub mod chunker;
6pub mod engine;
7pub mod incremental;
8pub mod indexer;
9pub mod linker;
10pub mod manifest;
11pub mod parser;
12pub mod resolver;
13pub mod rule_loader;
14pub mod scip;
15pub mod spec_parser;
16pub mod symbol;
17
18pub use api_surface::{
19    detect_client_calls, detect_endpoints, detect_endpoints_from_references, detect_event_calls,
20    match_endpoint, match_event_channels, normalize_path_pattern, ApiSurfaceResult,
21    DetectedClientCall, DetectedEndpoint, DetectedEventCall,
22};
23pub use chunker::{ChunkConfig, CodeChunk};
24pub use indexer::{IndexAndResolveResult, IndexProgress, IndexResult, Indexer};
25pub use linker::{
26    backward_link, extract_packages, forward_link, match_symbol, CrossRepoEdge, LinkResult,
27    PendingRef, RegisteredPackage, SymbolMatch,
28};
29pub use manifest::{Dependency, ManifestResult, Workspace};
30pub use parser::{CodeParser, ParseResult};
31pub use resolver::{ReferenceResolver, ResolveResult, ResolvedEdge, UnresolvedRef};
32pub use scip::orchestrate::{OrchestrationResult, ScipLanguage, ScipOrchestrator};
33pub use spec_parser::{
34    parse_asyncapi, parse_openapi, scan_api_specs, AsyncApiParseResult, SpecChannel, SpecEndpoint,
35    SpecFileResult, SpecParseResult,
36};
37pub use symbol::{Reference, ReferenceKind, Symbol, SymbolKind, Visibility};