MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / traverse

Method traverse

tools/python-3.11.9-amd64/Lib/ast.py:804–809  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

802 return f" # type: {comment}"
803
804 def traverse(self, node):
805 if isinstance(node, list):
806 for item in node:
807 self.traverse(item)
808 else:
809 super().visit(node)
810
811 # Note: as visit() resets the output text, do NOT rely on
812 # NodeVisitor.generic_visit to handle any nodes (as it calls back in to

Callers 15

visitMethod · 0.95
visit_FunctionTypeMethod · 0.95
visit_ExprMethod · 0.95
visit_NamedExprMethod · 0.95
visit_AssignMethod · 0.95
visit_AugAssignMethod · 0.95
visit_AnnAssignMethod · 0.95
visit_ReturnMethod · 0.95
visit_AssertMethod · 0.95
visit_AwaitMethod · 0.95
visit_YieldMethod · 0.95

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected