Files
Zachary D. Rowitsch 95d8d9991d Break up js_parser parser.rs (4,416 lines) into modules
Split the monolithic parser.rs into a parser/ directory with focused modules:
- mod.rs (293 lines): Parser struct, utilities, helpers, parse_program
- statements.rs (548 lines): 16 statement-parsing methods
- expressions.rs (714 lines): 12 expression-parsing methods
- tests/mod.rs (17 lines): shared parse()/parse_err() helpers
- tests/statement_tests.rs (652 lines): 55 statement tests
- tests/expression_tests.rs (2,199 lines): 136 expression tests

Cross-module methods use pub(super) visibility: parse_statement,
parse_fn_params_and_body, and parse_assignment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 23:38:55 -05:00
..