Function cranelift_reader::parse_run_command
source ยท pub fn parse_run_command(
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 aRunCommand(i.e. does not start withrunorprintOk(Some(command))if the comment is intended as aRunCommandand can be parsed to oneErrotherwise.