MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / visit_Call

Method visit_Call

src/sanitize.py:32–36  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

30 self.classname = "global"
31
32 def visit_Call(self, node):
33 if isinstance(node.func, ast.Name) and node.func.id == "input":
34 self.has_input = True
35
36 self.generic_visit(node)
37
38 def visit_FunctionDef(self, node):
39 self.func_names.append("{}@{}".format(node.name, self.classname))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected