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
@@ -23,6 +23,7 @@
5
],
"name": "C",
"nameLocation": "18:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -39,6 +40,7 @@
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "18:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
39
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -32,6 +33,7 @@
"id": 4,
"mutability": "mutable",
"name": "m",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration",
"scope": 39,
"src": "17:44:1",
@@ -100,6 +102,7 @@
"id": 12,
"mutability": "mutable",
"name": "a",
"nameLocation": "160:1:1",
"nodeType": "VariableDeclaration",
"scope": 37,
"src": "144:17:1",
@@ -234,6 +237,7 @@
"id": 22,
"mutability": "mutable",
"name": "c",
"nameLocation": "205:1:1",
"nodeType": "VariableDeclaration",
"scope": 37,
"src": "197:9:1",
@@ -468,6 +472,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -480,6 +485,7 @@
"id": 6,
"mutability": "mutable",
"name": "arg",
"nameLocation": "94:3:1",
"nodeType": "VariableDeclaration",
"scope": 38,
"src": "78:19:1",
@@ -519,6 +525,7 @@
"id": 9,
"mutability": "mutable",
"name": "r",
"nameLocation": "131:1:1",
"nodeType": "VariableDeclaration",
"scope": 38,
"src": "115:17:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 39,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -19,6 +20,7 @@
"id": 4,
"mutability": "mutable",
"name": "m",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration",
"src": "17:44:1",
"stateVariable": false,
@@ -70,6 +72,7 @@
"id": 12,
"mutability": "mutable",
"name": "a",
"nameLocation": "160:1:1",
"nodeType": "VariableDeclaration",
"src": "144:17:1",
"stateVariable": false,
@@ -159,6 +162,7 @@
"id": 22,
"mutability": "mutable",
"name": "c",
"nameLocation": "205:1:1",
"nodeType": "VariableDeclaration",
"src": "197:9:1",
"stateVariable": false,
@@ -296,6 +300,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -308,6 +313,7 @@
"id": 6,
"mutability": "mutable",
"name": "arg",
"nameLocation": "94:3:1",
"nodeType": "VariableDeclaration",
"src": "78:19:1",
"stateVariable": false,
@@ -338,6 +344,7 @@
"id": 9,
"mutability": "mutable",
"name": "r",
"nameLocation": "131:1:1",
"nodeType": "VariableDeclaration",
"src": "115:17:1",
"stateVariable": false,
@@ -23,6 +23,7 @@
4
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -31,6 +32,7 @@
"id": 3,
"mutability": "mutable",
"name": "i",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration",
"scope": 4,
"src": "13:8:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 4,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -19,6 +20,7 @@
"id": 3,
"mutability": "mutable",
"name": "i",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration",
"src": "13:8:1",
"stateVariable": false,
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -137,6 +138,7 @@
"kind": "function",
"modifiers": [],
"name": "j",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -124,6 +125,7 @@
"kind": "function",
"modifiers": [],
"name": "j",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -62,6 +63,7 @@
"kind": "function",
"modifiers": [],
"name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -49,6 +50,7 @@
"kind": "function",
"modifiers": [],
"name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -124,6 +125,7 @@
"kind": "function",
"modifiers": [],
"name": "h",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -111,6 +112,7 @@
"kind": "function",
"modifiers": [],
"name": "h",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -74,6 +75,7 @@
"kind": "function",
"modifiers": [],
"name": "l",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -61,6 +62,7 @@
"kind": "function",
"modifiers": [],
"name": "l",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -137,6 +138,7 @@
"kind": "function",
"modifiers": [],
"name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -124,6 +125,7 @@
"kind": "function",
"modifiers": [],
"name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -22,6 +22,7 @@
8
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -99,6 +100,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "24:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -118,6 +120,7 @@
"id": 3,
"mutability": "mutable",
"name": "x",
"nameLocation": "54:1:1",
"nodeType": "VariableDeclaration",
"scope": 7,
"src": "49:6:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 8,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -88,6 +89,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "24:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -107,6 +109,7 @@
"id": 3,
"mutability": "mutable",
"name": "x",
"nameLocation": "54:1:1",
"nodeType": "VariableDeclaration",
"src": "49:6:1",
"stateVariable": false,
@@ -23,6 +23,7 @@
12
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -36,6 +37,7 @@
"id": 2,
"mutability": "mutable",
"name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration",
"scope": 3,
"src": "28:6:1",
@@ -62,6 +64,7 @@
}
],
"name": "S",
"nameLocation": "24:1:1",
"nodeType": "StructDefinition",
"scope": 12,
"src": "17:20:1",
@@ -72,6 +75,7 @@
"id": 6,
"mutability": "mutable",
"name": "s",
"nameLocation": "44:1:1",
"nodeType": "VariableDeclaration",
"scope": 12,
"src": "42:3:1",
@@ -211,6 +215,7 @@
"kind": "function",
"modifiers": [],
"name": "e",
"nameLocation": "60:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 12,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -23,6 +24,7 @@
"id": 2,
"mutability": "mutable",
"name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration",
"src": "28:6:1",
"stateVariable": false,
@@ -40,6 +42,7 @@
}
],
"name": "S",
"nameLocation": "24:1:1",
"nodeType": "StructDefinition",
"src": "17:20:1",
"visibility": "public"
@@ -49,6 +52,7 @@
"id": 6,
"mutability": "mutable",
"name": "s",
"nameLocation": "44:1:1",
"nodeType": "VariableDeclaration",
"src": "42:3:1",
"stateVariable": false,
@@ -158,6 +162,7 @@
"kind": "function",
"modifiers": [],
"name": "e",
"nameLocation": "60:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -78,6 +79,7 @@
"kind": "function",
"modifiers": [],
"name": "m",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -65,6 +66,7 @@
"kind": "function",
"modifiers": [],
"name": "m",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -22,6 +22,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -184,6 +185,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
6
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -101,6 +102,7 @@
"kind": "function",
"modifiers": [],
"name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -88,6 +89,7 @@
"kind": "function",
"modifiers": [],
"name": "g",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 6,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -157,6 +158,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
9
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "57:1:1",
"nodeType": "VariableDeclaration",
"scope": 7,
"src": "52:6:1",
@@ -127,6 +129,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 9,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "57:1:1",
"nodeType": "VariableDeclaration",
"src": "52:6:1",
"stateVariable": false,
@@ -96,6 +98,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
5
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -39,6 +40,7 @@
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -39,6 +39,7 @@
1
],
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
@@ -75,6 +76,7 @@
1
],
"name": "B",
"nameLocation": "24:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
@@ -113,6 +115,7 @@
1
],
"name": "C",
"nameLocation": "44:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
@@ -153,6 +156,7 @@
1
],
"name": "D",
"nameLocation": "64:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
@@ -195,6 +199,7 @@
1
],
"name": "E",
"nameLocation": "84:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 1,
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:14:1"
@@ -36,6 +37,7 @@
"contractKind": "contract",
"id": 4,
"name": "B",
"nameLocation": "24:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "15:19:1"
@@ -61,6 +63,7 @@
"contractKind": "contract",
"id": 7,
"name": "C",
"nameLocation": "44:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "35:19:1"
@@ -86,6 +89,7 @@
"contractKind": "contract",
"id": 10,
"name": "D",
"nameLocation": "64:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "55:19:1"
@@ -111,6 +115,7 @@
"contractKind": "contract",
"id": 13,
"name": "E",
"nameLocation": "84:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "75:19:1"
@@ -31,6 +31,7 @@
2
],
"name": "C",
"nameLocation": "37:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3,
@@ -71,6 +72,7 @@
5
],
"name": "C",
"nameLocation": "71:1:2",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 6,
@@ -104,6 +106,7 @@
23
],
"name": "C",
"nameLocation": "9:1:3",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -120,6 +123,7 @@
"id": 9,
"mutability": "mutable",
"name": "state",
"nameLocation": "60:5:3",
"nodeType": "VariableDeclaration",
"scope": 23,
"src": "48:17:3",
@@ -155,6 +159,7 @@
},
"id": 12,
"name": "Evt",
"nameLocation": "102:3:3",
"nodeType": "EventDefinition",
"parameters":
{
@@ -189,6 +194,7 @@
},
"id": 17,
"name": "mod",
"nameLocation": "147:3:3",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -222,6 +228,7 @@
"kind": "function",
"modifiers": [],
"name": "fn",
"nameLocation": "197:2:3",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
27
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -31,6 +32,7 @@
"id": 2,
"mutability": "mutable",
"name": "a",
"nameLocation": "50:1:1",
"nodeType": "VariableDeclaration",
"scope": 27,
"src": "45:6:1",
@@ -193,6 +195,7 @@
"id": 8,
"mutability": "mutable",
"name": "i",
"nameLocation": "136:1:1",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "131:6:1",
@@ -308,6 +311,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "66:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -327,6 +331,7 @@
"id": 5,
"mutability": "mutable",
"name": "x",
"nameLocation": "96:1:1",
"nodeType": "VariableDeclaration",
"scope": 26,
"src": "91:6:1",
@@ -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,
@@ -19,6 +19,7 @@
},
"id": 2,
"name": "C",
"nameLocation": "37:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "28:13:1"
@@ -46,6 +47,7 @@
},
"id": 5,
"name": "C",
"nameLocation": "71:1:2",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "62:13:2"
@@ -66,6 +68,7 @@
"contractKind": "contract",
"id": 23,
"name": "C",
"nameLocation": "9:1:3",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -74,6 +77,7 @@
"id": 9,
"mutability": "mutable",
"name": "state",
"nameLocation": "60:5:3",
"nodeType": "VariableDeclaration",
"src": "48:17:3",
"stateVariable": false,
@@ -100,6 +104,7 @@
},
"id": 12,
"name": "Evt",
"nameLocation": "102:3:3",
"nodeType": "EventDefinition",
"parameters":
{
@@ -134,6 +139,7 @@
},
"id": 17,
"name": "mod",
"nameLocation": "147:3:3",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -166,6 +172,7 @@
"kind": "function",
"modifiers": [],
"name": "fn",
"nameLocation": "197:2:3",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
28
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -38,6 +39,7 @@
"id": 3,
"mutability": "mutable",
"name": "a",
"nameLocation": "35:1:1",
"nodeType": "VariableDeclaration",
"scope": 28,
"src": "30:6:1",
@@ -202,6 +204,7 @@
"id": 9,
"mutability": "mutable",
"name": "i",
"nameLocation": "122:1:1",
"nodeType": "VariableDeclaration",
"scope": 23,
"src": "117:6:1",
@@ -318,6 +321,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "51:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -337,6 +341,7 @@
"id": 6,
"mutability": "mutable",
"name": "x",
"nameLocation": "81:1:1",
"nodeType": "VariableDeclaration",
"scope": 27,
"src": "76:6:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 28,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -19,6 +20,7 @@
"id": 3,
"mutability": "mutable",
"name": "a",
"nameLocation": "35:1:1",
"nodeType": "VariableDeclaration",
"src": "30:6:1",
"stateVariable": false,
@@ -128,6 +130,7 @@
"id": 9,
"mutability": "mutable",
"name": "i",
"nameLocation": "122:1:1",
"nodeType": "VariableDeclaration",
"src": "117:6:1",
"stateVariable": false,
@@ -207,6 +210,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "51:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -226,6 +230,7 @@
"id": 6,
"mutability": "mutable",
"name": "x",
"nameLocation": "81:1:1",
"nodeType": "VariableDeclaration",
"src": "76:6:1",
"stateVariable": false,
+4
View File
@@ -23,6 +23,7 @@
4
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,17 +35,20 @@
{
"id": 1,
"name": "A",
"nameLocation": "22:1:1",
"nodeType": "EnumValue",
"src": "22:1:1"
},
{
"id": 2,
"name": "B",
"nameLocation": "25:1:1",
"nodeType": "EnumValue",
"src": "25:1:1"
}
],
"name": "E",
"nameLocation": "18:1:1",
"nodeType": "EnumDefinition",
"src": "13:15:1"
}
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 4,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -21,17 +22,20 @@
{
"id": 1,
"name": "A",
"nameLocation": "22:1:1",
"nodeType": "EnumValue",
"src": "22:1:1"
},
{
"id": 2,
"name": "B",
"nameLocation": "25:1:1",
"nodeType": "EnumValue",
"src": "25:1:1"
}
],
"name": "E",
"nameLocation": "18:1:1",
"nodeType": "EnumDefinition",
"src": "13:15:1"
}
@@ -23,6 +23,7 @@
3
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -30,6 +31,7 @@
"anonymous": false,
"id": 2,
"name": "E",
"nameLocation": "19:1:1",
"nodeType": "EventDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 3,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -18,6 +19,7 @@
"anonymous": false,
"id": 2,
"name": "E",
"nameLocation": "19:1:1",
"nodeType": "EventDefinition",
"parameters":
{
+2
View File
@@ -23,6 +23,7 @@
5
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -39,6 +40,7 @@
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
9
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -39,6 +40,7 @@
"kind": "receive",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -73,6 +75,7 @@
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 9,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "receive",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -60,6 +62,7 @@
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
5
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -39,6 +40,7 @@
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
17
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -40,6 +41,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -52,6 +54,7 @@
"id": 6,
"mutability": "mutable",
"name": "x",
"nameLocation": "67:1:1",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "24:44:1",
@@ -84,6 +87,7 @@
"id": 3,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 5,
"src": "61:4:1",
@@ -136,6 +140,7 @@
"id": 13,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "79:40:1",
@@ -168,6 +173,7 @@
"id": 10,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 12,
"src": "113:4:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 17,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -39,6 +41,7 @@
"id": 6,
"mutability": "mutable",
"name": "x",
"nameLocation": "67:1:1",
"nodeType": "VariableDeclaration",
"src": "24:44:1",
"stateVariable": false,
@@ -66,6 +69,7 @@
"id": 3,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"src": "61:4:1",
"stateVariable": false,
@@ -105,6 +109,7 @@
"id": 13,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"src": "79:40:1",
"stateVariable": false,
@@ -132,6 +137,7 @@
"id": 10,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"src": "113:4:1",
"stateVariable": false,
@@ -19,11 +19,13 @@
{
"id": 1,
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "EnumValue",
"src": "9:1:1"
}
],
"name": "E",
"nameLocation": "5:1:1",
"nodeType": "EnumDefinition",
"src": "0:12:1"
}
@@ -11,11 +11,13 @@
{
"id": 1,
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "EnumValue",
"src": "9:1:1"
}
],
"name": "E",
"nameLocation": "5:1:1",
"nodeType": "EnumDefinition",
"src": "0:12:1"
}
@@ -21,6 +21,7 @@
"id": 2,
"mutability": "mutable",
"name": "a",
"nameLocation": "19:1:1",
"nodeType": "VariableDeclaration",
"scope": 3,
"src": "11:9:1",
@@ -47,6 +48,7 @@
}
],
"name": "S",
"nameLocation": "7:1:1",
"nodeType": "StructDefinition",
"scope": 4,
"src": "0:23:1",
@@ -13,6 +13,7 @@
"id": 2,
"mutability": "mutable",
"name": "a",
"nameLocation": "19:1:1",
"nodeType": "VariableDeclaration",
"src": "11:9:1",
"stateVariable": false,
@@ -30,6 +31,7 @@
}
],
"name": "S",
"nameLocation": "7:1:1",
"nodeType": "StructDefinition",
"src": "0:23:1",
"visibility": "public"
@@ -27,6 +27,7 @@
1
],
"name": "C1",
"nameLocation": "9:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5,
@@ -63,6 +64,7 @@
1
],
"name": "C2",
"nameLocation": "24:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5,
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 1,
"name": "C1",
"nameLocation": "9:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:14:1"
@@ -36,6 +37,7 @@
"contractKind": "contract",
"id": 4,
"name": "C2",
"nameLocation": "24:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "15:20:1"
+1
View File
@@ -24,6 +24,7 @@
1
],
"name": "C",
"nameLocation": "45:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 2,
@@ -12,6 +12,7 @@
"contractKind": "contract",
"id": 1,
"name": "C",
"nameLocation": "45:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "36:13:1"
@@ -23,6 +23,7 @@
11
],
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 4,
"mutability": "mutable",
"name": "a",
"nameLocation": "40:1:1",
"nodeType": "VariableDeclaration",
"scope": 9,
"src": "35:6:1",
@@ -140,6 +142,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 11,
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 4,
"mutability": "mutable",
"name": "a",
"nameLocation": "40:1:1",
"nodeType": "VariableDeclaration",
"src": "35:6:1",
"stateVariable": false,
@@ -90,6 +92,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
15
],
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -31,6 +32,7 @@
"id": 3,
"mutability": "mutable",
"name": "a",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration",
"scope": 15,
"src": "13:8:1",
@@ -86,6 +88,7 @@
"id": 10,
"mutability": "mutable",
"name": "b",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "45:16:1",
@@ -148,6 +151,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "32:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 15,
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -19,6 +20,7 @@
"id": 3,
"mutability": "mutable",
"name": "a",
"nameLocation": "20:1:1",
"nodeType": "VariableDeclaration",
"src": "13:8:1",
"stateVariable": false,
@@ -61,6 +63,7 @@
"id": 10,
"mutability": "mutable",
"name": "b",
"nameLocation": "60:1:1",
"nodeType": "VariableDeclaration",
"src": "45:16:1",
"stateVariable": false,
@@ -104,6 +107,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "32:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
+8
View File
@@ -23,6 +23,7 @@
19
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,23 +35,27 @@
{
"id": 1,
"name": "A",
"nameLocation": "26:1:1",
"nodeType": "EnumValue",
"src": "26:1:1"
},
{
"id": 2,
"name": "B",
"nameLocation": "29:1:1",
"nodeType": "EnumValue",
"src": "29:1:1"
},
{
"id": 3,
"name": "C",
"nameLocation": "32:1:1",
"nodeType": "EnumValue",
"src": "32:1:1"
}
],
"name": "E",
"nameLocation": "22:1:1",
"nodeType": "EnumDefinition",
"src": "17:18:1"
},
@@ -59,6 +64,7 @@
"id": 9,
"mutability": "mutable",
"name": "a",
"nameLocation": "59:1:1",
"nodeType": "VariableDeclaration",
"scope": 19,
"src": "40:20:1",
@@ -119,6 +125,7 @@
"id": 13,
"mutability": "mutable",
"name": "b",
"nameLocation": "91:1:1",
"nodeType": "VariableDeclaration",
"scope": 19,
"src": "66:26:1",
@@ -171,6 +178,7 @@
"id": 18,
"mutability": "mutable",
"name": "c",
"nameLocation": "117:1:1",
"nodeType": "VariableDeclaration",
"scope": 19,
"src": "98:20:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 19,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -21,23 +22,27 @@
{
"id": 1,
"name": "A",
"nameLocation": "26:1:1",
"nodeType": "EnumValue",
"src": "26:1:1"
},
{
"id": 2,
"name": "B",
"nameLocation": "29:1:1",
"nodeType": "EnumValue",
"src": "29:1:1"
},
{
"id": 3,
"name": "C",
"nameLocation": "32:1:1",
"nodeType": "EnumValue",
"src": "32:1:1"
}
],
"name": "E",
"nameLocation": "22:1:1",
"nodeType": "EnumDefinition",
"src": "17:18:1"
},
@@ -46,6 +51,7 @@
"id": 9,
"mutability": "mutable",
"name": "a",
"nameLocation": "59:1:1",
"nodeType": "VariableDeclaration",
"src": "40:20:1",
"stateVariable": false,
@@ -87,6 +93,7 @@
"id": 13,
"mutability": "mutable",
"name": "b",
"nameLocation": "91:1:1",
"nodeType": "VariableDeclaration",
"src": "66:26:1",
"stateVariable": false,
@@ -122,6 +129,7 @@
"id": 18,
"mutability": "mutable",
"name": "c",
"nameLocation": "117:1:1",
"nodeType": "VariableDeclaration",
"src": "98:20:1",
"stateVariable": false,
@@ -23,6 +23,7 @@
14
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -43,6 +44,7 @@
},
"id": 6,
"name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -55,6 +57,7 @@
"id": 2,
"mutability": "mutable",
"name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration",
"scope": 6,
"src": "24:6:1",
@@ -135,6 +138,7 @@
}
],
"name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 14,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -31,6 +32,7 @@
},
"id": 6,
"name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -43,6 +45,7 @@
"id": 2,
"mutability": "mutable",
"name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration",
"src": "24:6:1",
"stateVariable": false,
@@ -104,6 +107,7 @@
}
],
"name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
14
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -43,6 +44,7 @@
},
"id": 6,
"name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -55,6 +57,7 @@
"id": 2,
"mutability": "mutable",
"name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration",
"scope": 6,
"src": "24:6:1",
@@ -135,6 +138,7 @@
}
],
"name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 14,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -31,6 +32,7 @@
},
"id": 6,
"name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -43,6 +45,7 @@
"id": 2,
"mutability": "mutable",
"name": "i",
"nameLocation": "29:1:1",
"nodeType": "VariableDeclaration",
"src": "24:6:1",
"stateVariable": false,
@@ -104,6 +107,7 @@
}
],
"name": "F",
"nameLocation": "48:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
+4
View File
@@ -23,6 +23,7 @@
10
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -32,6 +33,7 @@
"id": 3,
"mutability": "immutable",
"name": "a",
"nameLocation": "39:1:1",
"nodeType": "VariableDeclaration",
"scope": 10,
"src": "17:27:1",
@@ -80,6 +82,7 @@
"id": 6,
"mutability": "constant",
"name": "b",
"nameLocation": "71:1:1",
"nodeType": "VariableDeclaration",
"scope": 10,
"src": "50:26:1",
@@ -128,6 +131,7 @@
"id": 9,
"mutability": "mutable",
"name": "c",
"nameLocation": "94:1:1",
"nodeType": "VariableDeclaration",
"scope": 10,
"src": "82:17:1",
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 10,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -19,6 +20,7 @@
"id": 3,
"mutability": "immutable",
"name": "a",
"nameLocation": "39:1:1",
"nodeType": "VariableDeclaration",
"src": "17:27:1",
"stateVariable": false,
@@ -49,6 +51,7 @@
"id": 6,
"mutability": "constant",
"name": "b",
"nameLocation": "71:1:1",
"nodeType": "VariableDeclaration",
"src": "50:26:1",
"stateVariable": false,
@@ -79,6 +82,7 @@
"id": 9,
"mutability": "mutable",
"name": "c",
"nameLocation": "94:1:1",
"nodeType": "VariableDeclaration",
"src": "82:17:1",
"stateVariable": false,
+3
View File
@@ -23,6 +23,7 @@
9
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"scope": 7,
"src": "35:15:1",
@@ -100,6 +102,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 9,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"src": "35:15:1",
"stateVariable": false,
@@ -70,6 +72,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -7,6 +7,7 @@
{
"file": "notexisting.sol",
"id": 1,
"nameLocation": "28:11:1",
"nodeType": "ImportDirective",
"src": "0:40:1",
"symbolAliases": [],
@@ -33,6 +34,7 @@
"contractKind": "contract",
"id": 11,
"name": "C",
"nameLocation": "50:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -41,6 +43,7 @@
"id": 6,
"mutability": "mutable",
"name": "myStruct",
"nameLocation": "102:8:1",
"nodeType": "VariableDeclaration",
"src": "72:38:1",
"stateVariable": false,
@@ -75,6 +78,7 @@
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
+8
View File
@@ -31,6 +31,7 @@
5
],
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -48,6 +49,7 @@
"kind": "function",
"modifiers": [],
"name": "faa",
"nameLocation": "23:3:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -104,6 +106,7 @@
5
],
"name": "B",
"nameLocation": "50:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -114,6 +117,7 @@
"kind": "function",
"modifiers": [],
"name": "foo",
"nameLocation": "69:3:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -153,6 +157,7 @@
"kind": "function",
"modifiers": [],
"name": "faa",
"nameLocation": "93:3:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -218,6 +223,7 @@
5
],
"name": "C",
"nameLocation": "129:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -239,6 +245,7 @@
"kind": "function",
"modifiers": [],
"name": "foo",
"nameLocation": "148:3:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -285,6 +292,7 @@
"kind": "function",
"modifiers": [],
"name": "faa",
"nameLocation": "184:3:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "function",
"modifiers": [],
"name": "faa",
"nameLocation": "23:3:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -71,6 +73,7 @@
"contractKind": "contract",
"id": 16,
"name": "B",
"nameLocation": "50:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -80,6 +83,7 @@
"kind": "function",
"modifiers": [],
"name": "foo",
"nameLocation": "69:3:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -113,6 +117,7 @@
"kind": "function",
"modifiers": [],
"name": "faa",
"nameLocation": "93:3:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -164,6 +169,7 @@
"contractKind": "contract",
"id": 31,
"name": "C",
"nameLocation": "129:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -180,6 +186,7 @@
"kind": "function",
"modifiers": [],
"name": "foo",
"nameLocation": "148:3:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -220,6 +227,7 @@
"kind": "function",
"modifiers": [],
"name": "faa",
"nameLocation": "184:3:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -23,6 +23,7 @@
5
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -43,6 +44,7 @@
},
"id": 4,
"name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -31,6 +32,7 @@
},
"id": 4,
"name": "M",
"nameLocation": "22:1:1",
"nodeType": "ModifierDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
5
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -39,6 +40,7 @@
"kind": "receive",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "receive",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
11
],
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 7,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"scope": 9,
"src": "35:15:1",
@@ -94,6 +96,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 11,
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 7,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"src": "35:15:1",
"stateVariable": false,
@@ -68,6 +70,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -23,6 +23,7 @@
12
],
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 8,
"mutability": "mutable",
"name": "rows",
"nameLocation": "51:4:1",
"nodeType": "VariableDeclaration",
"scope": 10,
"src": "35:20:1",
@@ -105,6 +107,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 12,
"name": "c",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 8,
"mutability": "mutable",
"name": "rows",
"nameLocation": "51:4:1",
"nodeType": "VariableDeclaration",
"src": "35:20:1",
"stateVariable": false,
@@ -75,6 +77,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
+1
View File
@@ -23,6 +23,7 @@
1
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 2,
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 1,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:13:1"
@@ -23,6 +23,7 @@
12
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration",
"scope": 10,
"src": "28:6:1",
@@ -137,6 +139,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 12,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "33:1:1",
"nodeType": "VariableDeclaration",
"src": "28:6:1",
"stateVariable": false,
@@ -94,6 +96,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
+3
View File
@@ -23,6 +23,7 @@
9
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"scope": 7,
"src": "35:15:1",
@@ -101,6 +103,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 9,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"src": "35:15:1",
"stateVariable": false,
@@ -71,6 +73,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -31,6 +31,7 @@
5
],
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -48,6 +49,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -85,6 +87,7 @@
10
],
"name": "B",
"nameLocation": "59:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -102,6 +105,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -173,6 +177,7 @@
5
],
"name": "C",
"nameLocation": "109:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -195,6 +200,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "134:1:1",
"nodeType": "FunctionDefinition",
"overrides":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 5,
"name": "A",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -27,6 +28,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "26:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -57,6 +59,7 @@
"contractKind": "contract",
"id": 10,
"name": "B",
"nameLocation": "59:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -73,6 +76,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "76:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -129,6 +133,7 @@
"contractKind": "contract",
"id": 22,
"name": "C",
"nameLocation": "109:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -145,6 +150,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "134:1:1",
"nodeType": "FunctionDefinition",
"overrides":
{
+3
View File
@@ -23,6 +23,7 @@
9
],
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -46,6 +47,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"scope": 7,
"src": "35:15:1",
@@ -101,6 +103,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -11,6 +11,7 @@
"contractKind": "contract",
"id": 9,
"name": "C",
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -34,6 +35,7 @@
"id": 4,
"mutability": "mutable",
"name": "x",
"nameLocation": "49:1:1",
"nodeType": "VariableDeclaration",
"src": "35:15:1",
"stateVariable": false,
@@ -71,6 +73,7 @@
"kind": "function",
"modifiers": [],
"name": "f",
"nameLocation": "22:1:1",
"nodeType": "FunctionDefinition",
"parameters":
{
@@ -27,6 +27,7 @@
1
],
"name": "L",
"nameLocation": "8:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 6,
@@ -44,6 +45,7 @@
5
],
"name": "C",
"nameLocation": "22:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
@@ -11,6 +11,7 @@
"contractKind": "library",
"id": 1,
"name": "L",
"nameLocation": "8:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:12:1"
@@ -22,6 +23,7 @@
"contractKind": "contract",
"id": 5,
"name": "C",
"nameLocation": "22:1:1",
"nodeType": "ContractDefinition",
"nodes":
[
+1 -1
View File
@@ -473,7 +473,7 @@ BOOST_AUTO_TEST_CASE(basic_compilation)
util::jsonCompactPrint(result["sources"]["fileA"]["ast"]),
"{\"absolutePath\":\"fileA\",\"exportedSymbols\":{\"A\":[1]},\"id\":2,\"nodeType\":\"SourceUnit\",\"nodes\":[{\"abstract\":false,"
"\"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\"}"
);
}