llmcc_core/
lib.rs

1pub mod arena;
2pub mod block;
3pub mod block_rel;
4pub mod context;
5pub mod file;
6pub mod graph_builder;
7pub mod interner;
8pub mod ir;
9pub mod ir_builder;
10pub mod lang_def;
11pub mod pagerank;
12pub mod printer;
13pub mod query;
14pub mod symbol;
15pub mod trie;
16pub mod visit;
17
18pub type DynError = Box<dyn std::error::Error + Send + Sync>;
19
20pub use context::{CompileCtxt, CompileUnit};
21pub use graph_builder::{
22    build_llmcc_graph, build_llmcc_graph_with_config, BlockId, BlockRelation, GraphBuildConfig,
23    GraphNode, ProjectGraph, UnitGraph,
24};
25pub use ir::HirId;
26pub use ir_builder::build_llmcc_ir;
27pub use lang_def::LanguageTrait;
28pub use pagerank::{PageRankConfig, PageRanker, RankedBlock};
29pub use paste;
30pub use printer::{print_llmcc_graph, print_llmcc_ir};
31pub use query::{GraphBlockInfo, ProjectQuery, QueryResult};
32pub use tree_sitter::{Node, Parser, Point, Tree, TreeCursor};