Skip to main content

perl_parser_core/engine/
mod.rs

1//! Parser engine components and supporting utilities.
2
3/// Abstract Syntax Tree (AST) definitions for Perl parsing.
4pub mod ast;
5/// Edit tracking for incremental parsing (internal module, previously `perl-edit`).
6pub use crate::syntax::edit;
7/// Experimental second-generation AST (work in progress).
8pub use perl_ast_v2 as ast_v2;
9/// Error types and recovery strategies for parser failures.
10pub mod error;
11/// Heredoc content collector with FIFO ordering and indent stripping (internal module, previously `perl-heredoc`).
12pub use crate::syntax::heredoc as heredoc_collector;
13/// Core parser implementation for Perl source.
14pub mod parser;
15/// Parser context with error recovery support.
16pub mod parser_context;
17/// Position tracking types and UTF-16 mapping utilities.
18pub mod position;
19/// Parser for Perl quote and quote-like operators (internal module, previously `perl-quote`).
20pub use crate::syntax::quote as quote_parser;
21/// Pragma tracking for `use` and related directives.
22pub use perl_pragma as pragma_tracker;
23/// Parser utilities and helpers.
24pub use perl_regex as regex_validator;