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/enum_value.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/enum_value.json')
-rw-r--r-- | test/libsolidity/ASTJSON/enum_value.json | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/test/libsolidity/ASTJSON/enum_value.json b/test/libsolidity/ASTJSON/enum_value.json new file mode 100644 index 00000000..21afd9a7 --- /dev/null +++ b/test/libsolidity/ASTJSON/enum_value.json @@ -0,0 +1,57 @@ +{ + "absolutePath" : "a", + "exportedSymbols" : + { + "C" : + [ + 4 + ] + }, + "id" : 5, + "nodeType" : "SourceUnit", + "nodes" : + [ + { + "baseContracts" : [], + "contractDependencies" : [], + "contractKind" : "contract", + "documentation" : null, + "fullyImplemented" : true, + "id" : 4, + "linearizedBaseContracts" : + [ + 4 + ], + "name" : "C", + "nodeType" : "ContractDefinition", + "nodes" : + [ + { + "canonicalName" : "C.E", + "id" : 3, + "members" : + [ + { + "id" : 1, + "name" : "A", + "nodeType" : "EnumValue", + "src" : "22:1:1" + }, + { + "id" : 2, + "name" : "B", + "nodeType" : "EnumValue", + "src" : "25:1:1" + } + ], + "name" : "E", + "nodeType" : "EnumDefinition", + "src" : "13:15:1" + } + ], + "scope" : 5, + "src" : "0:30:1" + } + ], + "src" : "0:31:1" +} |