Skip to main content

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 [`AntiPatternDetector`] scans Perl source for seven categories of
7//! heredoc-related anti-patterns and produces [`Diagnostic`]s describing each
8//! finding, with severity, explanation, suggested fix, and documentation
9//! references.
10
11mod detectors;
12mod model;
13mod utils;
14
15pub use detectors::AntiPatternDetector;
16pub use model::{AntiPattern, Diagnostic, Location, Severity};