1pub mod config;
20pub mod dependency;
21pub mod detector_result;
22pub mod edge;
23pub mod error;
24pub mod ids;
25pub mod ir;
26pub mod knowledge;
27pub mod snippet;
28pub mod symbol_snippet;
29
30#[cfg(any(test, feature = "test-helpers"))]
31pub mod test_helpers;
32
33pub use config::{BackupConfig, DetectionConfig, ScanConfig, ServerConfig};
34pub use dependency::{
35 DependencyDomain, PathAlias, classify_domain, is_python_stdlib_module,
36 matches_keyword_at_boundary, resolve_path_alias, top_level_module,
37};
38pub use detector_result::{
39 AnchorKind, CodeEvidence, ConventionFinding, DetectorResults, FindingKind,
40};
41pub use edge::{Edge, EdgeType};
42pub use error::{CoreError, ParseEnumError};
43pub use ids::{BranchId, EdgeId, NodeId};
44pub use ir::{
45 DependencyUsage, DeriveUsage, Export, Function, FunctionCall, Import, JavaScriptIR, Language,
46 LanguageIR, MacroCall, ModDeclaration, ModuleSystem, ProjectFile, PythonIR, RustIR, TraitImpl,
47 TypeDef, TypeDefKind, TypeScriptIR,
48};
49pub use knowledge::{KnowledgeNature, KnowledgeNode, KnowledgeWeight, Trend};
50pub use snippet::{CodeSnippet, MAX_SNIPPET_LINES, truncate_snippet, truncate_snippet_to};
51pub use symbol_snippet::{
52 MAX_DEFINITION_SNIPPET_LINES, export_definition_snippet, function_definition_snippet,
53 type_definition_snippet,
54};