ethers-rs/ethers-solc/test-data/ast/global_struct.json

60 lines
1.2 KiB
JSON

{
"absolutePath": "a",
"exportedSymbols":
{
"S":
[
3
]
},
"id": 4,
"nodeType": "SourceUnit",
"nodes":
[
{
"canonicalName": "S",
"id": 3,
"members":
[
{
"constant": false,
"id": 2,
"mutability": "mutable",
"name": "a",
"nameLocation": "19:1:1",
"nodeType": "VariableDeclaration",
"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"
}
},
"visibility": "internal"
}
],
"name": "S",
"nameLocation": "7:1:1",
"nodeType": "StructDefinition",
"scope": 4,
"src": "0:23:1",
"visibility": "public"
}
],
"src": "0:24:1"
}