MCPcopy Index your code
hub / github.com/python/cpython / visit_Alt

Method visit_Alt

Tools/peg_generator/pegen/python_generator.py:63–64  ·  view source on GitHub ↗
(self, node: Alt)

Source from the content-addressed store, hash-verified

61 return any(self.visit(alt) for alt in node.alts)
62
63 def visit_Alt(self, node: Alt) -> bool:
64 return any(self.visit(item) for item in node.items)
65
66 def lookahead_call_helper(self, node: Lookahead) -> bool:
67 return self.visit(node.node)

Callers

nothing calls this directly

Calls 2

anyFunction · 0.50
visitMethod · 0.45

Tested by

no test coverage detected