Skip to main content

parsecmd

Function parsecmd 

Source
pub fn parsecmd(cmd: &str, eptr: Option<&mut usize>) -> Option<eprog>
Expand description

Lex a <(...)/>(...)/=(...) body — the leading 2 chars are the marker pair (Inang+Inpar, Outang+Inpar, Equals+Inpar), remainder is the command up to the matching Outpar. Returns the parsed Eprog (and writes the post-) cursor through eptr).