1pub mod block;
2pub mod block_rel;
3pub mod bump;
4pub mod context;
5pub mod file;
6pub mod graph;
7pub mod graph_builder;
8pub mod interner;
9pub mod ir;
10pub mod ir_builder;
11#[macro_use]
12pub mod lang_def;
13pub mod lang_registry;
14pub mod meta;
15pub mod pagerank;
16pub mod printer;
17pub mod query;
18pub mod scope;
19pub mod symbol;
20pub mod visit;
21
22pub type DynError = Box<dyn std::error::Error + Send + Sync>;
23
24pub use context::{CompileCtxt, CompileUnit, FileOrder};
25pub use graph::{ProjectGraph, UnitGraph, UnitNode};
26pub use graph_builder::{BlockId, BlockRelation, GraphBuildConfig, build_llmcc_graph};
27pub use ir::HirId;
28pub use ir_builder::{
29 IrBuildOption, build_llmcc_ir, build_llmcc_ir_inner, get_ir_build_cpu_time_ms, next_hir_id,
30 reset_ir_build_counters,
31};
32pub use lang_def::{ChildWithFieldId, LanguageTrait, LanguageTraitImpl};
33pub use lang_registry::{LanguageHandler, LanguageHandlerImpl, LanguageRegistry};
34pub use meta::{ArchDepth, UnitMeta, UnitMetaBuilder};
35pub use paste;
36pub use printer::{PrintConfig, PrintFormat, print_llmcc_graph, print_llmcc_ir, render_llmcc_ir};
37pub use symbol::{ScopeId, SymId};
40pub use tree_sitter::{Node, Parser, Point, Tree, TreeCursor};