Function wordshk_tools::parse_partial_pr_clause [−][src]
pub fn parse_partial_pr_clause<'a>(
name: &'static str
) -> BoxedParser<'a, Clause, ()>
Expand description
Parse a partial pronunciation Clause, until the opening paren of Jyutping pronunciations
For the following pronunciation clause:
可唔可以見面? (ho2 m4 ho2 ji5 gin3 min6?)
This function will parse everything up until the ‘(’:
可唔可以見面?
// which parses to:
vec![vec![(Text, "可唔可以見面?".into())]]