Expand description
Anti-pattern detection for problematic Perl heredoc patterns (previously perl-heredoc-anti-patterns).
Anti-pattern detection for heredoc edge cases.
This module provides detection and analysis of problematic Perl patterns that make static parsing difficult or impossible, particularly around heredocs.
The crate::heredoc_anti_patterns::AntiPatternDetector scans Perl source
for seven categories of heredoc-related anti-patterns and produces
crate::heredoc_anti_patterns::Diagnostics describing each finding, with
severity, explanation, suggested fix, and documentation references.
Structs§
- Anti
Pattern Detector - Scans Perl source for heredoc-related anti-patterns and produces
Diagnostics. - Diagnostic
- A fully-formed diagnostic produced by the anti-pattern detector.
- Location
- Source location of a detected anti-pattern.
Enums§
- Anti
Pattern - A specific category of heredoc-related anti-pattern found in Perl source.
- Severity
- Diagnostic severity level for a detected anti-pattern.