rott/rottlib/src/parser/grammar/declarations/mod.rs
dkanus 588790b9b4 Refactor everything
Huge dump of refactored code. Still in the middle of the changes that
are to be squashed later in a one huge monster commit, because there is
no value in anything atomic here.
2026-04-05 20:32:11 +07:00

12 lines
501 B
Rust

//! Declaration parsing for Fermented `UnrealScript`.
//!
//! Implements recursive-descent parsing for declaration-related grammar:
//! type specifiers, enum and struct definitions, `var(...)` prefixes,
//! and variable declarators.
mod enum_definition;
mod struct_definition;
mod type_specifier; // Type-specifier parsing (variable types).
mod var_specifiers; // `var(...)` editor specifiers and declaration-modifiers.
mod variable_declarators; // Comma-separated declarator lists (variable lists).