MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / parse

Function parse

cranelift/reader/src/parser.rs:3691–3693  ·  view source on GitHub ↗

Helper for parsing run commands.

(text: &str, sig: &Signature)

Source from the content-addressed store, hash-verified

3689
3690 // Helper for parsing run commands.
3691 fn parse(text: &str, sig: &Signature) -> ParseResult<RunCommand> {
3692 Parser::new(text).parse_run_command(sig)
3693 }
3694
3695 // Check that we can parse and display the same set of run commands.
3696 fn assert_roundtrip(text: &str, sig: &Signature) {

Callers

nothing calls this directly

Calls 4

parse_run_commandMethod · 0.80
parse_data_valueMethod · 0.80
newFunction · 0.50
unwrapMethod · 0.45

Tested by

no test coverage detected