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/placeholder_statement.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/placeholder_statement.json')
-rw-r--r-- | test/libsolidity/ASTJSON/placeholder_statement.json | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/test/libsolidity/ASTJSON/placeholder_statement.json b/test/libsolidity/ASTJSON/placeholder_statement.json new file mode 100644 index 00000000..496e1500 --- /dev/null +++ b/test/libsolidity/ASTJSON/placeholder_statement.json @@ -0,0 +1,64 @@ +{ + "absolutePath" : "a", + "exportedSymbols" : + { + "C" : + [ + 5 + ] + }, + "id" : 6, + "nodeType" : "SourceUnit", + "nodes" : + [ + { + "baseContracts" : [], + "contractDependencies" : [], + "contractKind" : "contract", + "documentation" : null, + "fullyImplemented" : true, + "id" : 5, + "linearizedBaseContracts" : + [ + 5 + ], + "name" : "C", + "nodeType" : "ContractDefinition", + "nodes" : + [ + { + "body" : + { + "id" : 3, + "nodeType" : "Block", + "src" : "24:6:1", + "statements" : + [ + { + "id" : 2, + "nodeType" : "PlaceholderStatement", + "src" : "26:1:1" + } + ] + }, + "documentation" : null, + "id" : 4, + "name" : "M", + "nodeType" : "ModifierDefinition", + "parameters" : + { + "id" : 1, + "nodeType" : "ParameterList", + "parameters" : [], + "src" : "24:0:1" + }, + "src" : "13:17:1", + "visibility" : "internal" + } + ], + "scope" : 6, + "src" : "0:32:1" + } + ], + "src" : "0:33:1" +} |