solidity/test/libsolidity/ASTJSON/two_base_functions_legacy.json

371 lines
7.7 KiB
JSON
Raw Normal View History

2019-12-05 02:29:56 +00:00
{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"A":
[
5
],
"B":
[
10
],
"C":
[
22
2019-12-05 02:29:56 +00:00
]
2020-04-27 08:28:54 +00:00
}
2019-12-05 02:29:56 +00:00
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
5
],
"name": "A",
"scope": 23
2019-12-05 02:29:56 +00:00
},
"children":
[
{
"attributes":
{
"functionSelector": "26121ff0",
2019-12-05 02:29:56 +00:00
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
"scope": 5,
"stateMutability": "nonpayable",
"virtual": true,
2019-12-05 02:29:56 +00:00
"visibility": "public"
},
"children":
[
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 1,
"name": "ParameterList",
"src": "27:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 2,
"name": "ParameterList",
"src": "45:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 3,
"name": "Block",
"src": "45:2:1"
}
],
"id": 4,
"name": "FunctionDefinition",
"src": "17:30:1"
}
],
"id": 5,
"name": "ContractDefinition",
"src": "0:49:1"
},
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
10
],
"name": "B",
"scope": 23
2019-12-05 02:29:56 +00:00
},
"children":
[
{
"attributes":
{
"functionSelector": "26121ff0",
2019-12-05 02:29:56 +00:00
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
"scope": 10,
"stateMutability": "nonpayable",
"virtual": true,
2019-12-05 02:29:56 +00:00
"visibility": "public"
},
"children":
[
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 6,
"name": "ParameterList",
"src": "77:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 7,
"name": "ParameterList",
"src": "95:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 8,
"name": "Block",
"src": "95:2:1"
}
],
"id": 9,
"name": "FunctionDefinition",
"src": "67:30:1"
}
],
"id": 10,
"name": "ContractDefinition",
"src": "50:49:1"
},
{
"attributes":
{
"abstract": false,
"contractDependencies":
[
5,
10
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
22,
2019-12-05 02:29:56 +00:00
10,
5
],
"name": "C",
"scope": 23
2019-12-05 02:29:56 +00:00
},
"children":
[
{
2020-04-27 08:28:54 +00:00
"attributes": {},
2019-12-05 02:29:56 +00:00
"children":
[
{
"attributes":
{
"name": "A",
"referencedDeclaration": 5
2019-12-05 02:29:56 +00:00
},
"id": 11,
"name": "IdentifierPath",
2019-12-05 02:29:56 +00:00
"src": "114:1:1"
}
],
"id": 12,
2019-12-05 02:29:56 +00:00
"name": "InheritanceSpecifier",
"src": "114:1:1"
},
{
2020-04-27 08:28:54 +00:00
"attributes": {},
2019-12-05 02:29:56 +00:00
"children":
[
{
"attributes":
{
"name": "B",
"referencedDeclaration": 10
2019-12-05 02:29:56 +00:00
},
"id": 13,
"name": "IdentifierPath",
2019-12-05 02:29:56 +00:00
"src": "117:1:1"
}
],
"id": 14,
2019-12-05 02:29:56 +00:00
"name": "InheritanceSpecifier",
"src": "117:1:1"
},
{
"attributes":
{
"baseFunctions":
[
4,
9
],
"functionSelector": "26121ff0",
2019-12-05 02:29:56 +00:00
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
"scope": 22,
2019-12-05 02:29:56 +00:00
"stateMutability": "nonpayable",
"virtual": false,
2019-12-05 02:29:56 +00:00
"visibility": "public"
},
"children":
[
{
"children":
[
{
"attributes":
{
"name": "A",
"referencedDeclaration": 5
},
"id": 16,
"name": "IdentifierPath",
"src": "154:1:1"
},
{
"attributes":
{
"name": "B",
"referencedDeclaration": 10
},
"id": 17,
"name": "IdentifierPath",
"src": "157:1:1"
}
],
"id": 18,
"name": "OverrideSpecifier",
"src": "145:14:1"
2019-12-05 02:29:56 +00:00
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 15,
2019-12-05 02:29:56 +00:00
"name": "ParameterList",
"src": "135:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 19,
2019-12-05 02:29:56 +00:00
"name": "ParameterList",
"src": "160:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 20,
2019-12-05 02:29:56 +00:00
"name": "Block",
"src": "160:2:1"
}
],
"id": 21,
2019-12-05 02:29:56 +00:00
"name": "FunctionDefinition",
"src": "125:37:1"
}
],
"id": 22,
2019-12-05 02:29:56 +00:00
"name": "ContractDefinition",
"src": "100:64:1"
}
],
"id": 23,
2019-12-05 02:29:56 +00:00
"name": "SourceUnit",
"src": "0:165:1"
}