solidity/test/libsolidity/ASTJSON/inheritance_specifier_parseOnly.json

54 lines
1.1 KiB
JSON
Raw Normal View History

2020-07-08 20:08:50 +00:00
{
"absolutePath": "a",
"id": 5,
"nodeType": "SourceUnit",
"nodes":
[
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"id": 1,
"name": "C1",
2021-02-10 17:40:05 +00:00
"nameLocation": "9:2:1",
2020-07-08 20:08:50 +00:00
"nodeType": "ContractDefinition",
"nodes": [],
2021-04-15 07:59:59 +00:00
"src": "0:14:1",
"usedErrors": []
2020-07-08 20:08:50 +00:00
},
{
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 2,
"name": "C1",
"nameLocations":
[
"30:2:1"
],
"nodeType": "IdentifierPath",
"src": "30:2:1"
2020-07-08 20:08:50 +00:00
},
"id": 3,
"nodeType": "InheritanceSpecifier",
"src": "30:2:1"
}
],
"contractDependencies": [],
"contractKind": "contract",
"id": 4,
"name": "C2",
2021-02-10 17:40:05 +00:00
"nameLocation": "24:2:1",
2020-07-08 20:08:50 +00:00
"nodeType": "ContractDefinition",
"nodes": [],
2021-04-15 07:59:59 +00:00
"src": "15:20:1",
"usedErrors": []
2020-07-08 20:08:50 +00:00
}
],
"src": "0:36:1"
}