parse_symex

Function parse_symex 

Source
pub(super) fn parse_symex<'a, I>(
    rule: SymexSyllableRule,
    script_required: Script,
) -> impl Parser<'a, I, SymbolName, Full<Rich<'a, Token>, State<'a>, ()>> + Clone
where I: Input<'a, Token = Token, Span = SimpleSpan> + ValueInput<'a>,
Expand description

Parse a symex having the specified script, according to rule.

If the input doesn’t have the expected script, the parser fails.