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

Method parse_struct_fields

cranelift/isle/isle/src/parser.rs:335–342  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

333 }
334
335 fn parse_struct_fields(&mut self) -> Result<StructFields> {
336 let pos = self.pos();
337 let mut fields = vec![];
338 while !self.is_rparen() {
339 fields.push(self.parse_struct_field()?);
340 }
341 Ok(StructFields { fields, pos })
342 }
343
344 fn parse_struct_field(&mut self) -> Result<StructField> {
345 let pos = self.pos();

Callers 1

parse_fieldsMethod · 0.80

Calls 5

OkFunction · 0.85
is_rparenMethod · 0.80
parse_struct_fieldMethod · 0.80
posMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected