Crate codeprism_core

Source
Expand description

CodePrism - Incremental Polyglot Parser and Graph Builder

This crate provides the core functionality for parsing source code across multiple languages, building a universal AST, and maintaining a graph of code relationships.

Re-exports§

pub use ast::Edge;
pub use ast::EdgeKind;
pub use ast::Language;
pub use ast::Node;
pub use ast::NodeId;
pub use ast::NodeKind;
pub use ast::Span;
pub use content::search::ContentSearchManager;
pub use content::search::SearchQueryBuilder;
pub use content::CommentContext;
pub use content::ConfigFormat;
pub use content::ContentChunk;
pub use content::ContentNode;
pub use content::ContentStats;
pub use content::ContentType;
pub use content::DocumentFormat;
pub use content::SearchQuery;
pub use content::SearchResult;
pub use error::Error;
pub use error::ErrorContext;
pub use error::ErrorSeverity;
pub use error::RecoveryStrategy;
pub use error::Result;
pub use graph::DynamicAttribute;
pub use graph::GraphQuery;
pub use graph::GraphStore;
pub use graph::InheritanceFilter;
pub use graph::InheritanceInfo;
pub use graph::InheritanceRelation;
pub use graph::PathResult;
pub use graph::SymbolInfo;
pub use indexer::BulkIndexer;
pub use indexer::IndexingConfig;
pub use indexer::IndexingProgressReporter;
pub use indexer::IndexingResult;
pub use indexer::IndexingStats;
pub use indexer::MemoryStats;
pub use linkers::Linker;
pub use linkers::RestLinker;
pub use linkers::SqlLinker;
pub use linkers::SymbolResolver;
pub use observability::ComponentHealth;
pub use observability::HealthCheckResult;
pub use observability::HealthMonitor;
pub use observability::HealthStatus as ObservabilityHealthStatus;
pub use observability::MetricsCollector;
pub use observability::MetricsSnapshot;
pub use observability::OperationMetrics;
pub use observability::OperationPerformance;
pub use observability::PerformanceMonitor;
pub use parser::LanguageParser;
pub use parser::LanguageRegistry;
pub use parser::ParseContext;
pub use parser::ParseResult;
pub use parser::ParserEngine;
pub use patch::AstPatch;
pub use patch::PatchBuilder;
pub use pipeline::LoggingEventHandler;
pub use pipeline::MonitoringPipeline;
pub use pipeline::NoOpEventHandler;
pub use pipeline::PipelineConfig;
pub use pipeline::PipelineEvent;
pub use pipeline::PipelineEventHandler;
pub use pipeline::PipelineStats;
pub use repository::HealthStatus;
pub use repository::RepositoryConfig;
pub use repository::RepositoryInfo;
pub use repository::RepositoryManager;
pub use resilience::CircuitBreaker;
pub use resilience::CircuitState;
pub use resilience::ResilienceManager;
pub use resilience::RetryConfig;
pub use scanner::DependencyMode;
pub use scanner::DiscoveredFile;
pub use scanner::NoOpProgressReporter;
pub use scanner::ProgressReporter;
pub use scanner::RepositoryScanner;
pub use scanner::ScanResult;

Modules§

ast
Universal Abstract Syntax Tree (U-AST) types
content
Content search and indexing infrastructure
error
Error handling for the codeprism library
graph
Graph storage and query engine for code intelligence
indexer
Bulk indexing engine for parallel file processing and graph building
linkers
Cross-language linkers for detecting relationships between different languages
observability
Observability and monitoring for CodePrism
parser
Parser engine for incremental parsing
patch
AST patch generation and application
pipeline
File monitoring pipeline for real-time graph updates
prelude
Re-export commonly used types
repository
Repository manager for orchestrating scanning and indexing operations
resilience
Resilience and error recovery mechanisms
scanner
Repository scanner for discovering and filtering source files

Structs§

ChangeEvent
File change event
FileWatcher
File system watcher

Enums§

ChangeKind
Type of file change