Update AST Json expectations.

This commit is contained in:
chriseth
2021-02-11 10:11:24 +01:00
parent 32ba5f5ae7
commit 70aa111dbf
97 changed files with 315 additions and 1 deletions
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 27,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -19,6 +20,7 @@
"id": 2,
"mutability": "mutable",
"name": "a",
"nameLocation": "50:1:1",
"nodeType": "VariableDeclaration",
"src": "45:6:1",
"stateVariable": false,
@@ -126,6 +128,7 @@
"id": 8,
"mutability": "mutable",
"name": "i",
"nameLocation": "136:1:1",
"nodeType": "VariableDeclaration",
"src": "131:6:1",
"stateVariable": false,
@@ -204,6 +207,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "66:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -223,6 +227,7 @@
"id": 5,
"mutability": "mutable",
"name": "x",
"nameLocation": "96:1:1",
"nodeType": "VariableDeclaration",
"src": "91:6:1",
"stateVariable": false,