Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LaBatata101/sith-language-server
/ remove
Method
remove
crates/sith_python_parser/src/token_set.rs:24–26 ·
view source on GitHub ↗
(self, kind: TokenKind)
Source
from the content-addressed store, hash-verified
22
}
23
24
pub(crate) const fn remove(self, kind: TokenKind) -> TokenSet {
25
TokenSet(self.0 & !mask(kind))
26
}
27
28
pub(crate) const fn contains(&self, kind: TokenKind) -> bool {
29
self.0 & mask(kind) != 0
Callers
11
push_declaration
Method · 0.80
visit_stmt
Method · 0.80
visit_parameters
Method · 0.80
visit_expr
Method · 0.80
remove_flag
Method · 0.80
token_set_works_for_tokens
Function · 0.80
expression.rs
File · 0.80
new
Method · 0.80
close_workspace_folder
Method · 0.80
close
Method · 0.80
pop_response_task
Method · 0.80
Calls
2
TokenSet
Class · 0.85
mask
Function · 0.85
Tested by
1
token_set_works_for_tokens
Function · 0.64