mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
187 lines
5.8 KiB
JSON
187 lines
5.8 KiB
JSON
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"C":
|
|
[
|
|
6
|
|
]
|
|
},
|
|
"id": 7,
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"canonicalName": "C",
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"fullyImplemented": true,
|
|
"id": 6,
|
|
"linearizedBaseContracts":
|
|
[
|
|
6
|
|
],
|
|
"name": "C",
|
|
"nameLocation": "9:1:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes":
|
|
[
|
|
{
|
|
"body":
|
|
{
|
|
"id": 4,
|
|
"nodeType": "Block",
|
|
"src": "42:74:1",
|
|
"statements":
|
|
[
|
|
{
|
|
"AST":
|
|
{
|
|
"nativeSrc": "61:49:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "61:49:1",
|
|
"statements":
|
|
[
|
|
{
|
|
"body":
|
|
{
|
|
"nativeSrc": "90:18:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "90:18:1",
|
|
"statements":
|
|
[
|
|
{
|
|
"nativeSrc": "92:5:1",
|
|
"nodeType": "YulBreak",
|
|
"src": "92:5:1"
|
|
},
|
|
{
|
|
"nativeSrc": "98:8:1",
|
|
"nodeType": "YulContinue",
|
|
"src": "98:8:1"
|
|
}
|
|
]
|
|
},
|
|
"condition":
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "70:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "70:1:1",
|
|
"type": "",
|
|
"value": "1"
|
|
},
|
|
"nativeSrc": "63:45:1",
|
|
"nodeType": "YulForLoop",
|
|
"post":
|
|
{
|
|
"nativeSrc": "72:17:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "72:17:1",
|
|
"statements":
|
|
[
|
|
{
|
|
"expression":
|
|
{
|
|
"arguments":
|
|
[
|
|
{
|
|
"arguments":
|
|
[
|
|
{
|
|
"kind": "number",
|
|
"nativeSrc": "84:1:1",
|
|
"nodeType": "YulLiteral",
|
|
"src": "84:1:1",
|
|
"type": "",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"functionName":
|
|
{
|
|
"name": "sload",
|
|
"nativeSrc": "78:5:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "78:5:1"
|
|
},
|
|
"nativeSrc": "78:8:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "78:8:1"
|
|
}
|
|
],
|
|
"functionName":
|
|
{
|
|
"name": "pop",
|
|
"nativeSrc": "74:3:1",
|
|
"nodeType": "YulIdentifier",
|
|
"src": "74:3:1"
|
|
},
|
|
"nativeSrc": "74:13:1",
|
|
"nodeType": "YulFunctionCall",
|
|
"src": "74:13:1"
|
|
},
|
|
"nativeSrc": "74:13:1",
|
|
"nodeType": "YulExpressionStatement",
|
|
"src": "74:13:1"
|
|
}
|
|
]
|
|
},
|
|
"pre":
|
|
{
|
|
"nativeSrc": "67:2:1",
|
|
"nodeType": "YulBlock",
|
|
"src": "67:2:1",
|
|
"statements": []
|
|
},
|
|
"src": "63:45:1"
|
|
}
|
|
]
|
|
},
|
|
"evmVersion": %EVMVERSION%,
|
|
"externalReferences": [],
|
|
"id": 3,
|
|
"nodeType": "InlineAssembly",
|
|
"src": "52:58:1"
|
|
}
|
|
]
|
|
},
|
|
"functionSelector": "e2179b8e",
|
|
"id": 5,
|
|
"implemented": true,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "g",
|
|
"nameLocation": "26:1:1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters":
|
|
{
|
|
"id": 1,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "27:2:1"
|
|
},
|
|
"returnParameters":
|
|
{
|
|
"id": 2,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "42:0:1"
|
|
},
|
|
"scope": 6,
|
|
"src": "17:99:1",
|
|
"stateMutability": "view",
|
|
"virtual": false,
|
|
"visibility": "public"
|
|
}
|
|
],
|
|
"scope": 7,
|
|
"src": "0:118:1",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
}
|
|
],
|
|
"src": "0:119:1"
|
|
}
|