Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
const fn mask(kind: TokenKind) -> u128 {
Callers
15
find_python_project_root
Function · 0.45
try_to_resolve_python_path
Function · 0.45
is_triple_quoted_fstring
Method · 0.45
quote_char
Method · 0.45
triple_quotes
Method · 0.45
is_in_excluded
Method · 0.45
is_starred_expression_allowed
Method · 0.45
is_yield_expression_allowed
Method · 0.45
starred_expression_precedence
Method · 0.45
at_ts
Method · 0.45
node_identifier_at_offset
Function · 0.45
find_attribute_name_at_offset
Function · 0.45
Calls
1
mask
Function · 0.85
Tested by
no test coverage detected