Expand description
AGCodex AST Module - Tree-sitter based code intelligence
This crate provides comprehensive AST parsing, analysis, and compaction for 50+ programming languages using tree-sitter.
Re-exports§
pub use compactor::AstCompactor;
pub use compactor::CompressionLevel;
pub use error::AstError;
pub use error::AstResult;
pub use language_registry::Language;
pub use language_registry::LanguageRegistry;
pub use parser_cache::ParserCache;
pub use semantic_index::SemanticIndex;
pub use semantic_index::Symbol;
pub use semantic_index::SymbolKind;
pub use types::AstNode;
pub use types::AstNodeKind;
pub use types::ParsedAst;
pub use types::SourceLocation;
Modules§
- compactor
- AI Distiller-style code compaction for 70-95% compression
- error
- Error types for AST operations
- language_
registry - Language detection and parser management for programming languages.
- parser_
cache - LRU cache for parsed ASTs with size-based eviction
- semantic_
index - Semantic indexing for symbols, relationships, and call graphs
- types
- Core types for AST operations
Structs§
- AstEngine
- Main AST engine for AGCodex