MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / _visit_node

Method _visit_node

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

Source from the content-addressed store, hash-verified

783 bases: list = field(default_factory=list)
784
785 def _visit_node(self, context):
786 context.stack.push()
787
788 for idx, b in enumerate(self.body):
789 context.visit_child(
790 node=b,
791 replace=partial(self.__replace_body, idx=idx, visitor=context.visitor),
792 closure=self
793 )
794
795 context.stack.pop()
796
797 def __replace_body(self, value, idx, visitor):
798 visitor.modified = True

Callers

nothing calls this directly

Calls 3

visit_childMethod · 0.80
popMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected