Skip to main content

lean_rs_host/host/process/
mod.rs

1//! Bounded module-query projection capability on [`crate::LeanSession`].
2//!
3//! [`crate::LeanSession::process_module_query`] takes a full Lean source
4//! file plus a [`ModuleQuery`]. Lean parses the header, elaborates the
5//! body, performs the requested cursor/reference/diagnostic projection,
6//! and returns only that bounded result. Raw whole-file `InfoTree`
7//! projections do not cross the FFI boundary.
8
9mod query;
10
11pub use self::query::{
12    DeclarationTargetInfo, DeclarationTargetResult, DeclarationVerificationFacts, DeclarationVerificationOutcome,
13    DeclarationVerificationRequest, DeclarationVerificationStatus, DeclarationVerificationTarget, GoalAtResult,
14    LocalInfo, ModuleQuery, ModuleQueryBatchCachedOutcome, ModuleQueryBatchEnvelope, ModuleQueryBatchItem,
15    ModuleQueryBatchOutcome, ModuleQueryBatchResult, ModuleQueryCacheFacts, ModuleQueryCachePolicy,
16    ModuleQueryCacheStatus, ModuleQueryOutcome, ModuleQueryOutputBudgets, ModuleQueryResult, ModuleQuerySelector,
17    ModuleQueryTimings, ModuleSnapshotCacheClearResult, ModuleSourceSpan, NameRefNode, ProofAttemptEnvelope,
18    ProofAttemptOutcome, ProofAttemptRequest, ProofAttemptRow, ProofAttemptStatus, ProofCandidate, ProofEditTarget,
19    ProofPositionSelector, ProofPositionSummary, ProofStateInfo, ProofStateResult, ReferencesResult, RenderedInfo,
20    SorryPolicy, SurroundingDeclarationResult, TypeAtResult,
21};