solidity/test/libsolidity/ASTJSON/documentation_legacy.json

243 lines
5.3 KiB
JSON

{
"attributes":
{
"absolutePath": "c",
"exportedSymbols":
{
"C":
[
23
]
}
},
"children":
[
{
"attributes":
{
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
23
],
"name": "C",
"scope": 24
},
"children":
[
{
"attributes":
{
"constant": false,
"functionSelector": "c19d93fb",
"mutability": "mutable",
"name": "state",
"scope": 23,
"stateVariable": true,
"storageLocation": "default",
"type": "uint256",
"visibility": "public"
},
"children":
[
{
"attributes":
{
"name": "uint",
"type": "uint256"
},
"id": 8,
"name": "ElementaryTypeName",
"src": "48:4:3"
},
{
"attributes":
{
"text": "Some comment on state var."
},
"id": 7,
"name": "StructuredDocumentation",
"src": "15:32:3"
}
],
"id": 9,
"name": "VariableDeclaration",
"src": "48:17:3"
},
{
"attributes":
{
"anonymous": false,
"name": "Evt"
},
"children":
[
{
"attributes":
{
"text": "Some comment on Evt."
},
"id": 10,
"name": "StructuredDocumentation",
"src": "69:26:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 11,
"name": "ParameterList",
"src": "105:2:3"
}
],
"id": 12,
"name": "EventDefinition",
"src": "96:12:3"
},
{
"attributes":
{
"name": "mod",
"virtual": false,
"visibility": "internal"
},
"children":
[
{
"attributes":
{
"text": "Some comment on mod."
},
"id": 13,
"name": "StructuredDocumentation",
"src": "111:26:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 14,
"name": "ParameterList",
"src": "150:2:3"
},
{
"children":
[
{
"id": 15,
"name": "PlaceholderStatement",
"src": "155:1:3"
}
],
"id": 16,
"name": "Block",
"src": "153:6:3"
}
],
"id": 17,
"name": "ModifierDefinition",
"src": "138:21:3"
},
{
"attributes":
{
"functionSelector": "a4a2c40b",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "fn",
"scope": 23,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
"children":
[
{
"attributes":
{
"text": "Some comment on fn."
},
"id": 18,
"name": "StructuredDocumentation",
"src": "162:25:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 19,
"name": "ParameterList",
"src": "199:2:3"
},
{
"attributes":
{
"parameters":
[
null
]
},
"children": [],
"id": 20,
"name": "ParameterList",
"src": "209:0:3"
},
{
"attributes":
{
"statements":
[
null
]
},
"children": [],
"id": 21,
"name": "Block",
"src": "209:2:3"
}
],
"id": 22,
"name": "FunctionDefinition",
"src": "188:23:3"
}
],
"id": 23,
"name": "ContractDefinition",
"src": "0:213:3"
}
],
"id": 24,
"name": "SourceUnit",
"src": "0:214:3"
}