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

Method _visit_node

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

Source from the content-addressed store, hash-verified

736 yield str(d.args[0])
737
738 def _visit_node(self, context):
739 context.stack[self.name] = self
740 context.call_graph.definitions[self.name] = self
741 context.stack.push()
742
743 context.visit_child(
744 node=self.args,
745 replace=partial(self.__replace_args, visitor=context.visitor),
746 closure=self
747 )
748
749 for idx, dec, in enumerate(self.decorator_list):
750 context.visit_child(
751 node=dec,
752 replace=partial(
753 self.__replace_decorator, idx=idx, visitor=context.visitor
754 ),
755 )
756
757 for idx, b in enumerate(self.body):
758 context.visit_child(
759 node=b,
760 replace=partial(self.__replace_body, idx=idx, visitor=context.visitor),
761 closure=self
762 )
763
764 context.stack.pop()
765
766 def __replace_args(self, value, visitor):
767 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