solidity/test/libsolidity/ASTJSON/contract_dep_order.json

224 lines
4.3 KiB
JSON
Raw Permalink Normal View History

{
"absolutePath": "a",
"exportedSymbols":
{
"A":
[
1
],
"B":
[
4
],
"C":
[
7
],
"D":
[
10
],
"E":
[
13
]
},
"id": 14,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
2021-09-28 09:05:52 +00:00
"canonicalName": "A",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 1,
"linearizedBaseContracts":
[
1
],
"name": "A",
2021-02-10 17:40:05 +00:00
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
2021-04-15 07:59:59 +00:00
"src": "0:14:1",
"usedErrors": [],
"usedEvents": []
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 2,
"name": "A",
"nameLocations":
[
"29:1:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 1,
"src": "29:1:1"
},
"id": 3,
"nodeType": "InheritanceSpecifier",
"src": "29:1:1"
}
],
2021-09-28 09:05:52 +00:00
"canonicalName": "B",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 4,
"linearizedBaseContracts":
[
4,
1
],
"name": "B",
2021-02-10 17:40:05 +00:00
"nameLocation": "24:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
2021-04-15 07:59:59 +00:00
"src": "15:19:1",
"usedErrors": [],
"usedEvents": []
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 5,
"name": "B",
"nameLocations":
[
"49:1:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 4,
"src": "49:1:1"
},
"id": 6,
"nodeType": "InheritanceSpecifier",
"src": "49:1:1"
}
],
2021-09-28 09:05:52 +00:00
"canonicalName": "C",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 7,
"linearizedBaseContracts":
[
7,
4,
1
],
"name": "C",
2021-02-10 17:40:05 +00:00
"nameLocation": "44:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
2021-04-15 07:59:59 +00:00
"src": "35:19:1",
"usedErrors": [],
"usedEvents": []
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 8,
"name": "C",
"nameLocations":
[
"69:1:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 7,
"src": "69:1:1"
},
"id": 9,
"nodeType": "InheritanceSpecifier",
"src": "69:1:1"
}
],
2021-09-28 09:05:52 +00:00
"canonicalName": "D",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 10,
"linearizedBaseContracts":
[
10,
7,
4,
1
],
"name": "D",
2021-02-10 17:40:05 +00:00
"nameLocation": "64:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
2021-04-15 07:59:59 +00:00
"src": "55:19:1",
"usedErrors": [],
"usedEvents": []
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
"id": 11,
"name": "D",
"nameLocations":
[
"89:1:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 10,
"src": "89:1:1"
},
"id": 12,
"nodeType": "InheritanceSpecifier",
"src": "89:1:1"
}
],
2021-09-28 09:05:52 +00:00
"canonicalName": "E",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 13,
"linearizedBaseContracts":
[
13,
10,
7,
4,
1
],
"name": "E",
2021-02-10 17:40:05 +00:00
"nameLocation": "84:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
2021-04-15 07:59:59 +00:00
"src": "75:19:1",
"usedErrors": [],
"usedEvents": []
}
],
"src": "0:95:1"
}