solidity/test/libsolidity/ASTJSON/using_for_directive_parseOnly.json

58 lines
1.2 KiB
JSON
Raw Normal View History

2020-07-08 20:08:50 +00:00
{
"absolutePath": "a",
"id": 6,
"nodeType": "SourceUnit",
"nodes":
[
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "library",
"id": 1,
"name": "L",
2021-02-10 17:40:05 +00:00
"nameLocation": "8:1:1",
2020-07-08 20:08:50 +00:00
"nodeType": "ContractDefinition",
"nodes": [],
2021-04-15 07:59:59 +00:00
"src": "0:12:1",
"usedErrors": []
2020-07-08 20:08:50 +00:00
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"id": 5,
"name": "C",
2021-02-10 17:40:05 +00:00
"nameLocation": "22:1:1",
2020-07-08 20:08:50 +00:00
"nodeType": "ContractDefinition",
"nodes":
[
{
"id": 4,
"libraryName":
{
"id": 2,
"name": "L",
"nodeType": "IdentifierPath",
"src": "32:1:1"
2020-07-08 20:08:50 +00:00
},
"nodeType": "UsingForDirective",
"src": "26:17:1",
"typeName":
{
"id": 3,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "38:4:1",
"typeDescriptions": {}
}
}
],
2021-04-15 07:59:59 +00:00
"src": "13:32:1",
"usedErrors": []
2020-07-08 20:08:50 +00:00
}
],
"src": "0:46:1"
}