solidity/test/cmdlineTests/standard_parsing_import_absolute_paths/output.json

68 lines
1.9 KiB
JSON

{
"sources":
{
"/lib/L.sol":
{
"ast":
{
"absolutePath": "/lib/L.sol",
"id": 2,
"license": "GPL-2.0",
"nodeType": "SourceUnit",
"nodes":
[
{
"id": 1,
"literals":
[
"solidity",
">=",
"0.0"
],
"nodeType": "PragmaDirective",
"src": "35:22:0"
}
],
"src": "35:23:0"
},
"id": 0
},
"/project/../C.sol":
{
"ast":
{
"absolutePath": "/project/../C.sol",
"id": 5,
"license": "GPL-2.0",
"nodeType": "SourceUnit",
"nodes":
[
{
"id": 3,
"literals":
[
"solidity",
">=",
"0.0"
],
"nodeType": "PragmaDirective",
"src": "35:22:1"
},
{
"absolutePath": "/lib/L.sol",
"file": "../L.sol",
"id": 4,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"src": "58:18:1",
"symbolAliases": [],
"unitAlias": ""
}
],
"src": "35:41:1"
},
"id": 1
}
}
}