Since the term parse
is ambiguous in a project that parses both rust & fluent files, this makes things much clearer. Many of the functions also had the match_
prefix stripped as it was unhelpful boilerplate.
D652S2N3MHR7NJWSJIT7DUH5TPEFF6YII7EGV4C7IYWARXLMGAWQC
fn match_variant<'resource>(variant: &Variant<&'resource str>) -> syn::Arm {
let base_pattern = match_pattern(&variant.key);
let body = match_fluent_pattern(&variant.value);
fn variant<'resource>(variant: &Variant<&'resource str>) -> syn::Arm {
let base_pattern = variant_key(&variant.key);
let body = pattern(&variant.value);