solidity/test/libsolidity/ASTJSON/assembly/var_access_legacy.json
2019-12-09 10:42:24 +00:00

174 lines
4.2 KiB
JSON

{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"C":
[
9
]
}
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"linearizedBaseContracts":
[
9
],
"name": "C",
"scope": 10
},
"children":
[
{
"attributes":
{
"documentation": null,
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
"overrides": null,
"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
],
"initialValue": null
},
"children":
[
{
"attributes":
{
"constant": false,
"name": "x",
"overrides": null,
"scope": 7,
"stateVariable": false,
"storageLocation": "default",
"type": "uint256",
"value": null,
"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":
{
"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"
}