wagon_codegen/
nodes.rs

1/// This implements [`ToTokensState`] for [`Expression`](`wagon_parser::parser::expression::Expression`).
2///
3/// For most use-cases, calling this method will output rust code that properly evaluates
4/// to whatever final value the expression represents. 
5///
6/// If any new attributes occur in the
7/// expression, the provided `attr_fun` function (see [`ToTokensState`]) should register them with the state object.
8pub mod expression;
9mod disjunct;
10mod conjunct;
11mod inverse;
12mod comp;
13mod sum;
14mod term;
15mod factor;
16mod atom;
17
18use crate::ToTokensState;
19use std::rc::Rc;