solidity/test/libsolidity/ASTJSON/documentation.json

223 lines
4.5 KiB
JSON
Raw Normal View History

[
2018-08-03 17:41:35 +00:00
{
"absolutePath": "a",
"exportedSymbols":
{
"C":
[
2
]
},
"id": 3,
2020-05-13 01:52:11 +00:00
"license": null,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation":
{
"id": 1,
"nodeType": "StructuredDocumentation",
"src": "0:27:1",
"text": "This contract is empty"
},
"fullyImplemented": true,
"id": 2,
"linearizedBaseContracts":
[
2
],
"name": "C",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3,
"src": "28:13:1"
}
],
"src": "28:14:1"
2018-08-03 17:41:35 +00:00
},
{
"absolutePath": "b",
"exportedSymbols":
{
"C":
[
5
]
},
"id": 6,
2020-05-13 01:52:11 +00:00
"license": null,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation":
{
"id": 4,
"nodeType": "StructuredDocumentation",
"src": "0:61:2",
"text": "This contract is empty\nand has a line-breaking comment."
},
"fullyImplemented": true,
"id": 5,
"linearizedBaseContracts":
[
5
],
"name": "C",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 6,
"src": "62:13:2"
}
],
"src": "62:14:2"
2018-08-03 17:41:35 +00:00
},
{
"absolutePath": "c",
"exportedSymbols":
{
"C":
[
20
]
},
"id": 21,
2020-05-13 01:52:11 +00:00
"license": null,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"id": 20,
"linearizedBaseContracts":
[
20
],
"name": "C",
"nodeType": "ContractDefinition",
"nodes":
[
{
"anonymous": false,
"documentation":
{
"id": 7,
"nodeType": "StructuredDocumentation",
"src": "15:26:3",
"text": "Some comment on Evt."
},
"id": 9,
"name": "Evt",
"nodeType": "EventDefinition",
"parameters":
{
"id": 8,
"nodeType": "ParameterList",
"parameters": [],
"src": "51:2:3"
},
"src": "42:12:3"
},
{
"body":
{
"id": 13,
"nodeType": "Block",
"src": "99:6:3",
"statements":
[
{
"id": 12,
"nodeType": "PlaceholderStatement",
"src": "101:1:3"
}
]
},
"documentation":
{
"id": 10,
"nodeType": "StructuredDocumentation",
"src": "57:26:3",
"text": "Some comment on mod."
},
"id": 14,
"name": "mod",
"nodeType": "ModifierDefinition",
"overrides": null,
"parameters":
{
"id": 11,
"nodeType": "ParameterList",
"parameters": [],
"src": "96:2:3"
},
"src": "84:21:3",
"virtual": false,
"visibility": "internal"
},
{
"body":
{
"id": 18,
"nodeType": "Block",
"src": "155:2:3",
"statements": []
},
"documentation":
{
"id": 15,
"nodeType": "StructuredDocumentation",
"src": "108:25:3",
"text": "Some comment on fn."
},
"functionSelector": "a4a2c40b",
"id": 19,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "fn",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters":
{
"id": 16,
"nodeType": "ParameterList",
"parameters": [],
"src": "145:2:3"
},
"returnParameters":
{
"id": 17,
"nodeType": "ParameterList",
"parameters": [],
"src": "155:0:3"
},
"scope": 20,
"src": "134:23:3",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
}
],
"scope": 21,
"src": "0:159:3"
}
],
"src": "0:160:3"
2018-08-03 17:41:35 +00:00
}
]