mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
1e63615206
Update tests. Additional tests Revert changes to the Natspec
179 lines
4.2 KiB
JSON
179 lines
4.2 KiB
JSON
{
|
|
"absolutePath": "a",
|
|
"id": 18,
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"id": 7,
|
|
"name": "A",
|
|
"nameLocation": "9:1:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes":
|
|
[
|
|
{
|
|
"body":
|
|
{
|
|
"id": 5,
|
|
"nodeType": "Block",
|
|
"src": "31:2:1",
|
|
"statements": []
|
|
},
|
|
"id": 6,
|
|
"implemented": true,
|
|
"kind": "constructor",
|
|
"modifiers": [],
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters":
|
|
{
|
|
"id": 3,
|
|
"nodeType": "ParameterList",
|
|
"parameters":
|
|
[
|
|
{
|
|
"constant": false,
|
|
"id": 2,
|
|
"mutability": "mutable",
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "VariableDeclaration",
|
|
"src": "25:4:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {},
|
|
"typeName":
|
|
{
|
|
"id": 1,
|
|
"name": "uint",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "25:4:1",
|
|
"typeDescriptions": {}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "24:6:1"
|
|
},
|
|
"returnParameters":
|
|
{
|
|
"id": 4,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "31:0:1"
|
|
},
|
|
"src": "13:20:1",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false
|
|
}
|
|
],
|
|
"src": "0:35:1",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts":
|
|
[
|
|
{
|
|
"baseName":
|
|
{
|
|
"id": 8,
|
|
"name": "A",
|
|
"nameLocations":
|
|
[
|
|
"50:1:1"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"src": "50:1:1"
|
|
},
|
|
"id": 9,
|
|
"nodeType": "InheritanceSpecifier",
|
|
"src": "50:1:1"
|
|
}
|
|
],
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"id": 17,
|
|
"name": "C",
|
|
"nameLocation": "45:1:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes":
|
|
[
|
|
{
|
|
"body":
|
|
{
|
|
"id": 15,
|
|
"nodeType": "Block",
|
|
"src": "73:2:1",
|
|
"statements": []
|
|
},
|
|
"id": 16,
|
|
"implemented": true,
|
|
"kind": "constructor",
|
|
"modifiers":
|
|
[
|
|
{
|
|
"arguments":
|
|
[
|
|
{
|
|
"hexValue": "32",
|
|
"id": 12,
|
|
"kind": "number",
|
|
"nodeType": "Literal",
|
|
"src": "70:1:1",
|
|
"typeDescriptions": {},
|
|
"value": "2"
|
|
}
|
|
],
|
|
"id": 13,
|
|
"modifierName":
|
|
{
|
|
"id": 11,
|
|
"name": "A",
|
|
"nameLocations":
|
|
[
|
|
"68:1:1"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"src": "68:1:1"
|
|
},
|
|
"nodeType": "ModifierInvocation",
|
|
"src": "68:4:1"
|
|
}
|
|
],
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters":
|
|
{
|
|
"id": 10,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "65:2:1"
|
|
},
|
|
"returnParameters":
|
|
{
|
|
"id": 14,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "73:0:1"
|
|
},
|
|
"src": "54:21:1",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false
|
|
}
|
|
],
|
|
"src": "36:41:1",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
}
|
|
],
|
|
"src": "0:78:1"
|
|
}
|