Function recursive

Source
pub fn recursive(data_fn: impl Fn(&Weak<Grammar>) -> Rc<Grammar>) -> Rc<Grammar>
Available on crate feature grammar_mutator only.
Expand description

Creates a recursive grammar. This function should be combined with recurse to make recursive calls.

See the module documentation (super) for an example on how to use it.