Skip to main content

meta_ast/
lib.rs

1pub mod error;
2pub mod extractor;
3pub mod graph;
4pub mod input;
5pub mod interface;
6pub mod language;
7pub mod model;
8pub mod output;
9pub mod parser;
10pub mod pipeline;
11
12#[cfg(feature = "watch")]
13pub mod watch;
14
15#[cfg(feature = "metacall-deploy")]
16pub mod deploy;
17
18#[cfg(feature = "dataflow")]
19pub mod sink;
20
21pub use error::{Diagnostic, Error, Severity};
22pub use input::detect_language;
23pub use language::{LangId, LanguageSpec};
24pub use model::{
25    DataNode, DataNodeId, DataScope, FileExtraction, FlowEdge, FlowKind, Symbol, SymbolId,
26    SymbolKind, UnresolvedImport, UnresolvedReference, Visibility,
27};
28
29// Graph module re-exports
30pub use graph::{
31    CodeGraph,
32    builder::GraphBuilder,
33    edge::{EdgeData, EdgeKind},
34    node::{ExternalNode, FileNode, NodeData, SymbolNode},
35    resolver::FlattenedScopeCache,
36    scc::{DeployabilityHint, Scc, SccAnalysis},
37};
38
39// Pipeline re-exports
40pub use pipeline::{GraphAnalysis, SnapshotMeta, snapshot_meta};
41
42// Watch-mode re-exports
43#[cfg(feature = "watch")]
44pub use watch::{ChangeSet, WatchConfig, WatchState, incremental_reanalyze, run_watch};