diff options
author | chriseth <chris@ethereum.org> | 2018-08-06 17:01:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 17:01:51 +0800 |
commit | 3684151e53ae4482c6b4dfea1debe5050c24d6c6 (patch) | |
tree | 3f7d8d59d8d0f0b3f30d90aa7f2a79761f45c9c2 /test/libsolidity/ASTJSON/documentation_legacy.json | |
parent | 20c65f9af1f42620db7b77543717a2b341771daf (diff) | |
parent | 55386ba130122f5f739f4b08f82436ebd27a2087 (diff) | |
download | dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.gz dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.zst dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.zip |
Merge pull request #4677 from ethereum/jsonAstTestExtraction
JSON AST test extraction
Diffstat (limited to 'test/libsolidity/ASTJSON/documentation_legacy.json')
-rw-r--r-- | test/libsolidity/ASTJSON/documentation_legacy.json | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/test/libsolidity/ASTJSON/documentation_legacy.json b/test/libsolidity/ASTJSON/documentation_legacy.json new file mode 100644 index 00000000..44ae537b --- /dev/null +++ b/test/libsolidity/ASTJSON/documentation_legacy.json @@ -0,0 +1,178 @@ +{ + "attributes" : + { + "absolutePath" : "c", + "exportedSymbols" : + { + "C" : + [ + 15 + ] + } + }, + "children" : + [ + { + "attributes" : + { + "baseContracts" : + [ + null + ], + "contractDependencies" : + [ + null + ], + "contractKind" : "contract", + "documentation" : null, + "fullyImplemented" : true, + "linearizedBaseContracts" : + [ + 15 + ], + "name" : "C", + "scope" : 16 + }, + "children" : + [ + { + "attributes" : + { + "anonymous" : false, + "documentation" : "Some comment on Evt.", + "name" : "Evt" + }, + "children" : + [ + { + "attributes" : + { + "parameters" : + [ + null + ] + }, + "children" : [], + "id" : 5, + "name" : "ParameterList", + "src" : "51:2:3" + } + ], + "id" : 6, + "name" : "EventDefinition", + "src" : "42:12:3" + }, + { + "attributes" : + { + "documentation" : "Some comment on mod.", + "name" : "mod", + "visibility" : "internal" + }, + "children" : + [ + { + "attributes" : + { + "parameters" : + [ + null + ] + }, + "children" : [], + "id" : 7, + "name" : "ParameterList", + "src" : "96:2:3" + }, + { + "children" : + [ + { + "id" : 8, + "name" : "PlaceholderStatement", + "src" : "101:1:3" + } + ], + "id" : 9, + "name" : "Block", + "src" : "99:6:3" + } + ], + "id" : 10, + "name" : "ModifierDefinition", + "src" : "84:21:3" + }, + { + "attributes" : + { + "constant" : false, + "documentation" : "Some comment on fn.", + "implemented" : true, + "isConstructor" : false, + "modifiers" : + [ + null + ], + "name" : "fn", + "payable" : false, + "scope" : 15, + "stateMutability" : "nonpayable", + "superFunction" : null, + "visibility" : "public" + }, + "children" : + [ + { + "attributes" : + { + "parameters" : + [ + null + ] + }, + "children" : [], + "id" : 11, + "name" : "ParameterList", + "src" : "145:2:3" + }, + { + "attributes" : + { + "parameters" : + [ + null + ] + }, + "children" : [], + "id" : 12, + "name" : "ParameterList", + "src" : "155:0:3" + }, + { + "attributes" : + { + "statements" : + [ + null + ] + }, + "children" : [], + "id" : 13, + "name" : "Block", + "src" : "155:2:3" + } + ], + "id" : 14, + "name" : "FunctionDefinition", + "src" : "134:23:3" + } + ], + "id" : 15, + "name" : "ContractDefinition", + "src" : "0:159:3" + } + ], + "id" : 16, + "name" : "SourceUnit", + "src" : "0:160:3" +} |