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

Method is

cranelift/isle/isle/src/parser.rs:84–90  ·  view source on GitHub ↗
(&self, f: F)

Source from the content-addressed store, hash-verified

82 }
83
84 fn is<F: Fn(&Token) -> bool>(&self, f: F) -> bool {
85 if let Some((_, peek)) = self.lexer.peek() {
86 f(peek)
87 } else {
88 false
89 }
90 }
91
92 fn pos(&self) -> Pos {
93 if !self.disable_pos {

Callers 8

is_lparenMethod · 0.45
is_rparenMethod · 0.45
is_atMethod · 0.45
is_symMethod · 0.45
is_intMethod · 0.45
is_constMethod · 0.45
is_spec_bit_vectorMethod · 0.45
is_spec_boolMethod · 0.45

Calls 2

fFunction · 0.50
peekMethod · 0.45

Tested by

no test coverage detected