perl_parser/heredoc_anti_patterns/mod.rs
1//! Anti-pattern detection for heredoc edge cases.
2//!
3//! This module provides detection and analysis of problematic Perl patterns
4//! that make static parsing difficult or impossible, particularly around heredocs.
5//!
6//! The [`crate::heredoc_anti_patterns::AntiPatternDetector`] scans Perl source
7//! for seven categories of heredoc-related anti-patterns and produces
8//! [`crate::heredoc_anti_patterns::Diagnostic`]s describing each finding, with
9//! severity, explanation, suggested fix, and documentation references.
10
11mod detectors;
12mod model;
13mod utils;
14
15pub use detectors::AntiPatternDetector;
16pub use model::{AntiPattern, Diagnostic, Location, Severity};