1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! TypeScript/JavaScript source code analysis
//!
//! This module provides comprehensive analysis of JavaScript and TypeScript source code,
//! including:
//!
//! - Function complexity metrics (cyclomatic, cognitive)
//! - Technical debt detection
//! - Pattern recognition (async/await, promises, callbacks, functional)
//! - Dependency extraction (imports, exports, require)
//!
//! # Example
//!
//! ```ignore
//! use debtmap::analyzers::typescript::TypeScriptAnalyzer;
//! use debtmap::analyzers::Analyzer;
//!
//! let analyzer = TypeScriptAnalyzer::new();
//! let ast = analyzer.parse(source_code, path)?;
//! let metrics = analyzer.analyze(&ast);
//! ```
// Re-export main types
pub use TypeScriptAnalyzer;
pub use analyze_typescript_file;
pub use ;