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

Method error

cranelift/isle/isle/src/parser.rs:55–60  ·  view source on GitHub ↗
(&self, pos: Pos, msg: String)

Source from the content-addressed store, hash-verified

53 }
54
55 fn error(&self, pos: Pos, msg: String) -> Error {
56 Error::ParseError {
57 msg,
58 span: Span::new_single(pos),
59 }
60 }
61
62 fn expect<F: Fn(&Token) -> bool>(&mut self, f: F) -> Result<Token> {
63 if let Some(&(pos, ref peek)) = self.lexer.peek() {

Callers 15

expectMethod · 0.45
parse_defMethod · 0.45
str_to_identMethod · 0.45
parse_constMethod · 0.45
parse_pragmaMethod · 0.45
parse_typeMethod · 0.45
parse_typevalueMethod · 0.45
parse_specMethod · 0.45
parse_spec_exprMethod · 0.45
parse_spec_opMethod · 0.45
parse_spec_bit_vectorMethod · 0.45
parse_spec_boolMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected