MCPcopy Index your code
hub / github.com/RustPython/RustPython / visit_Match

Method visit_Match

Lib/_ast_unparse.py:981–986  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

979 self.traverse(node.step)
980
981 def visit_Match(self, node):
982 self.fill("match ", allow_semicolon=False)
983 self.traverse(node.subject)
984 with self.block():
985 for case in node.cases:
986 self.traverse(case)
987
988 def visit_arg(self, node):
989 self.write(node.arg)

Callers

nothing calls this directly

Calls 3

fillMethod · 0.95
traverseMethod · 0.95
blockMethod · 0.95

Tested by

no test coverage detected