solidity/test/libsolidity/ASTJSON/using_for_directive.json

84 lines
1.6 KiB
JSON
Raw Normal View History

2018-08-03 17:41:35 +00:00
{
"absolutePath": "a",
"exportedSymbols":
{
"C":
[
5
],
"L":
[
1
]
},
"id": 6,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "library",
"fullyImplemented": true,
"id": 1,
"linearizedBaseContracts":
[
1
],
"name": "L",
2021-02-10 17:40:05 +00:00
"nameLocation": "8:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 6,
"src": "0:12:1"
},
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 5,
"linearizedBaseContracts":
[
5
],
"name": "C",
2021-02-10 17:40:05 +00:00
"nameLocation": "22:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
{
"id": 4,
"libraryName":
{
"id": 2,
"name": "L",
"nodeType": "IdentifierPath",
"referencedDeclaration": 1,
"src": "32:1:1"
},
"nodeType": "UsingForDirective",
"src": "26:17:1",
"typeName":
{
"id": 3,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "38:4:1",
"typeDescriptions":
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
}
],
"scope": 6,
"src": "13:32:1"
}
],
"src": "0:46:1"
2018-08-03 17:41:35 +00:00
}