1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//! Query module for symbol, reference, and call search operations.
//!
//! This module provides the core search functionality for llmgrep, including:
//!
//! - Symbol search with fuzzy matching and filtering
//! - Reference search (find incoming edges to symbols)
//! - Call search (find outgoing function calls from symbols)
//! - AST-based filtering by node kind
//! - Metrics-based filtering (complexity, fan-in, fan-out)
//! - Algorithm-based filtering (reachable, dead-code, cycles, etc.)
//!
//! # Search Options
//!
//! All search operations use `SearchOptions` to configure the query.
//! See the `SearchOptions` struct documentation for all available options.
//!
//! # Language Inference
//!
//! The `infer_language` function detects programming language from file extensions,
//! used for labeling symbols with their source language.
// Module declarations
pub
// Re-exports for backward compatibility
// Options
pub use ;
// Backend
pub use ;
// Chunks
pub use ;
// Search functions (public wrappers)
pub use search_calls;
pub use search_references;
pub use search_symbols;
// Internal implementations (pub(crate) for use within the crate)
pub use search_calls_impl;
pub use search_references_impl;
pub use search_symbols_impl;
// Utilities
pub use infer_language;
// Internal exports for tests
// Tests