MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / contains

Method contains

crates/sith_python_parser/src/token_set.rs:28–30  ·  view source on GitHub ↗
(&self, kind: TokenKind)

Source from the content-addressed store, hash-verified

26 }
27
28 pub(crate) const fn contains(&self, kind: TokenKind) -> bool {
29 self.0 & mask(kind) != 0
30 }
31}
32
33const fn mask(kind: TokenKind) -> u128 {

Callers 15

find_python_project_rootFunction · 0.45
quote_charMethod · 0.45
triple_quotesMethod · 0.45
is_in_excludedMethod · 0.45
at_tsMethod · 0.45

Calls 1

maskFunction · 0.85

Tested by

no test coverage detected