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
59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"S":
|
|
[
|
|
3
|
|
]
|
|
},
|
|
"id": 4,
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"canonicalName": "S",
|
|
"id": 3,
|
|
"members":
|
|
[
|
|
{
|
|
"constant": false,
|
|
"id": 2,
|
|
"name": "a",
|
|
"nodeType": "VariableDeclaration",
|
|
"overrides": null,
|
|
"scope": 3,
|
|
"src": "11:9:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName":
|
|
{
|
|
"id": 1,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "11:7:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"name": "S",
|
|
"nodeType": "StructDefinition",
|
|
"scope": 4,
|
|
"src": "0:23:1",
|
|
"visibility": "public"
|
|
}
|
|
],
|
|
"src": "0:24:1"
|
|
}
|