mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6c7e849431
The following changes to expecation files are required for the ASTJSON tests to pass: * remove trailing spaces in ASTJSON tests * replace indention tabs with 2 spaces in ASTJSON tests * remove the space between the key and the colon in ASTJSON tests
65 lines
1.2 KiB
JSON
65 lines
1.2 KiB
JSON
{
|
|
"attributes":
|
|
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"S":
|
|
[
|
|
3
|
|
]
|
|
}
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"canonicalName": "S",
|
|
"name": "S",
|
|
"scope": 4,
|
|
"visibility": "public"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"constant": false,
|
|
"name": "a",
|
|
"overrides": null,
|
|
"scope": 3,
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"type": "uint256",
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"name": "uint256",
|
|
"type": "uint256"
|
|
},
|
|
"id": 1,
|
|
"name": "ElementaryTypeName",
|
|
"src": "11:7:1"
|
|
}
|
|
],
|
|
"id": 2,
|
|
"name": "VariableDeclaration",
|
|
"src": "11:9:1"
|
|
}
|
|
],
|
|
"id": 3,
|
|
"name": "StructDefinition",
|
|
"src": "0:23:1"
|
|
}
|
|
],
|
|
"id": 4,
|
|
"name": "SourceUnit",
|
|
"src": "0:24:1"
|
|
}
|