solidity/test/libsolidity/ASTJSON/inheritance_specifier_legacy.json
2020-05-20 16:56:33 +05:30

102 lines
1.7 KiB
JSON

{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"C1":
[
1
],
"C2":
[
4
]
}
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
1
],
"name": "C1",
"nodes":
[
null
],
"scope": 5
},
"id": 1,
"name": "ContractDefinition",
"src": "0:14:1"
},
{
"attributes":
{
"abstract": false,
"contractDependencies":
[
1
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
4,
1
],
"name": "C2",
"nodes":
[
null
],
"scope": 5
},
"children":
[
{
"attributes": {},
"children":
[
{
"attributes":
{
"name": "C1",
"referencedDeclaration": 1,
"type": "contract C1"
},
"id": 2,
"name": "UserDefinedTypeName",
"src": "30:2:1"
}
],
"id": 3,
"name": "InheritanceSpecifier",
"src": "30:2:1"
}
],
"id": 4,
"name": "ContractDefinition",
"src": "15:20:1"
}
],
"id": 5,
"name": "SourceUnit",
"src": "0:36:1"
}