aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/fallback_payable_legacy.json
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-09 03:47:27 +0800
committerGitHub <noreply@github.com>2018-10-09 03:47:27 +0800
commit7ff9a27979a53a0b844db2dda12a54ee4a68cf5e (patch)
tree5bdb5c3e251f920deec86362b707a7a3702c21e1 /test/libsolidity/ASTJSON/fallback_payable_legacy.json
parent7d2dc14304e2ce1805069eef57904805ed6b96eb (diff)
parenta434896458656249113c7e269d8fde64b3df5d69 (diff)
downloaddexon-solidity-7ff9a27979a53a0b844db2dda12a54ee4a68cf5e.tar.gz
dexon-solidity-7ff9a27979a53a0b844db2dda12a54ee4a68cf5e.tar.zst
dexon-solidity-7ff9a27979a53a0b844db2dda12a54ee4a68cf5e.zip
Merge pull request #4734 from ethereum/astUpdate
JSON AST: replace ``isConstructor`` by ``kind`` which also supports fallbacks
Diffstat (limited to 'test/libsolidity/ASTJSON/fallback_payable_legacy.json')
-rw-r--r--test/libsolidity/ASTJSON/fallback_payable_legacy.json110
1 files changed, 110 insertions, 0 deletions
diff --git a/test/libsolidity/ASTJSON/fallback_payable_legacy.json b/test/libsolidity/ASTJSON/fallback_payable_legacy.json
new file mode 100644
index 00000000..7320f574
--- /dev/null
+++ b/test/libsolidity/ASTJSON/fallback_payable_legacy.json
@@ -0,0 +1,110 @@
+{
+ "attributes" :
+ {
+ "absolutePath" : "a",
+ "exportedSymbols" :
+ {
+ "C" :
+ [
+ 5
+ ]
+ }
+ },
+ "children" :
+ [
+ {
+ "attributes" :
+ {
+ "baseContracts" :
+ [
+ null
+ ],
+ "contractDependencies" :
+ [
+ null
+ ],
+ "contractKind" : "contract",
+ "documentation" : null,
+ "fullyImplemented" : true,
+ "linearizedBaseContracts" :
+ [
+ 5
+ ],
+ "name" : "C",
+ "scope" : 6
+ },
+ "children" :
+ [
+ {
+ "attributes" :
+ {
+ "documentation" : null,
+ "implemented" : true,
+ "isConstructor" : false,
+ "kind" : "fallback",
+ "modifiers" :
+ [
+ null
+ ],
+ "name" : "",
+ "scope" : 5,
+ "stateMutability" : "nonpayable",
+ "superFunction" : null,
+ "visibility" : "external"
+ },
+ "children" :
+ [
+ {
+ "attributes" :
+ {
+ "parameters" :
+ [
+ null
+ ]
+ },
+ "children" : [],
+ "id" : 1,
+ "name" : "ParameterList",
+ "src" : "22:2:1"
+ },
+ {
+ "attributes" :
+ {
+ "parameters" :
+ [
+ null
+ ]
+ },
+ "children" : [],
+ "id" : 2,
+ "name" : "ParameterList",
+ "src" : "34:0:1"
+ },
+ {
+ "attributes" :
+ {
+ "statements" :
+ [
+ null
+ ]
+ },
+ "children" : [],
+ "id" : 3,
+ "name" : "Block",
+ "src" : "34:2:1"
+ }
+ ],
+ "id" : 4,
+ "name" : "FunctionDefinition",
+ "src" : "14:22:1"
+ }
+ ],
+ "id" : 5,
+ "name" : "ContractDefinition",
+ "src" : "0:38:1"
+ }
+ ],
+ "id" : 6,
+ "name" : "SourceUnit",
+ "src" : "0:39:1"
+}