neural_complexity/
lib.rs

1//! # Neural Complexity - Code Complexity Analyzer
2//!
3//! Analyzes code complexity metrics including cyclomatic and cognitive complexity.
4//!
5//! Part of the Neural Garage toolkit.
6
7pub mod analyzer;
8
9// Re-export shared types
10pub use neural_shared::{Language, Parser, ParsedFile, Scanner, Symbol, SymbolKind};
11
12// Complexity-specific exports
13pub use analyzer::{ComplexityAnalyzer, ComplexityMetrics};
14
15/// Result type
16pub type Result<T> = anyhow::Result<T>;
17
18/// Version information
19pub const VERSION: &str = env!("CARGO_PKG_VERSION");