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

Method parse_defs

cranelift/isle/isle/src/parser.rs:171–177  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

169 }
170
171 fn parse_defs(mut self) -> Result<Vec<Def>> {
172 let mut defs = vec![];
173 while !self.lexer.eof() {
174 defs.push(self.parse_def()?);
175 }
176 Ok(defs)
177 }
178
179 fn parse_def(&mut self) -> Result<Def> {
180 self.expect_lparen()?;

Callers 2

parseFunction · 0.80
parse_without_posFunction · 0.80

Calls 4

OkFunction · 0.85
eofMethod · 0.80
parse_defMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected