solidity/test/libsolidity/ASTJSON/inheritance_specifier_legacy.json
2020-10-13 14:32:11 +02:00

114 lines
2.0 KiB
JSON

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