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

Method visit_Expr

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

Source from the content-addressed store, hash-verified

165 return None
166
167 def visit_Expr(self, node):
168 self.generic_visit(node)
169 if type(node.value) == ast.Constant and isinstance(node.value.value, str):
170 return None
171 else:
172 return node
173
174 def run(self):
175 self.visit(self.root)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected