MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / SequenceItem

Class SequenceItem

pre_commit/yaml_rewrite.py:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38class SequenceItem(NamedTuple):
39 def match(self, n: Node) -> Generator[Node]:
40 if isinstance(n, SequenceNode):
41 yield from n.value
42
43
44def _match(gen: Iterable[Node], m: _Matcher) -> Iterable[Node]:

Callers 4

_migrate_composedFunction · 0.90
test_sequence_itemFunction · 0.90

Calls

no outgoing calls