solidity/test/libsolidity/ASTJSON/contract_dep_order.json

254 lines
5.0 KiB
JSON
Raw Normal View History

{
"absolutePath": "a",
"exportedSymbols":
{
"A":
[
1
],
"B":
[
2020-08-31 15:37:03 +00:00
5
],
"C":
[
2020-08-31 15:37:03 +00:00
9
],
"D":
[
2020-08-31 15:37:03 +00:00
13
],
"E":
[
2020-08-31 15:37:03 +00:00
17
]
},
2020-08-31 15:37:03 +00:00
"id": 18,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 1,
"linearizedBaseContracts":
[
1
],
"name": "A",
"nodeType": "ContractDefinition",
"nodes": [],
2020-08-31 15:37:03 +00:00
"scope": 18,
"src": "0:14:1"
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
2020-08-31 15:37:03 +00:00
"id": 3,
"nodeType": "UserDefinedTypeName",
2020-08-31 15:37:03 +00:00
"pathNode":
{
"id": 2,
"name": "A",
"nodeType": "IdentifierPath",
"referencedDeclaration": 1,
"src": "29:1:1"
},
"referencedDeclaration": 1,
"src": "29:1:1",
"typeDescriptions":
{
"typeIdentifier": "t_contract$_A_$1",
"typeString": "contract A"
}
},
2020-08-31 15:37:03 +00:00
"id": 4,
"nodeType": "InheritanceSpecifier",
"src": "29:1:1"
}
],
"contractDependencies":
[
1
],
"contractKind": "contract",
"fullyImplemented": true,
2020-08-31 15:37:03 +00:00
"id": 5,
"linearizedBaseContracts":
[
2020-08-31 15:37:03 +00:00
5,
1
],
"name": "B",
"nodeType": "ContractDefinition",
"nodes": [],
2020-08-31 15:37:03 +00:00
"scope": 18,
"src": "15:19:1"
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
2020-08-31 15:37:03 +00:00
"id": 7,
"nodeType": "UserDefinedTypeName",
2020-08-31 15:37:03 +00:00
"pathNode":
{
"id": 6,
"name": "B",
"nodeType": "IdentifierPath",
"referencedDeclaration": 5,
"src": "49:1:1"
},
"referencedDeclaration": 5,
"src": "49:1:1",
"typeDescriptions":
{
2020-08-31 15:37:03 +00:00
"typeIdentifier": "t_contract$_B_$5",
"typeString": "contract B"
}
},
2020-08-31 15:37:03 +00:00
"id": 8,
"nodeType": "InheritanceSpecifier",
"src": "49:1:1"
}
],
"contractDependencies":
[
1,
2020-08-31 15:37:03 +00:00
5
],
"contractKind": "contract",
"fullyImplemented": true,
2020-08-31 15:37:03 +00:00
"id": 9,
"linearizedBaseContracts":
[
2020-08-31 15:37:03 +00:00
9,
5,
1
],
"name": "C",
"nodeType": "ContractDefinition",
"nodes": [],
2020-08-31 15:37:03 +00:00
"scope": 18,
"src": "35:19:1"
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
2020-08-31 15:37:03 +00:00
"id": 11,
"nodeType": "UserDefinedTypeName",
2020-08-31 15:37:03 +00:00
"pathNode":
{
"id": 10,
"name": "C",
"nodeType": "IdentifierPath",
"referencedDeclaration": 9,
"src": "69:1:1"
},
"referencedDeclaration": 9,
"src": "69:1:1",
"typeDescriptions":
{
2020-08-31 15:37:03 +00:00
"typeIdentifier": "t_contract$_C_$9",
"typeString": "contract C"
}
},
2020-08-31 15:37:03 +00:00
"id": 12,
"nodeType": "InheritanceSpecifier",
"src": "69:1:1"
}
],
"contractDependencies":
[
1,
2020-08-31 15:37:03 +00:00
5,
9
],
"contractKind": "contract",
"fullyImplemented": true,
2020-08-31 15:37:03 +00:00
"id": 13,
"linearizedBaseContracts":
[
2020-08-31 15:37:03 +00:00
13,
9,
5,
1
],
"name": "D",
"nodeType": "ContractDefinition",
"nodes": [],
2020-08-31 15:37:03 +00:00
"scope": 18,
"src": "55:19:1"
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
{
"baseName":
{
2020-08-31 15:37:03 +00:00
"id": 15,
"nodeType": "UserDefinedTypeName",
2020-08-31 15:37:03 +00:00
"pathNode":
{
"id": 14,
"name": "D",
"nodeType": "IdentifierPath",
"referencedDeclaration": 13,
"src": "89:1:1"
},
"referencedDeclaration": 13,
"src": "89:1:1",
"typeDescriptions":
{
2020-08-31 15:37:03 +00:00
"typeIdentifier": "t_contract$_D_$13",
"typeString": "contract D"
}
},
2020-08-31 15:37:03 +00:00
"id": 16,
"nodeType": "InheritanceSpecifier",
"src": "89:1:1"
}
],
"contractDependencies":
[
1,
2020-08-31 15:37:03 +00:00
5,
9,
13
],
"contractKind": "contract",
"fullyImplemented": true,
2020-08-31 15:37:03 +00:00
"id": 17,
"linearizedBaseContracts":
[
2020-08-31 15:37:03 +00:00
17,
13,
2020-08-31 15:37:03 +00:00
9,
5,
1
],
"name": "E",
"nodeType": "ContractDefinition",
"nodes": [],
2020-08-31 15:37:03 +00:00
"scope": 18,
"src": "75:19:1"
}
],
"src": "0:95:1"
}