Update AST Json expectations.

This commit is contained in:
chriseth 2021-02-10 18:40:05 +01:00
parent 32ba5f5ae7
commit 70aa111dbf
97 changed files with 315 additions and 1 deletions

View File

@ -49,6 +49,7 @@
7 7
], ],
"name": "C", "name": "C",
"nameLocation": "27:1:0",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -82,6 +83,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "45:4:0",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": null, "overrides": null,
"parameters": "parameters":

View File

@ -23,6 +23,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "18:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -39,6 +40,7 @@
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "18:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
39 39
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -32,6 +33,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "m", "name": "m",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 39, "scope": 39,
"src": "17:44:1", "src": "17:44:1",
@ -100,6 +102,7 @@
"id": 12, "id": 12,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "160:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 37, "scope": 37,
"src": "144:17:1", "src": "144:17:1",
@ -234,6 +237,7 @@
"id": 22, "id": 22,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nameLocation": "205:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 37, "scope": 37,
"src": "197:9:1", "src": "197:9:1",
@ -468,6 +472,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -480,6 +485,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "arg", "name": "arg",
"nameLocation": "94:3:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 38, "scope": 38,
"src": "78:19:1", "src": "78:19:1",
@ -519,6 +525,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "r", "name": "r",
"nameLocation": "131:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 38, "scope": 38,
"src": "115:17:1", "src": "115:17:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 39, "id": 39,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -19,6 +20,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "m", "name": "m",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "17:44:1", "src": "17:44:1",
"stateVariable": false, "stateVariable": false,
@ -70,6 +72,7 @@
"id": 12, "id": 12,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "160:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "144:17:1", "src": "144:17:1",
"stateVariable": false, "stateVariable": false,
@ -159,6 +162,7 @@
"id": 22, "id": 22,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nameLocation": "205:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "197:9:1", "src": "197:9:1",
"stateVariable": false, "stateVariable": false,
@ -296,6 +300,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -308,6 +313,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "arg", "name": "arg",
"nameLocation": "94:3:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "78:19:1", "src": "78:19:1",
"stateVariable": false, "stateVariable": false,
@ -338,6 +344,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "r", "name": "r",
"nameLocation": "131:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "115:17:1", "src": "115:17:1",
"stateVariable": false, "stateVariable": false,

View File

@ -23,6 +23,7 @@
4 4
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -31,6 +32,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 4, "scope": 4,
"src": "13:8:1", "src": "13:8:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 4, "id": 4,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -19,6 +20,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "13:8:1", "src": "13:8:1",
"stateVariable": false, "stateVariable": false,

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -137,6 +138,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "j", "name": "j",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -124,6 +125,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "j", "name": "j",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -62,6 +63,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -49,6 +50,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -124,6 +125,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "h", "name": "h",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -111,6 +112,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "h", "name": "h",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -74,6 +75,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "l", "name": "l",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -61,6 +62,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "l", "name": "l",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -137,6 +138,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -124,6 +125,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -22,6 +22,7 @@
8 8
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -99,6 +100,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "24:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -118,6 +120,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "54:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 7, "scope": 7,
"src": "49:6:1", "src": "49:6:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 8, "id": 8,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -88,6 +89,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "24:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -107,6 +109,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "54:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "49:6:1", "src": "49:6:1",
"stateVariable": false, "stateVariable": false,

View File

@ -23,6 +23,7 @@
12 12
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -36,6 +37,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 3, "scope": 3,
"src": "28:6:1", "src": "28:6:1",
@ -62,6 +64,7 @@
} }
], ],
"name": "S", "name": "S",
"nameLocation": "24:1:1",
"nodeType": "StructDefinition", "nodeType": "StructDefinition",
"scope": 12, "scope": 12,
"src": "17:20:1", "src": "17:20:1",
@ -72,6 +75,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "s", "name": "s",
"nameLocation": "44:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 12, "scope": 12,
"src": "42:3:1", "src": "42:3:1",
@ -211,6 +215,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "e", "name": "e",
"nameLocation": "60:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 12, "id": 12,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -23,6 +24,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "28:6:1", "src": "28:6:1",
"stateVariable": false, "stateVariable": false,
@ -40,6 +42,7 @@
} }
], ],
"name": "S", "name": "S",
"nameLocation": "24:1:1",
"nodeType": "StructDefinition", "nodeType": "StructDefinition",
"src": "17:20:1", "src": "17:20:1",
"visibility": "public" "visibility": "public"
@ -49,6 +52,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "s", "name": "s",
"nameLocation": "44:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "42:3:1", "src": "42:3:1",
"stateVariable": false, "stateVariable": false,
@ -158,6 +162,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "e", "name": "e",
"nameLocation": "60:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -78,6 +79,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "m", "name": "m",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -65,6 +66,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "m", "name": "m",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -22,6 +22,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -184,6 +185,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
6 6
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -101,6 +102,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -88,6 +89,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "g", "name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 6, "id": 6,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -157,6 +158,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
9 9
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "57:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 7, "scope": 7,
"src": "52:6:1", "src": "52:6:1",
@ -127,6 +129,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 9, "id": 9,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "57:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "52:6:1", "src": "52:6:1",
"stateVariable": false, "stateVariable": false,
@ -96,6 +98,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -39,6 +40,7 @@
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -39,6 +39,7 @@
1 1
], ],
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 14, "scope": 14,
@ -75,6 +76,7 @@
1 1
], ],
"name": "B", "name": "B",
"nameLocation": "24:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 14, "scope": 14,
@ -113,6 +115,7 @@
1 1
], ],
"name": "C", "name": "C",
"nameLocation": "44:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 14, "scope": 14,
@ -153,6 +156,7 @@
1 1
], ],
"name": "D", "name": "D",
"nameLocation": "64:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 14, "scope": 14,
@ -195,6 +199,7 @@
1 1
], ],
"name": "E", "name": "E",
"nameLocation": "84:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 14, "scope": 14,

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "0:14:1" "src": "0:14:1"
@ -36,6 +37,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 4, "id": 4,
"name": "B", "name": "B",
"nameLocation": "24:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "15:19:1" "src": "15:19:1"
@ -61,6 +63,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 7, "id": 7,
"name": "C", "name": "C",
"nameLocation": "44:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "35:19:1" "src": "35:19:1"
@ -86,6 +89,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 10, "id": 10,
"name": "D", "name": "D",
"nameLocation": "64:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "55:19:1" "src": "55:19:1"
@ -111,6 +115,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 13, "id": 13,
"name": "E", "name": "E",
"nameLocation": "84:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "75:19:1" "src": "75:19:1"

View File

@ -31,6 +31,7 @@
2 2
], ],
"name": "C", "name": "C",
"nameLocation": "37:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 3, "scope": 3,
@ -71,6 +72,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "71:1:2",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 6, "scope": 6,
@ -104,6 +106,7 @@
23 23
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:3",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -120,6 +123,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "state", "name": "state",
"nameLocation": "60:5:3",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 23, "scope": 23,
"src": "48:17:3", "src": "48:17:3",
@ -155,6 +159,7 @@
}, },
"id": 12, "id": 12,
"name": "Evt", "name": "Evt",
"nameLocation": "102:3:3",
"nodeType": "EventDefinition", "nodeType": "EventDefinition",
"parameters": "parameters":
{ {
@ -189,6 +194,7 @@
}, },
"id": 17, "id": 17,
"name": "mod", "name": "mod",
"nameLocation": "147:3:3",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {
@ -222,6 +228,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "fn", "name": "fn",
"nameLocation": "197:2:3",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
27 27
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -31,6 +32,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "50:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 27, "scope": 27,
"src": "45:6:1", "src": "45:6:1",
@ -193,6 +195,7 @@
"id": 8, "id": 8,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "136:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 22, "scope": 22,
"src": "131:6:1", "src": "131:6:1",
@ -308,6 +311,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "66:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -327,6 +331,7 @@
"id": 5, "id": 5,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "96:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 26, "scope": 26,
"src": "91:6:1", "src": "91:6:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 27, "id": 27,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -19,6 +20,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "50:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "45:6:1", "src": "45:6:1",
"stateVariable": false, "stateVariable": false,
@ -126,6 +128,7 @@
"id": 8, "id": 8,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "136:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "131:6:1", "src": "131:6:1",
"stateVariable": false, "stateVariable": false,
@ -204,6 +207,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "66:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -223,6 +227,7 @@
"id": 5, "id": 5,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "96:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "91:6:1", "src": "91:6:1",
"stateVariable": false, "stateVariable": false,

View File

@ -19,6 +19,7 @@
}, },
"id": 2, "id": 2,
"name": "C", "name": "C",
"nameLocation": "37:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "28:13:1" "src": "28:13:1"
@ -46,6 +47,7 @@
}, },
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "71:1:2",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "62:13:2" "src": "62:13:2"
@ -66,6 +68,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 23, "id": 23,
"name": "C", "name": "C",
"nameLocation": "9:1:3",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -74,6 +77,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "state", "name": "state",
"nameLocation": "60:5:3",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "48:17:3", "src": "48:17:3",
"stateVariable": false, "stateVariable": false,
@ -100,6 +104,7 @@
}, },
"id": 12, "id": 12,
"name": "Evt", "name": "Evt",
"nameLocation": "102:3:3",
"nodeType": "EventDefinition", "nodeType": "EventDefinition",
"parameters": "parameters":
{ {
@ -134,6 +139,7 @@
}, },
"id": 17, "id": 17,
"name": "mod", "name": "mod",
"nameLocation": "147:3:3",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {
@ -166,6 +172,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "fn", "name": "fn",
"nameLocation": "197:2:3",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
28 28
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -38,6 +39,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "35:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 28, "scope": 28,
"src": "30:6:1", "src": "30:6:1",
@ -202,6 +204,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "122:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 23, "scope": 23,
"src": "117:6:1", "src": "117:6:1",
@ -318,6 +321,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "51:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -337,6 +341,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "81:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 27, "scope": 27,
"src": "76:6:1", "src": "76:6:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 28, "id": 28,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -19,6 +20,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "35:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "30:6:1", "src": "30:6:1",
"stateVariable": false, "stateVariable": false,
@ -128,6 +130,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "122:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "117:6:1", "src": "117:6:1",
"stateVariable": false, "stateVariable": false,
@ -207,6 +210,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "51:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -226,6 +230,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "81:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "76:6:1", "src": "76:6:1",
"stateVariable": false, "stateVariable": false,

View File

@ -23,6 +23,7 @@
4 4
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,17 +35,20 @@
{ {
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "22:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "22:1:1" "src": "22:1:1"
}, },
{ {
"id": 2, "id": 2,
"name": "B", "name": "B",
"nameLocation": "25:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "25:1:1" "src": "25:1:1"
} }
], ],
"name": "E", "name": "E",
"nameLocation": "18:1:1",
"nodeType": "EnumDefinition", "nodeType": "EnumDefinition",
"src": "13:15:1" "src": "13:15:1"
} }

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 4, "id": 4,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -21,17 +22,20 @@
{ {
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "22:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "22:1:1" "src": "22:1:1"
}, },
{ {
"id": 2, "id": 2,
"name": "B", "name": "B",
"nameLocation": "25:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "25:1:1" "src": "25:1:1"
} }
], ],
"name": "E", "name": "E",
"nameLocation": "18:1:1",
"nodeType": "EnumDefinition", "nodeType": "EnumDefinition",
"src": "13:15:1" "src": "13:15:1"
} }

View File

@ -23,6 +23,7 @@
3 3
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -30,6 +31,7 @@
"anonymous": false, "anonymous": false,
"id": 2, "id": 2,
"name": "E", "name": "E",
"nameLocation": "19:1:1",
"nodeType": "EventDefinition", "nodeType": "EventDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 3, "id": 3,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -18,6 +19,7 @@
"anonymous": false, "anonymous": false,
"id": 2, "id": 2,
"name": "E", "name": "E",
"nameLocation": "19:1:1",
"nodeType": "EventDefinition", "nodeType": "EventDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -39,6 +40,7 @@
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
9 9
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -39,6 +40,7 @@
"kind": "receive", "kind": "receive",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -73,6 +75,7 @@
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 9, "id": 9,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "receive", "kind": "receive",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -60,6 +62,7 @@
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -39,6 +40,7 @@
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "fallback", "kind": "fallback",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
17 17
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -40,6 +41,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -52,6 +54,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "67:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 16, "scope": 16,
"src": "24:44:1", "src": "24:44:1",
@ -84,6 +87,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 5, "scope": 5,
"src": "61:4:1", "src": "61:4:1",
@ -136,6 +140,7 @@
"id": 13, "id": 13,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 16, "scope": 16,
"src": "79:40:1", "src": "79:40:1",
@ -168,6 +173,7 @@
"id": 10, "id": 10,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 12, "scope": 12,
"src": "113:4:1", "src": "113:4:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 17, "id": 17,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -39,6 +41,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "67:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "24:44:1", "src": "24:44:1",
"stateVariable": false, "stateVariable": false,
@ -66,6 +69,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "61:4:1", "src": "61:4:1",
"stateVariable": false, "stateVariable": false,
@ -105,6 +109,7 @@
"id": 13, "id": 13,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "79:40:1", "src": "79:40:1",
"stateVariable": false, "stateVariable": false,
@ -132,6 +137,7 @@
"id": 10, "id": 10,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "113:4:1", "src": "113:4:1",
"stateVariable": false, "stateVariable": false,

View File

@ -19,11 +19,13 @@
{ {
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "9:1:1" "src": "9:1:1"
} }
], ],
"name": "E", "name": "E",
"nameLocation": "5:1:1",
"nodeType": "EnumDefinition", "nodeType": "EnumDefinition",
"src": "0:12:1" "src": "0:12:1"
} }

View File

@ -11,11 +11,13 @@
{ {
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "9:1:1" "src": "9:1:1"
} }
], ],
"name": "E", "name": "E",
"nameLocation": "5:1:1",
"nodeType": "EnumDefinition", "nodeType": "EnumDefinition",
"src": "0:12:1" "src": "0:12:1"
} }

View File

@ -21,6 +21,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "19:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 3, "scope": 3,
"src": "11:9:1", "src": "11:9:1",
@ -47,6 +48,7 @@
} }
], ],
"name": "S", "name": "S",
"nameLocation": "7:1:1",
"nodeType": "StructDefinition", "nodeType": "StructDefinition",
"scope": 4, "scope": 4,
"src": "0:23:1", "src": "0:23:1",

View File

@ -13,6 +13,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "19:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "11:9:1", "src": "11:9:1",
"stateVariable": false, "stateVariable": false,
@ -30,6 +31,7 @@
} }
], ],
"name": "S", "name": "S",
"nameLocation": "7:1:1",
"nodeType": "StructDefinition", "nodeType": "StructDefinition",
"src": "0:23:1", "src": "0:23:1",
"visibility": "public" "visibility": "public"

View File

@ -27,6 +27,7 @@
1 1
], ],
"name": "C1", "name": "C1",
"nameLocation": "9:2:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 5, "scope": 5,
@ -63,6 +64,7 @@
1 1
], ],
"name": "C2", "name": "C2",
"nameLocation": "24:2:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 5, "scope": 5,

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 1, "id": 1,
"name": "C1", "name": "C1",
"nameLocation": "9:2:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "0:14:1" "src": "0:14:1"
@ -36,6 +37,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 4, "id": 4,
"name": "C2", "name": "C2",
"nameLocation": "24:2:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "15:20:1" "src": "15:20:1"

View File

@ -24,6 +24,7 @@
1 1
], ],
"name": "C", "name": "C",
"nameLocation": "45:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 2, "scope": 2,

View File

@ -12,6 +12,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 1, "id": 1,
"name": "C", "name": "C",
"nameLocation": "45:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "36:13:1" "src": "36:13:1"

View File

@ -23,6 +23,7 @@
11 11
], ],
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "40:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 9, "scope": 9,
"src": "35:6:1", "src": "35:6:1",
@ -140,6 +142,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 11, "id": 11,
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "40:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "35:6:1", "src": "35:6:1",
"stateVariable": false, "stateVariable": false,
@ -90,6 +92,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
15 15
], ],
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -31,6 +32,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 15, "scope": 15,
"src": "13:8:1", "src": "13:8:1",
@ -86,6 +88,7 @@
"id": 10, "id": 10,
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 13, "scope": 13,
"src": "45:16:1", "src": "45:16:1",
@ -148,6 +151,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "32:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 15, "id": 15,
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -19,6 +20,7 @@
"id": 3, "id": 3,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "13:8:1", "src": "13:8:1",
"stateVariable": false, "stateVariable": false,
@ -61,6 +63,7 @@
"id": 10, "id": 10,
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "45:16:1", "src": "45:16:1",
"stateVariable": false, "stateVariable": false,
@ -104,6 +107,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "32:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
19 19
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,23 +35,27 @@
{ {
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "26:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "26:1:1" "src": "26:1:1"
}, },
{ {
"id": 2, "id": 2,
"name": "B", "name": "B",
"nameLocation": "29:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "29:1:1" "src": "29:1:1"
}, },
{ {
"id": 3, "id": 3,
"name": "C", "name": "C",
"nameLocation": "32:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "32:1:1" "src": "32:1:1"
} }
], ],
"name": "E", "name": "E",
"nameLocation": "22:1:1",
"nodeType": "EnumDefinition", "nodeType": "EnumDefinition",
"src": "17:18:1" "src": "17:18:1"
}, },
@ -59,6 +64,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "59:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 19, "scope": 19,
"src": "40:20:1", "src": "40:20:1",
@ -119,6 +125,7 @@
"id": 13, "id": 13,
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"nameLocation": "91:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 19, "scope": 19,
"src": "66:26:1", "src": "66:26:1",
@ -171,6 +178,7 @@
"id": 18, "id": 18,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nameLocation": "117:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 19, "scope": 19,
"src": "98:20:1", "src": "98:20:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 19, "id": 19,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -21,23 +22,27 @@
{ {
"id": 1, "id": 1,
"name": "A", "name": "A",
"nameLocation": "26:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "26:1:1" "src": "26:1:1"
}, },
{ {
"id": 2, "id": 2,
"name": "B", "name": "B",
"nameLocation": "29:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "29:1:1" "src": "29:1:1"
}, },
{ {
"id": 3, "id": 3,
"name": "C", "name": "C",
"nameLocation": "32:1:1",
"nodeType": "EnumValue", "nodeType": "EnumValue",
"src": "32:1:1" "src": "32:1:1"
} }
], ],
"name": "E", "name": "E",
"nameLocation": "22:1:1",
"nodeType": "EnumDefinition", "nodeType": "EnumDefinition",
"src": "17:18:1" "src": "17:18:1"
}, },
@ -46,6 +51,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "a", "name": "a",
"nameLocation": "59:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "40:20:1", "src": "40:20:1",
"stateVariable": false, "stateVariable": false,
@ -87,6 +93,7 @@
"id": 13, "id": 13,
"mutability": "mutable", "mutability": "mutable",
"name": "b", "name": "b",
"nameLocation": "91:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "66:26:1", "src": "66:26:1",
"stateVariable": false, "stateVariable": false,
@ -122,6 +129,7 @@
"id": 18, "id": 18,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nameLocation": "117:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "98:20:1", "src": "98:20:1",
"stateVariable": false, "stateVariable": false,

View File

@ -23,6 +23,7 @@
14 14
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -43,6 +44,7 @@
}, },
"id": 6, "id": 6,
"name": "M", "name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {
@ -55,6 +57,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 6, "scope": 6,
"src": "24:6:1", "src": "24:6:1",
@ -135,6 +138,7 @@
} }
], ],
"name": "F", "name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 14, "id": 14,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -31,6 +32,7 @@
}, },
"id": 6, "id": 6,
"name": "M", "name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {
@ -43,6 +45,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "24:6:1", "src": "24:6:1",
"stateVariable": false, "stateVariable": false,
@ -104,6 +107,7 @@
} }
], ],
"name": "F", "name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
14 14
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -43,6 +44,7 @@
}, },
"id": 6, "id": 6,
"name": "M", "name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {
@ -55,6 +57,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 6, "scope": 6,
"src": "24:6:1", "src": "24:6:1",
@ -135,6 +138,7 @@
} }
], ],
"name": "F", "name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 14, "id": 14,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -31,6 +32,7 @@
}, },
"id": 6, "id": 6,
"name": "M", "name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {
@ -43,6 +45,7 @@
"id": 2, "id": 2,
"mutability": "mutable", "mutability": "mutable",
"name": "i", "name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "24:6:1", "src": "24:6:1",
"stateVariable": false, "stateVariable": false,
@ -104,6 +107,7 @@
} }
], ],
"name": "F", "name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
10 10
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -32,6 +33,7 @@
"id": 3, "id": 3,
"mutability": "immutable", "mutability": "immutable",
"name": "a", "name": "a",
"nameLocation": "39:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 10, "scope": 10,
"src": "17:27:1", "src": "17:27:1",
@ -80,6 +82,7 @@
"id": 6, "id": 6,
"mutability": "constant", "mutability": "constant",
"name": "b", "name": "b",
"nameLocation": "71:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 10, "scope": 10,
"src": "50:26:1", "src": "50:26:1",
@ -128,6 +131,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nameLocation": "94:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 10, "scope": 10,
"src": "82:17:1", "src": "82:17:1",

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 10, "id": 10,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -19,6 +20,7 @@
"id": 3, "id": 3,
"mutability": "immutable", "mutability": "immutable",
"name": "a", "name": "a",
"nameLocation": "39:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "17:27:1", "src": "17:27:1",
"stateVariable": false, "stateVariable": false,
@ -49,6 +51,7 @@
"id": 6, "id": 6,
"mutability": "constant", "mutability": "constant",
"name": "b", "name": "b",
"nameLocation": "71:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "50:26:1", "src": "50:26:1",
"stateVariable": false, "stateVariable": false,
@ -79,6 +82,7 @@
"id": 9, "id": 9,
"mutability": "mutable", "mutability": "mutable",
"name": "c", "name": "c",
"nameLocation": "94:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "82:17:1", "src": "82:17:1",
"stateVariable": false, "stateVariable": false,

View File

@ -23,6 +23,7 @@
9 9
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 7, "scope": 7,
"src": "35:15:1", "src": "35:15:1",
@ -100,6 +102,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 9, "id": 9,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "35:15:1", "src": "35:15:1",
"stateVariable": false, "stateVariable": false,
@ -70,6 +72,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -7,6 +7,7 @@
{ {
"file": "notexisting.sol", "file": "notexisting.sol",
"id": 1, "id": 1,
"nameLocation": "28:11:1",
"nodeType": "ImportDirective", "nodeType": "ImportDirective",
"src": "0:40:1", "src": "0:40:1",
"symbolAliases": [], "symbolAliases": [],
@ -33,6 +34,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 11, "id": 11,
"name": "C", "name": "C",
"nameLocation": "50:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -41,6 +43,7 @@
"id": 6, "id": 6,
"mutability": "mutable", "mutability": "mutable",
"name": "myStruct", "name": "myStruct",
"nameLocation": "102:8:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "72:38:1", "src": "72:38:1",
"stateVariable": false, "stateVariable": false,
@ -75,6 +78,7 @@
"kind": "constructor", "kind": "constructor",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -31,6 +31,7 @@
5 5
], ],
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -48,6 +49,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nameLocation": "23:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -104,6 +106,7 @@
5 5
], ],
"name": "B", "name": "B",
"nameLocation": "50:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -114,6 +117,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "foo", "name": "foo",
"nameLocation": "69:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -153,6 +157,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nameLocation": "93:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {
@ -218,6 +223,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "129:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -239,6 +245,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "foo", "name": "foo",
"nameLocation": "148:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {
@ -285,6 +292,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nameLocation": "184:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nameLocation": "23:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -71,6 +73,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 16, "id": 16,
"name": "B", "name": "B",
"nameLocation": "50:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -80,6 +83,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "foo", "name": "foo",
"nameLocation": "69:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -113,6 +117,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nameLocation": "93:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {
@ -164,6 +169,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 31, "id": 31,
"name": "C", "name": "C",
"nameLocation": "129:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -180,6 +186,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "foo", "name": "foo",
"nameLocation": "148:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {
@ -220,6 +227,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "faa", "name": "faa",
"nameLocation": "184:3:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {

View File

@ -23,6 +23,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -43,6 +44,7 @@
}, },
"id": 4, "id": 4,
"name": "M", "name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -31,6 +32,7 @@
}, },
"id": 4, "id": 4,
"name": "M", "name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -39,6 +40,7 @@
"kind": "receive", "kind": "receive",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "receive", "kind": "receive",
"modifiers": [], "modifiers": [],
"name": "", "name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
11 11
], ],
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 7, "id": 7,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 9, "scope": 9,
"src": "35:15:1", "src": "35:15:1",
@ -94,6 +96,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 11, "id": 11,
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 7, "id": 7,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "35:15:1", "src": "35:15:1",
"stateVariable": false, "stateVariable": false,
@ -68,6 +70,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
12 12
], ],
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 8, "id": 8,
"mutability": "mutable", "mutability": "mutable",
"name": "rows", "name": "rows",
"nameLocation": "51:4:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 10, "scope": 10,
"src": "35:20:1", "src": "35:20:1",
@ -105,6 +107,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 12, "id": 12,
"name": "c", "name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 8, "id": 8,
"mutability": "mutable", "mutability": "mutable",
"name": "rows", "name": "rows",
"nameLocation": "51:4:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "35:20:1", "src": "35:20:1",
"stateVariable": false, "stateVariable": false,
@ -75,6 +77,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
1 1
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 2, "scope": 2,

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 1, "id": 1,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "0:13:1" "src": "0:13:1"

View File

@ -23,6 +23,7 @@
12 12
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 10, "scope": 10,
"src": "28:6:1", "src": "28:6:1",
@ -137,6 +139,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 12, "id": 12,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "28:6:1", "src": "28:6:1",
"stateVariable": false, "stateVariable": false,
@ -94,6 +96,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -23,6 +23,7 @@
9 9
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 7, "scope": 7,
"src": "35:15:1", "src": "35:15:1",
@ -101,6 +103,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 9, "id": 9,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "35:15:1", "src": "35:15:1",
"stateVariable": false, "stateVariable": false,
@ -71,6 +73,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -31,6 +31,7 @@
5 5
], ],
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -48,6 +49,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -85,6 +87,7 @@
10 10
], ],
"name": "B", "name": "B",
"nameLocation": "59:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -102,6 +105,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -173,6 +177,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "109:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -195,6 +200,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "134:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "A", "name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -27,6 +28,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -57,6 +59,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 10, "id": 10,
"name": "B", "name": "B",
"nameLocation": "59:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -73,6 +76,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {
@ -129,6 +133,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 22, "id": 22,
"name": "C", "name": "C",
"nameLocation": "109:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -145,6 +150,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "134:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides": "overrides":
{ {

View File

@ -23,6 +23,7 @@
9 9
], ],
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -46,6 +47,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 7, "scope": 7,
"src": "35:15:1", "src": "35:15:1",
@ -101,6 +103,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -11,6 +11,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 9, "id": 9,
"name": "C", "name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [
@ -34,6 +35,7 @@
"id": 4, "id": 4,
"mutability": "mutable", "mutability": "mutable",
"name": "x", "name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "35:15:1", "src": "35:15:1",
"stateVariable": false, "stateVariable": false,
@ -71,6 +73,7 @@
"kind": "function", "kind": "function",
"modifiers": [], "modifiers": [],
"name": "f", "name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"parameters": "parameters":
{ {

View File

@ -27,6 +27,7 @@
1 1
], ],
"name": "L", "name": "L",
"nameLocation": "8:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"scope": 6, "scope": 6,
@ -44,6 +45,7 @@
5 5
], ],
"name": "C", "name": "C",
"nameLocation": "22:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [

View File

@ -11,6 +11,7 @@
"contractKind": "library", "contractKind": "library",
"id": 1, "id": 1,
"name": "L", "name": "L",
"nameLocation": "8:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": [], "nodes": [],
"src": "0:12:1" "src": "0:12:1"
@ -22,6 +23,7 @@
"contractKind": "contract", "contractKind": "contract",
"id": 5, "id": 5,
"name": "C", "name": "C",
"nameLocation": "22:1:1",
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"nodes": "nodes":
[ [

View File

@ -473,7 +473,7 @@ BOOST_AUTO_TEST_CASE(basic_compilation)
util::jsonCompactPrint(result["sources"]["fileA"]["ast"]), util::jsonCompactPrint(result["sources"]["fileA"]["ast"]),
"{\"absolutePath\":\"fileA\",\"exportedSymbols\":{\"A\":[1]},\"id\":2,\"nodeType\":\"SourceUnit\",\"nodes\":[{\"abstract\":false," "{\"absolutePath\":\"fileA\",\"exportedSymbols\":{\"A\":[1]},\"id\":2,\"nodeType\":\"SourceUnit\",\"nodes\":[{\"abstract\":false,"
"\"baseContracts\":[],\"contractDependencies\":[],\"contractKind\":\"contract\",\"fullyImplemented\":true,\"id\":1," "\"baseContracts\":[],\"contractDependencies\":[],\"contractKind\":\"contract\",\"fullyImplemented\":true,\"id\":1,"
"\"linearizedBaseContracts\":[1],\"name\":\"A\",\"nodeType\":\"ContractDefinition\",\"nodes\":[],\"scope\":2," "\"linearizedBaseContracts\":[1],\"name\":\"A\",\"nameLocation\":\"9:1:0\",\"nodeType\":\"ContractDefinition\",\"nodes\":[],\"scope\":2,"
"\"src\":\"0:14:0\"}],\"src\":\"0:14:0\"}" "\"src\":\"0:14:0\"}],\"src\":\"0:14:0\"}"
); );
} }