[−][src]Trait tracery::Flatten
A trait for types that can be flattened into an output string
Required methods
fn flatten(
&self,
grammar: &Grammar,
overrides: &mut BTreeMap<String, String>
) -> Result<String>
&self,
grammar: &Grammar,
overrides: &mut BTreeMap<String, String>
) -> Result<String>
Given a grammar and a set of overriden rules (from actions), produces a single "flattened" output string or an error