solidity/test/libsolidity/ASTJSON/assembly/empty_block_parseOnly.json

84 lines
2.0 KiB
JSON
Raw Normal View History

2020-07-08 20:08:50 +00:00
{
"absolutePath": "a",
"id": 7,
"nodeType": "SourceUnit",
"nodes":
[
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"id": 6,
"name": "C",
2021-02-10 17:40:05 +00:00
"nameLocation": "9:1:1",
2020-07-08 20:08:50 +00:00
"nodeType": "ContractDefinition",
"nodes":
[
{
"body":
{
"id": 4,
"nodeType": "Block",
"src": "42:31:1",
"statements":
[
{
"AST":
{
"nativeSrc": "61:6:1",
2020-07-08 20:08:50 +00:00
"nodeType": "YulBlock",
"src": "61:6:1",
"statements":
[
{
"nativeSrc": "63:2:1",
2020-07-08 20:08:50 +00:00
"nodeType": "YulBlock",
"src": "63:2:1",
"statements": []
}
]
},
"evmVersion": %EVMVERSION%,
"externalReferences": [],
"id": 3,
"nodeType": "InlineAssembly",
"src": "52:15:1"
}
]
},
"id": 5,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "g",
2021-02-10 17:40:05 +00:00
"nameLocation": "26:1:1",
2020-07-08 20:08:50 +00:00
"nodeType": "FunctionDefinition",
"parameters":
{
"id": 1,
"nodeType": "ParameterList",
"parameters": [],
"src": "27:2:1"
},
"returnParameters":
{
"id": 2,
"nodeType": "ParameterList",
"parameters": [],
"src": "42:0:1"
},
"src": "17:56:1",
"stateMutability": "view",
"virtual": false,
"visibility": "public"
}
],
2021-04-15 07:59:59 +00:00
"src": "0:75:1",
"usedErrors": [],
"usedEvents": []
2020-07-08 20:08:50 +00:00
}
],
"src": "0:76:1"
}