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

Function parse_without_pos

cranelift/isle/isle/src/parser.rs:17–20  ·  view source on GitHub ↗

Parse without positional information. Provided mainly to support testing, to enable equality testing on structure alone.

(lexer: Lexer)

Source from the content-addressed store, hash-verified

15/// Parse without positional information. Provided mainly to support testing, to
16/// enable equality testing on structure alone.
17pub fn parse_without_pos(lexer: Lexer) -> Result<Vec<Def>> {
18 let parser = Parser::new_without_pos_tracking(lexer);
19 parser.parse_defs()
20}
21
22/// The ISLE parser.
23///

Callers 1

run_printFunction · 0.85

Calls 1

parse_defsMethod · 0.80

Tested by 1

run_printFunction · 0.68