MCPcopy Create free account
hub / github.com/hashintel/hash / len

Method len

libs/@local/hashql/syntax-jexpr/src/lexer/syntax_kind_set.rs:26–28  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

24
25impl ExactSizeIterator for SyntaxKindSetIter {
26 fn len(&self) -> usize {
27 self.0.count_ones() as usize
28 }
29}
30
31/// A bitset representing a set of syntax kinds.

Callers 11

parse_commentFunction · 0.45
advanceMethod · 0.45
from_sliceMethod · 0.45
fmtMethod · 0.45
peek_fillMethod · 0.45
convert_parse_errorFunction · 0.45
parse_type_paren_tupleFunction · 0.45
parse_type_unionFunction · 0.45
parse_type_intersectionFunction · 0.45
parse_labelled_argumentFunction · 0.45
unknown_keyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected