solidity/test/libsolidity/ASTJSON/inheritance_specifier.json

76 lines
1.3 KiB
JSON
Raw Normal View History

2018-08-03 17:41:35 +00:00
{
"absolutePath": "a",
"exportedSymbols":
{
"C1":
[
1
],
"C2":
[
4
]
},
"id": 5,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 1,
"linearizedBaseContracts":
[
1
],
"name": "C1",
2021-02-10 17:40:05 +00:00
"nameLocation": "9:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5,
"src": "0:14:1"
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 2,
"name": "C1",
"nodeType": "IdentifierPath",
"referencedDeclaration": 1,
"src": "30:2:1"
},
"id": 3,
"nodeType": "InheritanceSpecifier",
"src": "30:2:1"
}
],
"contractDependencies":
[
1
],
"contractKind": "contract",
"fullyImplemented": true,
"id": 4,
"linearizedBaseContracts":
[
4,
1
],
"name": "C2",
2021-02-10 17:40:05 +00:00
"nameLocation": "24:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5,
"src": "15:20:1"
}
],
"src": "0:36:1"
2018-08-03 17:41:35 +00:00
}