mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
167 lines
4.1 KiB
JSON
167 lines
4.1 KiB
JSON
{
|
|
"absolutePath": "a",
|
|
"id": 20,
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"id": 19,
|
|
"name": "C",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes":
|
|
[
|
|
{
|
|
"id": 4,
|
|
"members":
|
|
[
|
|
{
|
|
"id": 1,
|
|
"name": "A",
|
|
"nodeType": "EnumValue",
|
|
"src": "26:1:1"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "B",
|
|
"nodeType": "EnumValue",
|
|
"src": "29:1:1"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "C",
|
|
"nodeType": "EnumValue",
|
|
"src": "32:1:1"
|
|
}
|
|
],
|
|
"name": "E",
|
|
"nodeType": "EnumDefinition",
|
|
"src": "17:18:1"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 9,
|
|
"mutability": "mutable",
|
|
"name": "a",
|
|
"nodeType": "VariableDeclaration",
|
|
"src": "40:20:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {},
|
|
"typeName":
|
|
{
|
|
"id": 8,
|
|
"keyType":
|
|
{
|
|
"id": 6,
|
|
"nodeType": "UserDefinedTypeName",
|
|
"pathNode":
|
|
{
|
|
"id": 5,
|
|
"name": "C",
|
|
"nodeType": "IdentifierPath",
|
|
"src": "48:1:1"
|
|
},
|
|
"src": "48:1:1",
|
|
"typeDescriptions": {}
|
|
},
|
|
"nodeType": "Mapping",
|
|
"src": "40:18:1",
|
|
"typeDescriptions": {},
|
|
"valueType":
|
|
{
|
|
"id": 7,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "53:4:1",
|
|
"typeDescriptions": {}
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 13,
|
|
"mutability": "mutable",
|
|
"name": "b",
|
|
"nodeType": "VariableDeclaration",
|
|
"src": "66:26:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {},
|
|
"typeName":
|
|
{
|
|
"id": 12,
|
|
"keyType":
|
|
{
|
|
"id": 10,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "74:7:1",
|
|
"typeDescriptions": {}
|
|
},
|
|
"nodeType": "Mapping",
|
|
"src": "66:24:1",
|
|
"typeDescriptions": {},
|
|
"valueType":
|
|
{
|
|
"id": 11,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "85:4:1",
|
|
"typeDescriptions": {}
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 18,
|
|
"mutability": "mutable",
|
|
"name": "c",
|
|
"nodeType": "VariableDeclaration",
|
|
"src": "98:20:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {},
|
|
"typeName":
|
|
{
|
|
"id": 17,
|
|
"keyType":
|
|
{
|
|
"id": 15,
|
|
"nodeType": "UserDefinedTypeName",
|
|
"pathNode":
|
|
{
|
|
"id": 14,
|
|
"name": "E",
|
|
"nodeType": "IdentifierPath",
|
|
"src": "106:1:1"
|
|
},
|
|
"src": "106:1:1",
|
|
"typeDescriptions": {}
|
|
},
|
|
"nodeType": "Mapping",
|
|
"src": "98:18:1",
|
|
"typeDescriptions": {},
|
|
"valueType":
|
|
{
|
|
"id": 16,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "111:4:1",
|
|
"typeDescriptions": {}
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "0:121:1"
|
|
}
|
|
],
|
|
"src": "0:122:1"
|
|
}
|