mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
225 lines
5.6 KiB
JSON
225 lines
5.6 KiB
JSON
{
|
|
"attributes":
|
|
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"c":
|
|
[
|
|
15
|
|
]
|
|
}
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"abstract": false,
|
|
"baseContracts":
|
|
[
|
|
null
|
|
],
|
|
"contractDependencies":
|
|
[
|
|
null
|
|
],
|
|
"contractKind": "contract",
|
|
"documentation": null,
|
|
"fullyImplemented": true,
|
|
"linearizedBaseContracts":
|
|
[
|
|
15
|
|
],
|
|
"name": "c",
|
|
"scope": 16
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"constant": false,
|
|
"name": "a",
|
|
"overrides": null,
|
|
"scope": 15,
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"type": "uint256[]",
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"length": null,
|
|
"type": "uint256[]"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"name": "uint",
|
|
"type": "uint256"
|
|
},
|
|
"id": 1,
|
|
"name": "ElementaryTypeName",
|
|
"src": "13:4:1"
|
|
}
|
|
],
|
|
"id": 2,
|
|
"name": "ArrayTypeName",
|
|
"src": "13:6:1"
|
|
}
|
|
],
|
|
"id": 3,
|
|
"name": "VariableDeclaration",
|
|
"src": "13:8:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"documentation": null,
|
|
"implemented": true,
|
|
"isConstructor": false,
|
|
"kind": "function",
|
|
"modifiers":
|
|
[
|
|
null
|
|
],
|
|
"name": "f",
|
|
"overrides": null,
|
|
"scope": 15,
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"parameters":
|
|
[
|
|
null
|
|
]
|
|
},
|
|
"children": [],
|
|
"id": 4,
|
|
"name": "ParameterList",
|
|
"src": "33:2:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"parameters":
|
|
[
|
|
null
|
|
]
|
|
},
|
|
"children": [],
|
|
"id": 5,
|
|
"name": "ParameterList",
|
|
"src": "43:0:1"
|
|
},
|
|
{
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"assignments":
|
|
[
|
|
10
|
|
]
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"constant": false,
|
|
"name": "b",
|
|
"overrides": null,
|
|
"scope": 13,
|
|
"stateVariable": false,
|
|
"storageLocation": "storage",
|
|
"type": "uint256[]",
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"length": null,
|
|
"type": "uint256[]"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"name": "uint",
|
|
"type": "uint256"
|
|
},
|
|
"id": 8,
|
|
"name": "ElementaryTypeName",
|
|
"src": "45:4:1"
|
|
}
|
|
],
|
|
"id": 9,
|
|
"name": "ArrayTypeName",
|
|
"src": "45:6:1"
|
|
}
|
|
],
|
|
"id": 10,
|
|
"name": "VariableDeclaration",
|
|
"src": "45:16:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"argumentTypes": null,
|
|
"overloadedDeclarations":
|
|
[
|
|
null
|
|
],
|
|
"referencedDeclaration": 3,
|
|
"type": "uint256[] storage ref",
|
|
"value": "a"
|
|
},
|
|
"id": 11,
|
|
"name": "Identifier",
|
|
"src": "64:1:1"
|
|
}
|
|
],
|
|
"id": 12,
|
|
"name": "VariableDeclarationStatement",
|
|
"src": "45:20:1"
|
|
}
|
|
],
|
|
"id": 13,
|
|
"name": "Block",
|
|
"src": "43:25:1"
|
|
}
|
|
],
|
|
"id": 14,
|
|
"name": "FunctionDefinition",
|
|
"src": "23:45:1"
|
|
}
|
|
],
|
|
"id": 15,
|
|
"name": "ContractDefinition",
|
|
"src": "0:70:1"
|
|
}
|
|
],
|
|
"id": 16,
|
|
"name": "SourceUnit",
|
|
"src": "0:71:1"
|
|
}
|