perl-parser 0.16.0

Native Perl parser (v3) — recursive descent with Tree-sitter-compatible AST, semantic analysis, and LSP provider engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! 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::Diagnostic`]s describing each finding, with
//! severity, explanation, suggested fix, and documentation references.

mod detectors;
mod model;
mod utils;

pub use detectors::AntiPatternDetector;
pub use model::{AntiPattern, Diagnostic, Location, Severity};