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

Function parse

cranelift/isle/isle/src/parser.rs:10–13  ·  view source on GitHub ↗

Parse the top-level ISLE definitions and return their AST.

(lexer: Lexer)

Source from the content-addressed store, hash-verified

8
9/// Parse the top-level ISLE definitions and return their AST.
10pub fn parse(lexer: Lexer) -> Result<Vec<Def>> {
11 let parser = Parser::new(lexer);
12 parser.parse_defs()
13}
14
15/// Parse without positional information. Provided mainly to support testing, to
16/// enable equality testing on structure alone.

Callers 15

build_type_envFunction · 0.70
from_filesFunction · 0.70
create_envsFunction · 0.70
fromMethod · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls 2

parse_defsMethod · 0.80
newFunction · 0.50