Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_lparen
Method · 0.45
is_rparen
Method · 0.45
is_at
Method · 0.45
is_sym
Method · 0.45
is_int
Method · 0.45
is_const
Method · 0.45
is_spec_bit_vector
Method · 0.45
is_spec_bool
Method · 0.45
Calls
2
f
Function · 0.50
peek
Method · 0.45
Tested by
no test coverage detected