ass_core/parser/main/mod.rs
1//! Main parser coordination and dispatch logic
2//!
3//! Contains the core `Parser` struct that orchestrates parsing of different
4//! ASS script sections and handles error recovery.
5
6mod helpers;
7mod parse;
8mod registry;
9mod section;
10mod state;
11
12#[cfg(test)]
13mod tests_basic;
14#[cfg(test)]
15mod tests_edge;
16#[cfg(test)]
17mod tests_errors;
18#[cfg(test)]
19mod tests_recovery;
20
21pub(super) use state::Parser;
22
23#[cfg(test)]
24use crate::{parser::errors::IssueSeverity, ScriptVersion};
25#[cfg(test)]
26use alloc::{format, string::String};