diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-04 01:41:35 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-04 02:35:50 +0800 |
commit | 55386ba130122f5f739f4b08f82436ebd27a2087 (patch) | |
tree | 8f9412f467747e4a4e59503586b3519e943c9fbb /test/libsolidity/ASTJSON/placeholder_statement.json | |
parent | d923926ff7ceaad551fe76afb356266e28a2a1ea (diff) | |
download | dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.tar dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.tar.gz dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.tar.bz2 dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.tar.lz dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.tar.xz dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.tar.zst dexon-solidity-55386ba130122f5f739f4b08f82436ebd27a2087.zip |
Extract AST JSON tests.
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" +} |