MCPcopy 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_declarationMethod · 0.80
visit_stmtMethod · 0.80
visit_parametersMethod · 0.80
visit_exprMethod · 0.80
remove_flagMethod · 0.80
expression.rsFile · 0.80
newMethod · 0.80
closeMethod · 0.80
pop_response_taskMethod · 0.80

Calls 2

TokenSetClass · 0.85
maskFunction · 0.85

Tested by 1