pub fn parse_run_command<'a>(
    text: &str,
    signature: &Signature
) -> ParseResult<Option<RunCommand>>
Expand description

Parse a CLIF comment text as a run command.

Return:

  • Ok(None) if the comment is not intended to be a RunCommand (i.e. does not start with run or print
  • Ok(Some(command)) if the comment is intended as a RunCommand and can be parsed to one
  • Err otherwise.