solidity/test/libsolidity/ASTJSON/inheritance_specifier_parseOnly.json

48 lines
953 B
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": [],
"src": "0:14:1"
},
{
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 2,
"name": "C1",
"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": [],
"src": "15:20:1"
}
],
"src": "0:36:1"
}