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

Method kind_iter

crates/sith_python_parser/src/parser/mod.rs:1415–1421  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1413 }
1414
1415 fn kind_iter(self) -> impl Iterator<Item = RecoveryContextKind> {
1416 self.iter().map(|context| {
1417 context
1418 .to_kind()
1419 .expect("Expected context to be of a single kind.")
1420 })
1421 }
1422}

Calls 3

expectMethod · 0.80
iterMethod · 0.45
to_kindMethod · 0.45

Tested by

no test coverage detected