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

Method run

src/sanitize.py:174–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

172 return node
173
174 def run(self):
175 self.visit(self.root)
176 placeholder = PlaceHolder()
177 self.root = placeholder.run(self.root)
178 ast.fix_missing_locations(self.root)
179 new_code = ast.unparse(self.root)
180 return new_code
181
182
183

Callers 1

runMethod · 0.95

Calls 2

runMethod · 0.95
PlaceHolderClass · 0.85

Tested by

no test coverage detected