Skip to main content

parse_notation_pattern

Function parse_notation_pattern 

Source
pub fn parse_notation_pattern(input: &str) -> Vec<NotationPart>
Expand description

Parse a notation pattern string into parts.

For example, lhs " + " rhs becomes: [Placeholder("lhs"), Literal(" + "), Placeholder("rhs")]