| 284 | }; |
| 285 | |
| 286 | Json generateStandardJson(bool _viaIr, Json const& _debugInfoSelection, Json const& _outputSelection, Code const& _code = SolidityCode(), bool _advancedOutputSelection = false) |
| 287 | { |
| 288 | Json result = _code.json(); |
| 289 | result["settings"] = Json::object(); |
| 290 | result["settings"]["viaIR"] = _viaIr; |
| 291 | if (!_debugInfoSelection.empty()) |
| 292 | result["settings"]["debug"]["debugInfo"] = _debugInfoSelection; |
| 293 | if (_advancedOutputSelection) |
| 294 | result["settings"]["outputSelection"] = _outputSelection; |
| 295 | else |
| 296 | result["settings"]["outputSelection"]["*"]["*"] = _outputSelection; |
| 297 | return result; |
| 298 | } |
| 299 | |
| 300 | Json generateExperimentalStandardJson(bool _viaIR, Json const& _debugInfoSelection, Json const& _outputSelection, Code const& _code = SolidityCode(), bool _advancedOutputSelection = false) |
| 301 | { |
no test coverage detected