macro_rules! formula_internal {
    ([$e:ident $n:literal $($tail:tt)*] -> [$($output:tt)*]) => { ... };
    ([($i:literal)$e:ident $n:literal $($tail:tt)*] -> [$($output:tt)*]) => { ... };
    ([$e:ident $n:expr] -> [$($output:tt)*]) => { ... };
    ([($i:literal)$e:ident $n:expr] -> [$($output:tt)*]) => { ... };
    ([] -> [$($output:tt)*]) => { ... };
}
Expand description

Internal code for the molecular_formula macro.