1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//! Windjammer Parser
//!
//! This module contains the parser for the Windjammer programming language.
//! The parser is organized into several submodules for better maintainability:
//!
//! - `ast`: Abstract Syntax Tree type definitions
//! - `core`: Core parser struct and methods
//!
//! Expression parsing is split across `binary_expression_parser`, `call_expression_parser`,
//! `compound_primary_expression_parser`, `primary_expression_parser`, plus
//! `interpolated_string_expression_parser` and `match_value_expression_parser`.
// AST module - extracted from parser_impl.rs
// Type parsing module - extracted from parser_impl.rs
// Pattern parsing module - extracted from parser_impl.rs
// Expression parsing (split across submodules; all extend `impl Parser`)
// Statement parsing module - extracted from parser_impl.rs
// Item sub-parsers (split from item_parser for maintainability)
// Item parsing module - extracted from parser_impl.rs
// Re-export AST types for convenience
pub use *;
// Re-export everything else from parser_impl for now to maintain backward compatibility
pub use crateParseWarning;
pub use crateParser;
// TODO: Uncomment these as we create the modules
// pub mod core;
// pub mod helpers;