solidity/test/libsolidity/ASTJSON/short_type_name_ref_legacy.json
2020-05-13 18:16:59 +02:00

183 lines
4.7 KiB
JSON

{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"c":
[
12
]
},
"license": null
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"linearizedBaseContracts":
[
12
],
"name": "c",
"scope": 13
},
"children":
[
{
"attributes":
{
"documentation": null,
"functionSelector": "26121ff0",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
"overrides": null,
"scope": 12,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 1,
"name": "ParameterList",
"src": "23:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 2,
"name": "ParameterList",
"src": "33:0:1"
},
{
"children":
[
{
"attributes":
{
"assignments":
[
8
],
"initialValue": null
},
"children":
[
{
"attributes":
{
"constant": false,
"mutability": "mutable",
"name": "rows",
"overrides": null,
"scope": 10,
"stateVariable": false,
"storageLocation": "memory",
"type": "uint256[][]",
"value": null,
"visibility": "internal"
},
"children":
[
{
"attributes":
{
"length": null,
"type": "uint256[][]"
},
"children":
[
{
"attributes":
{
"length": null,
"type": "uint256[]"
},
"children":
[
{
"attributes":
{
"name": "uint",
"type": "uint256"
},
"id": 5,
"name": "ElementaryTypeName",
"src": "35:4:1"
}
],
"id": 6,
"name": "ArrayTypeName",
"src": "35:6:1"
}
],
"id": 7,
"name": "ArrayTypeName",
"src": "35:8:1"
}
],
"id": 8,
"name": "VariableDeclaration",
"src": "35:20:1"
}
],
"id": 9,
"name": "VariableDeclarationStatement",
"src": "35:20:1"
}
],
"id": 10,
"name": "Block",
"src": "33:25:1"
}
],
"id": 11,
"name": "FunctionDefinition",
"src": "13:45:1"
}
],
"id": 12,
"name": "ContractDefinition",
"src": "0:60:1"
}
],
"id": 13,
"name": "SourceUnit",
"src": "0:61:1"
}