[][src]Function minitt::parser::choices_to_tree_map

pub fn choices_to_tree_map(the_rule: Pair<'a, Rule>) -> Branch
This example is not tested
choices = _{ "{" ~ (pattern_match ~ ("|" ~ pattern_match)*)? ~ "}" }
pattern_match = { constructor_name ~ maybe_pattern ~ "=>" ~ expression }