(_filePath)
| 137 | } |
| 138 | |
| 139 | async function getAST(_filePath) { |
| 140 | await exec(`solc -o temp --ast-json ${_filePath}`, {maxBuffer: 1024 * 1000}); |
| 141 | return JSON.parse(fs.readFileSync(`./temp/${path.basename(_filePath)}_json.ast`, "utf8").toString()); |
| 142 | } |
| 143 | |
| 144 | async function flushTemp() { |
| 145 | await exec(`rm -rf temp`); |
no outgoing calls
no test coverage detected