MCPcopy Index your code
hub / github.com/numpy/numpy / ParseCall

Class ParseCall

numpy/tests/test_warnings.py:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14class ParseCall(ast.NodeVisitor):
15 def __init__(self):
16 self.ls = []
17
18 def visit_Attribute(self, node):
19 ast.NodeVisitor.generic_visit(self, node)
20 self.ls.append(node.attr)
21
22 def visit_Name(self, node):
23 self.ls.append(node.id)
24
25
26class FindFuncs(ast.NodeVisitor):

Callers 1

visit_CallMethod · 0.85

Calls

no outgoing calls

Tested by 1

visit_CallMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…