2020-07-08 20:08:50 +00:00
|
|
|
{
|
|
|
|
"absolutePath": "a",
|
|
|
|
"id": 10,
|
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"abstract": false,
|
|
|
|
"baseContracts": [],
|
|
|
|
"contractDependencies": [],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"id": 9,
|
|
|
|
"name": "C",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "9:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"body":
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"nodeType": "Block",
|
|
|
|
"src": "42:51:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"assignments":
|
|
|
|
[
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"declarations":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"id": 4,
|
|
|
|
"mutability": "mutable",
|
|
|
|
"name": "x",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "57:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "VariableDeclaration",
|
|
|
|
"src": "52:6:1",
|
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {},
|
|
|
|
"typeName":
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "uint",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
|
|
|
"src": "52:4:1",
|
|
|
|
"typeDescriptions": {}
|
|
|
|
},
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": 5,
|
|
|
|
"nodeType": "VariableDeclarationStatement",
|
|
|
|
"src": "52:6:1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"AST":
|
|
|
|
{
|
|
|
|
"nodeType": "YulBlock",
|
|
|
|
"src": "77:10:1",
|
|
|
|
"statements":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"nodeType": "YulAssignment",
|
|
|
|
"src": "79:6:1",
|
|
|
|
"value":
|
|
|
|
{
|
|
|
|
"kind": "number",
|
|
|
|
"nodeType": "YulLiteral",
|
|
|
|
"src": "84:1:1",
|
|
|
|
"type": "",
|
|
|
|
"value": "7"
|
|
|
|
},
|
|
|
|
"variableNames":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "x",
|
|
|
|
"nodeType": "YulIdentifier",
|
|
|
|
"src": "79:1:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"evmVersion": %EVMVERSION%,
|
|
|
|
"externalReferences": [],
|
|
|
|
"id": 6,
|
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"src": "68:19:1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"implemented": true,
|
|
|
|
"kind": "function",
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "f",
|
2021-02-10 17:40:05 +00:00
|
|
|
"nameLocation": "26:1:1",
|
2020-07-08 20:08:50 +00:00
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters":
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "27:2:1"
|
|
|
|
},
|
|
|
|
"returnParameters":
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [],
|
|
|
|
"src": "42:0:1"
|
|
|
|
},
|
|
|
|
"src": "17:76:1",
|
|
|
|
"stateMutability": "pure",
|
|
|
|
"virtual": false,
|
|
|
|
"visibility": "public"
|
|
|
|
}
|
|
|
|
],
|
2021-04-15 07:59:59 +00:00
|
|
|
"src": "0:95:1",
|
|
|
|
"usedErrors": []
|
2020-07-08 20:08:50 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"src": "0:96:1"
|
|
|
|
}
|