mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
214 lines
5.9 KiB
JSON
214 lines
5.9 KiB
JSON
{
|
|
"attributes":
|
|
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"c":
|
|
[
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"abstract": false,
|
|
"baseContracts":
|
|
[
|
|
null
|
|
],
|
|
"contractDependencies":
|
|
[
|
|
null
|
|
],
|
|
"contractKind": "contract",
|
|
"documentation": null,
|
|
"fullyImplemented": true,
|
|
"linearizedBaseContracts":
|
|
[
|
|
11
|
|
],
|
|
"name": "c",
|
|
"scope": 12
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"documentation": null,
|
|
"functionSelector": "26121ff0",
|
|
"implemented": true,
|
|
"isConstructor": false,
|
|
"kind": "function",
|
|
"modifiers":
|
|
[
|
|
null
|
|
],
|
|
"name": "f",
|
|
"overrides": null,
|
|
"scope": 11,
|
|
"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":
|
|
[
|
|
4
|
|
]
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"constant": false,
|
|
"mutability": "mutable",
|
|
"name": "a",
|
|
"overrides": null,
|
|
"scope": 9,
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"type": "uint256",
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"name": "uint",
|
|
"type": "uint256"
|
|
},
|
|
"id": 3,
|
|
"name": "ElementaryTypeName",
|
|
"src": "35:4:1"
|
|
}
|
|
],
|
|
"id": 4,
|
|
"name": "VariableDeclaration",
|
|
"src": "35:6:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"argumentTypes": null,
|
|
"commonType":
|
|
{
|
|
"typeIdentifier": "t_rational_5_by_1",
|
|
"typeString": "int_const 5"
|
|
},
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"operator": "+",
|
|
"type": "int_const 5"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"argumentTypes": null,
|
|
"hexvalue": "32",
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"subdenomination": null,
|
|
"token": "number",
|
|
"type": "int_const 2",
|
|
"value": "2"
|
|
},
|
|
"id": 5,
|
|
"name": "Literal",
|
|
"src": "44:1:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"argumentTypes": null,
|
|
"hexvalue": "33",
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"subdenomination": null,
|
|
"token": "number",
|
|
"type": "int_const 3",
|
|
"value": "3"
|
|
},
|
|
"id": 6,
|
|
"name": "Literal",
|
|
"src": "48:1:1"
|
|
}
|
|
],
|
|
"id": 7,
|
|
"name": "BinaryOperation",
|
|
"src": "44:5:1"
|
|
}
|
|
],
|
|
"id": 8,
|
|
"name": "VariableDeclarationStatement",
|
|
"src": "35:14:1"
|
|
}
|
|
],
|
|
"id": 9,
|
|
"name": "Block",
|
|
"src": "33:19:1"
|
|
}
|
|
],
|
|
"id": 10,
|
|
"name": "FunctionDefinition",
|
|
"src": "13:39:1"
|
|
}
|
|
],
|
|
"id": 11,
|
|
"name": "ContractDefinition",
|
|
"src": "0:54:1"
|
|
}
|
|
],
|
|
"id": 12,
|
|
"name": "SourceUnit",
|
|
"src": "0:55:1"
|
|
}
|