solidity/test/libsolidity/ASTJSON/documentation_legacy.json

207 lines
4.4 KiB
JSON

{
"attributes":
{
"absolutePath": "c",
"exportedSymbols":
{
"C":
[
20
]
}
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"linearizedBaseContracts":
[
20
],
"name": "C",
"scope": 21
},
"children":
[
{
"attributes":
{
"anonymous": false,
"name": "Evt"
},
"children":
[
{
"attributes":
{
"text": "Some comment on Evt."
},
"id": 7,
"name": "StructuredDocumentation",
"src": "15:26:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 8,
"name": "ParameterList",
"src": "51:2:3"
}
],
"id": 9,
"name": "EventDefinition",
"src": "42:12:3"
},
{
"attributes":
{
"name": "mod",
"overrides": null,
"virtual": false,
"visibility": "internal"
},
"children":
[
{
"attributes":
{
"text": "Some comment on mod."
},
"id": 10,
"name": "StructuredDocumentation",
"src": "57:26:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 11,
"name": "ParameterList",
"src": "96:2:3"
},
{
"children":
[
{
"id": 12,
"name": "PlaceholderStatement",
"src": "101:1:3"
}
],
"id": 13,
"name": "Block",
"src": "99:6:3"
}
],
"id": 14,
"name": "ModifierDefinition",
"src": "84:21:3"
},
{
"attributes":
{
"functionSelector": "a4a2c40b",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "fn",
"overrides": null,
"scope": 20,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"text": "Some comment on fn."
},
"id": 15,
"name": "StructuredDocumentation",
"src": "108:25:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 16,
"name": "ParameterList",
"src": "145:2:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 17,
"name": "ParameterList",
"src": "155:0:3"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 18,
"name": "Block",
"src": "155:2:3"
}
],
"id": 19,
"name": "FunctionDefinition",
"src": "134:23:3"
}
],
"id": 20,
"name": "ContractDefinition",
"src": "0:159:3"
}
],
"id": 21,
"name": "SourceUnit",
"src": "0:160:3"
}