solidity/test/libsolidity/ASTJSON/override_legacy.json

512 lines
11 KiB
JSON
Raw Normal View History

2019-08-13 11:00:46 +00:00
{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"A":
[
5
],
"B":
[
16
],
"C":
[
31
]
2020-04-27 08:28:54 +00:00
}
},
"children":
[
{
"attributes":
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
5
],
"name": "A",
"scope": 32
},
"children":
[
{
"attributes":
{
"functionSelector": "a399b6a2",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "faa",
"scope": 5,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 1,
"name": "ParameterList",
"src": "26:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 2,
"name": "ParameterList",
"src": "36:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 3,
"name": "Block",
"src": "36:2:1"
}
],
"id": 4,
"name": "FunctionDefinition",
"src": "14:24:1"
}
],
"id": 5,
"name": "ContractDefinition",
"src": "0:40:1"
},
{
"attributes":
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"contractDependencies":
[
5
],
"contractKind": "contract",
"fullyImplemented": false,
"linearizedBaseContracts":
[
16,
5
],
"name": "B",
"scope": 32
},
"children":
[
{
2020-04-27 08:28:54 +00:00
"attributes": {},
"children":
[
{
"attributes":
{
"name": "A",
"referencedDeclaration": 5
},
"id": 6,
"name": "IdentifierPath",
"src": "55:1:1"
}
],
"id": 7,
"name": "InheritanceSpecifier",
"src": "55:1:1"
},
{
"attributes":
{
"functionSelector": "c2985578",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "foo",
"scope": 16,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 8,
"name": "ParameterList",
"src": "72:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 9,
"name": "ParameterList",
"src": "81:0:1"
}
],
"id": 10,
"name": "FunctionDefinition",
"src": "60:22:1"
},
{
"attributes":
{
2019-12-05 02:28:13 +00:00
"baseFunctions":
[
4
],
"functionSelector": "a399b6a2",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "faa",
"scope": 16,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"overrides":
[
null
]
},
"id": 12,
"name": "OverrideSpecifier",
"src": "106:8:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 11,
"name": "ParameterList",
"src": "96:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 13,
"name": "ParameterList",
"src": "115:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 14,
"name": "Block",
"src": "115:2:1"
}
],
"id": 15,
"name": "FunctionDefinition",
"src": "84:33:1"
}
],
"id": 16,
"name": "ContractDefinition",
"src": "41:78:1"
},
{
"attributes":
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"contractDependencies":
[
5,
16
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
31,
16,
5
],
"name": "C",
"scope": 32
},
"children":
[
{
2020-04-27 08:28:54 +00:00
"attributes": {},
"children":
[
{
"attributes":
{
"name": "B",
"referencedDeclaration": 16
},
"id": 17,
"name": "IdentifierPath",
"src": "134:1:1"
}
],
"id": 18,
"name": "InheritanceSpecifier",
"src": "134:1:1"
},
{
"attributes":
{
2019-12-05 02:28:13 +00:00
"baseFunctions":
[
10
2019-12-05 02:28:13 +00:00
],
"functionSelector": "c2985578",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "foo",
"scope": 31,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"overrides":
[
null
]
},
"id": 20,
"name": "OverrideSpecifier",
"src": "161:8:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 19,
"name": "ParameterList",
"src": "151:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 21,
"name": "ParameterList",
"src": "170:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 22,
"name": "Block",
"src": "170:3:1"
}
],
"id": 23,
"name": "FunctionDefinition",
"src": "139:34:1"
},
{
"attributes":
{
2019-12-05 02:28:13 +00:00
"baseFunctions":
[
15
2019-12-05 02:28:13 +00:00
],
"functionSelector": "a399b6a2",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "faa",
"scope": 31,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"children":
[
{
"attributes":
{
"name": "A",
"referencedDeclaration": 5
},
"id": 25,
"name": "IdentifierPath",
"src": "206:1:1"
},
{
"attributes":
{
"name": "B",
"referencedDeclaration": 16
},
"id": 26,
"name": "IdentifierPath",
"src": "209:1:1"
}
],
"id": 27,
"name": "OverrideSpecifier",
"src": "197:14:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 24,
"name": "ParameterList",
"src": "187:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 28,
"name": "ParameterList",
"src": "212:0:1"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 29,
"name": "Block",
"src": "212:2:1"
}
],
"id": 30,
"name": "FunctionDefinition",
"src": "175:39:1"
}
],
"id": 31,
"name": "ContractDefinition",
"src": "120:96:1"
}
],
"id": 32,
"name": "SourceUnit",
"src": "0:217:1"
2019-08-13 11:00:46 +00:00
}