solidity/test/libsolidity/ASTJSON/assembly/var_access_legacy.json
2020-05-20 16:56:33 +05:30

171 lines
4.1 KiB
JSON

{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"C":
[
9
]
}
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
9
],
"name": "C",
"scope": 10
},
"children":
[
{
"attributes":
{
"functionSelector": "26121ff0",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
"scope": 9,
"stateMutability": "pure",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 1,
"name": "ParameterList",
"src": "27:2:1"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 2,
"name": "ParameterList",
"src": "42:0:1"
},
{
"children":
[
{
"attributes":
{
"assignments":
[
4
]
},
"children":
[
{
"attributes":
{
"constant": false,
"mutability": "mutable",
"name": "x",
"scope": 7,
"stateVariable": false,
"storageLocation": "default",
"type": "uint256",
"visibility": "internal"
},
"children":
[
{
"attributes":
{
"name": "uint",
"type": "uint256"
},
"id": 3,
"name": "ElementaryTypeName",
"src": "52:4:1"
}
],
"id": 4,
"name": "VariableDeclaration",
"src": "52:6:1"
}
],
"id": 5,
"name": "VariableDeclarationStatement",
"src": "52:6:1"
},
{
"attributes":
{
"evmVersion": %EVMVERSION%,
"externalReferences":
[
{
"declaration": 4,
"isOffset": false,
"isSlot": false,
"src": "79:1:1",
"valueSize": 1
}
],
"operations": "{ x := 7 }"
},
"children": [],
"id": 6,
"name": "InlineAssembly",
"src": "68:19:1"
}
],
"id": 7,
"name": "Block",
"src": "42:51:1"
}
],
"id": 8,
"name": "FunctionDefinition",
"src": "17:76:1"
}
],
"id": 9,
"name": "ContractDefinition",
"src": "0:95:1"
}
],
"id": 10,
"name": "SourceUnit",
"src": "0:96:1"
}