b2285ce0e0
Just's first parser performed both parsing, i.e the transformation of a token stream according to the language grammar, and a number of consistency checks and analysis passes. This made parsing and analysis quite complex, so this diff introduces a new, much cleaner `Parser`, and moves existing analysis into a dedicated `Analyzer`.
7 lines
155 B
Rust
7 lines
155 B
Rust
use crate::common::*;
|
|
|
|
pub(crate) struct RecipeContext<'a> {
|
|
pub(crate) config: &'a Config<'a>,
|
|
pub(crate) scope: BTreeMap<&'a str, (bool, String)>,
|
|
}
|