Skip to main content

Crate meta_ast

Crate meta_ast 

Source
Expand description

Polyglot static analysis: symbol extraction and cross-language dependency graphs from nine source languages, with optional MetaCall deployment manifests and dataflow extraction.

Re-exports§

pub use cache::ExtractionCache;
pub use cache::Fingerprint;
pub use cache::fingerprint;
pub use error::Diagnostic;
pub use error::Error;
pub use error::Severity;
pub use extractor::ExtractOptions;
pub use extractor::ExtractionIdGenerators;
pub use extractor::ExtractionResult;
pub use extractor::InMemorySource;
pub use extractor::VersionedExtraction;
pub use extractor::extract_text_with_id_gen;
pub use extractor::extract_with_id_gen;
pub use input::detect_language;
pub use language::LangId;
pub use language::LanguageSpec;
pub use model::DataNode;
pub use model::DataNodeId;
pub use model::DataScope;
pub use model::FileExtraction;
pub use model::FlowEdge;
pub use model::FlowKind;
pub use model::Symbol;
pub use model::SymbolId;
pub use model::SymbolKind;
pub use model::UnresolvedImport;
pub use model::UnresolvedReference;
pub use model::Visibility;
pub use reanalyze::ChangeSet;
pub use reanalyze::Overlay;
pub use reanalyze::WatchState;
pub use reanalyze::incremental_reanalyze;
pub use reanalyze::reanalyze_extractions;
pub use graph::CodeGraph;
pub use graph::builder::AnalysisParts;
pub use graph::builder::GraphBuilder;
pub use graph::edge::ConfidenceTier;
pub use graph::edge::EdgeData;
pub use graph::edge::EdgeKind;
pub use graph::edge::confidence_tier;
pub use graph::node::ExternalNode;
pub use graph::node::FileNode;
pub use graph::node::NodeData;
pub use graph::node::SymbolNode;
pub use graph::resolver::FlattenedScopeCache;
pub use graph::resolver::ResolvedReference;
pub use graph::resolver::ScopeMap;
pub use graph::resolver::reference_edges;
pub use graph::resolver::resolve_references_detailed;
pub use graph::scc::DeployabilityHint;
pub use graph::scc::Scc;
pub use graph::scc::SccAnalysis;
pub use output::shard::INDEX_DIR_NAME;
pub use output::shard::IndexLoadOptions;
pub use output::shard::IndexLoadStats;
pub use output::shard::LoadedIndex;
pub use output::shard::LoadedShard;
pub use output::shard::SHARD_SCHEMA_VERSION;
pub use output::shard::ShardEdge;
pub use output::shard::ShardEdgeKind;
pub use output::shard::ShardError;
pub use output::shard::ShardFile;
pub use output::shard::ShardFlowKind;
pub use output::shard::ShardHeader;
pub use output::shard::ShardManifestRecord;
pub use output::shard::ShardNamePlan;
pub use output::shard::ShardSymbol;
pub use output::shard::collision_key;
pub use output::shard::is_safe_shard_name;
pub use output::shard::is_writable_name;
pub use output::shard::load_index;
pub use output::shard::plan_shard_file_names;
pub use output::shard::read_header;
pub use output::shard::read_manifest;
pub use output::shard::read_shard;
pub use output::shard::restore_shard_edges;
pub use output::shard::write_header;
pub use output::shard::write_manifest;
pub use output::shard::write_shard;
pub use pipeline::GraphAnalysis;
pub use pipeline::SnapshotMeta;
pub use pipeline::snapshot_meta;

Modules§

cache
Extraction cache and BLAKE3 content fingerprinting.
error
extractor
Parallel file extraction orchestration.
graph
Dependency graph module for cross-file and symbol-level analysis.
input
File discovery and language detection.
interface
language
Language system: compile-time enum dispatch over 9 language packs.
model
Canonical symbol model and IR types.
output
parser
Tree-sitter parser lifecycle and parse quality metrics.
pipeline
reanalyze
Incremental re-analysis with buffer overlays.