mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
189 lines
5.2 KiB
JSON
189 lines
5.2 KiB
JSON
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"c":
|
|
[
|
|
15
|
|
]
|
|
},
|
|
"id": 16,
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"documentation": null,
|
|
"fullyImplemented": true,
|
|
"id": 15,
|
|
"linearizedBaseContracts":
|
|
[
|
|
15
|
|
],
|
|
"name": "c",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes":
|
|
[
|
|
{
|
|
"constant": false,
|
|
"id": 3,
|
|
"mutability": "mutable",
|
|
"name": "a",
|
|
"nodeType": "VariableDeclaration",
|
|
"overrides": null,
|
|
"scope": 15,
|
|
"src": "13:8:1",
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_array$_t_uint256_$dyn_storage",
|
|
"typeString": "uint256[]"
|
|
},
|
|
"typeName":
|
|
{
|
|
"baseType":
|
|
{
|
|
"id": 1,
|
|
"name": "uint",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "13:4:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"id": 2,
|
|
"length": null,
|
|
"nodeType": "ArrayTypeName",
|
|
"src": "13:6:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
|
|
"typeString": "uint256[]"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"body":
|
|
{
|
|
"id": 13,
|
|
"nodeType": "Block",
|
|
"src": "43:25:1",
|
|
"statements":
|
|
[
|
|
{
|
|
"assignments":
|
|
[
|
|
10
|
|
],
|
|
"declarations":
|
|
[
|
|
{
|
|
"constant": false,
|
|
"id": 10,
|
|
"mutability": "mutable",
|
|
"name": "b",
|
|
"nodeType": "VariableDeclaration",
|
|
"overrides": null,
|
|
"scope": 13,
|
|
"src": "45:16:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "storage",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
|
|
"typeString": "uint256[]"
|
|
},
|
|
"typeName":
|
|
{
|
|
"baseType":
|
|
{
|
|
"id": 8,
|
|
"name": "uint",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "45:4:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"id": 9,
|
|
"length": null,
|
|
"nodeType": "ArrayTypeName",
|
|
"src": "45:6:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
|
|
"typeString": "uint256[]"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"id": 12,
|
|
"initialValue":
|
|
{
|
|
"argumentTypes": null,
|
|
"id": 11,
|
|
"name": "a",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 3,
|
|
"src": "64:1:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_array$_t_uint256_$dyn_storage",
|
|
"typeString": "uint256[] storage ref"
|
|
}
|
|
},
|
|
"nodeType": "VariableDeclarationStatement",
|
|
"src": "45:20:1"
|
|
}
|
|
]
|
|
},
|
|
"documentation": null,
|
|
"functionSelector": "26121ff0",
|
|
"id": 14,
|
|
"implemented": true,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "f",
|
|
"nodeType": "FunctionDefinition",
|
|
"overrides": null,
|
|
"parameters":
|
|
{
|
|
"id": 4,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "33:2:1"
|
|
},
|
|
"returnParameters":
|
|
{
|
|
"id": 5,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "43:0:1"
|
|
},
|
|
"scope": 15,
|
|
"src": "23:45:1",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "public"
|
|
}
|
|
],
|
|
"scope": 16,
|
|
"src": "0:70:1"
|
|
}
|
|
],
|
|
"src": "0:71:1"
|
|
}
|