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
41
42
43
44
//! Code Analyzer - Comprehensive code analysis for JSXBIN files
//!
//! This crate provides:
//! - Dependency detection (#include, require, import)
//! - String extraction and categorization
//! - Adobe API usage detection
//! - Security vulnerability scanning
//! - Function call graph building
//!
//! # Example
//!
//! ```ignore
//! use jsxbin_analyzer::{DependencyDetector, ApiDetector, SecurityScanner};
//! use jsxbin_parser::Token;
//!
//! let tokens = vec![Token::StringLiteral("hello".to_string())];
//!
//! // Analyze dependencies
//! let detector = DependencyDetector::new()?;
//! let deps = detector.extract_from_tokens(&tokens);
//!
//! // Analyze APIs
//! let apis = ApiDetector::extract_from_tokens(&tokens);
//!
//! // Scan for security issues
//! let scanner = SecurityScanner::new();
//! let issues = scanner.scan_tokens(&tokens);
//! ```
pub use ApiDetector;
pub use DependencyDetector;
pub use ;
pub use GraphBuilder;
pub use SecurityScanner;
pub use StringExtractor;
pub use *;