MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / _visit_node

Method _visit_node

aura/analyzers/python/nodes.py:299–305  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

297 body: typing.List[NodeType, ...]
298
299 def _visit_node(self, context: Context):
300 for idx, x in enumerate(self.body):
301 context.visit_child(
302 node = x,
303 replace = partial(self.__replace_body, idx=idx, visitor=context.visitor),
304 closure = self
305 )
306
307 def __replace_body(self, value: NodeType, idx: int, visitor):
308 self.body[idx] = value

Callers

nothing calls this directly

Calls 1

visit_childMethod · 0.80

Tested by

no test coverage detected