[rust] Serialize range as array

ESTree expects the `range` value to be an array of `[start, end]`, we support 
deserializing from that format but serialized as an object of `{start,end}`, now 
we serialize to the array form.
This commit is contained in:
Joe Savona
2023-08-21 21:55:08 -07:00
parent 9c13e4413c
commit a13df48d4e
506 changed files with 73067 additions and 73054 deletions
@@ -1,18 +1,24 @@
use std::num::NonZeroU32;
use serde::ser::SerializeTuple;
use serde::{Deserialize, Serialize};
#[derive(
Serialize,
Deserialize,
Copy,
Clone,
Debug,
PartialEq,
PartialOrd,
Hash
)]
#[derive(Deserialize, Copy, Clone, Debug, PartialEq, PartialOrd, Hash)]
pub struct SourceRange {
pub start: u32,
pub end: NonZeroU32,
}
// ESTree and Babel store the `range` as `[start, end]`, so we customize
// the serialization to use a tuple representation.
impl Serialize for SourceRange {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
let mut tuple = serializer.serialize_tuple(2)?;
tuple.serialize_element(&self.start)?;
tuple.serialize_element(&self.end)?;
tuple.end()
}
}
@@ -554,10 +554,10 @@ Output:
"column": 18
}
},
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -575,10 +575,10 @@ Output:
"column": 24
}
},
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -605,10 +605,10 @@ Output:
"column": 7
}
},
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"init": {
"type": "Literal",
@@ -627,10 +627,10 @@ Output:
"column": 11
}
},
"range": {
"start": 38,
"end": 39
}
"range": [
38,
39
]
},
"loc": {
"source": null,
@@ -643,10 +643,10 @@ Output:
"column": 11
}
},
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
}
],
"loc": {
@@ -660,10 +660,10 @@ Output:
"column": 12
}
},
"range": {
"start": 30,
"end": 40
}
"range": [
30,
40
]
},
{
"type": "ForStatement",
@@ -688,10 +688,10 @@ Output:
"column": 12
}
},
"range": {
"start": 52,
"end": 53
}
"range": [
52,
53
]
},
"init": {
"type": "Literal",
@@ -710,10 +710,10 @@ Output:
"column": 16
}
},
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"loc": {
"source": null,
@@ -726,10 +726,10 @@ Output:
"column": 16
}
},
"range": {
"start": 52,
"end": 57
}
"range": [
52,
57
]
}
],
"loc": {
@@ -743,10 +743,10 @@ Output:
"column": 16
}
},
"range": {
"start": 48,
"end": 57
}
"range": [
48,
57
]
},
"test": {
"type": "BinaryExpression",
@@ -765,10 +765,10 @@ Output:
"column": 19
}
},
"range": {
"start": 59,
"end": 60
}
"range": [
59,
60
]
},
"operator": "<",
"right": {
@@ -788,10 +788,10 @@ Output:
"column": 24
}
},
"range": {
"start": 63,
"end": 65
}
"range": [
63,
65
]
},
"loc": {
"source": null,
@@ -804,10 +804,10 @@ Output:
"column": 24
}
},
"range": {
"start": 59,
"end": 65
}
"range": [
59,
65
]
},
"update": {
"type": "UpdateExpression",
@@ -827,10 +827,10 @@ Output:
"column": 27
}
},
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"prefix": false,
"loc": {
@@ -844,10 +844,10 @@ Output:
"column": 29
}
},
"range": {
"start": 67,
"end": 70
}
"range": [
67,
70
]
},
"body": {
"type": "BlockStatement",
@@ -872,10 +872,10 @@ Output:
"column": 5
}
},
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"right": {
"type": "Identifier",
@@ -892,10 +892,10 @@ Output:
"column": 10
}
},
"range": {
"start": 83,
"end": 84
}
"range": [
83,
84
]
},
"loc": {
"source": null,
@@ -908,10 +908,10 @@ Output:
"column": 10
}
},
"range": {
"start": 78,
"end": 84
}
"range": [
78,
84
]
},
"directive": null,
"loc": {
@@ -925,10 +925,10 @@ Output:
"column": 11
}
},
"range": {
"start": 78,
"end": 85
}
"range": [
78,
85
]
}
],
"loc": {
@@ -942,10 +942,10 @@ Output:
"column": 3
}
},
"range": {
"start": 72,
"end": 89
}
"range": [
72,
89
]
},
"loc": {
"source": null,
@@ -958,10 +958,10 @@ Output:
"column": 3
}
},
"range": {
"start": 43,
"end": 89
}
"range": [
43,
89
]
},
{
"type": "ReturnStatement",
@@ -980,10 +980,10 @@ Output:
"column": 10
}
},
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": {
"source": null,
@@ -996,10 +996,10 @@ Output:
"column": 11
}
},
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
}
],
"loc": {
@@ -1013,10 +1013,10 @@ Output:
"column": 1
}
},
"range": {
"start": 26,
"end": 103
}
"range": [
26,
103
]
},
"generator": false,
"async": false,
@@ -1033,10 +1033,10 @@ Output:
"column": 1
}
},
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
],
"sourceType": "script",
@@ -1051,8 +1051,8 @@ Output:
"column": 1
}
},
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
@@ -133,10 +133,10 @@ Output:
"column": 12
}
},
"range": {
"start": 7,
"end": 12
}
"range": [
7,
12
]
},
"loc": {
"source": null,
@@ -149,10 +149,10 @@ Output:
"column": 12
}
},
"range": {
"start": 7,
"end": 12
}
"range": [
7,
12
]
}
],
"source": {
@@ -172,10 +172,10 @@ Output:
"column": 25
}
},
"range": {
"start": 18,
"end": 25
}
"range": [
18,
25
]
},
"loc": {
"source": null,
@@ -188,10 +188,10 @@ Output:
"column": 26
}
},
"range": {
"start": 0,
"end": 26
}
"range": [
0,
26
]
}
],
"sourceType": "module",
@@ -206,8 +206,8 @@ Output:
"column": 26
}
},
"range": {
"start": 0,
"end": 26
}
"range": [
0,
26
]
}
@@ -215,10 +215,10 @@ Output:
"column": 18
}
},
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -236,10 +236,10 @@ Output:
"column": 24
}
},
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -264,10 +264,10 @@ Output:
"column": 14
}
},
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"property": {
"type": "Identifier",
@@ -284,10 +284,10 @@ Output:
"column": 20
}
},
"range": {
"start": 43,
"end": 48
}
"range": [
43,
48
]
},
"computed": false,
"loc": {
@@ -301,10 +301,10 @@ Output:
"column": 20
}
},
"range": {
"start": 37,
"end": 48
}
"range": [
37,
48
]
},
"loc": {
"source": null,
@@ -317,10 +317,10 @@ Output:
"column": 21
}
},
"range": {
"start": 30,
"end": 49
}
"range": [
30,
49
]
}
],
"loc": {
@@ -334,10 +334,10 @@ Output:
"column": 1
}
},
"range": {
"start": 26,
"end": 51
}
"range": [
26,
51
]
},
"generator": false,
"async": false,
@@ -354,10 +354,10 @@ Output:
"column": 1
}
},
"range": {
"start": 0,
"end": 51
}
"range": [
0,
51
]
}
],
"sourceType": "module",
@@ -372,8 +372,8 @@ Output:
"column": 1
}
},
"range": {
"start": 0,
"end": 51
}
"range": [
0,
51
]
}
@@ -377,10 +377,10 @@ Output:
"column": 12
}
},
"range": {
"start": 10,
"end": 13
}
"range": [
10,
13
]
},
"params": [],
"body": {
@@ -408,10 +408,10 @@ Output:
"column": 13
}
},
"range": {
"start": 28,
"end": 31
}
"range": [
28,
31
]
},
"property": {
"type": "JSXIdentifier",
@@ -427,10 +427,10 @@ Output:
"column": 17
}
},
"range": {
"start": 32,
"end": 35
}
"range": [
32,
35
]
},
"loc": {
"source": null,
@@ -443,10 +443,10 @@ Output:
"column": 17
}
},
"range": {
"start": 28,
"end": 35
}
"range": [
28,
35
]
},
"attributes": [
{
@@ -465,10 +465,10 @@ Output:
"column": 19
}
},
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -489,10 +489,10 @@ Output:
"column": 23
}
},
"range": {
"start": 39,
"end": 41
}
"range": [
39,
41
]
},
"loc": {
"source": null,
@@ -505,10 +505,10 @@ Output:
"column": 24
}
},
"range": {
"start": 38,
"end": 42
}
"range": [
38,
42
]
},
"loc": {
"source": null,
@@ -521,10 +521,10 @@ Output:
"column": 24
}
},
"range": {
"start": 36,
"end": 42
}
"range": [
36,
42
]
}
],
"selfClosing": false,
@@ -539,10 +539,10 @@ Output:
"column": 26
}
},
"range": {
"start": 27,
"end": 44
}
"range": [
27,
44
]
},
"children": [],
"closingElement": {
@@ -563,10 +563,10 @@ Output:
"column": 31
}
},
"range": {
"start": 46,
"end": 49
}
"range": [
46,
49
]
},
"property": {
"type": "JSXIdentifier",
@@ -582,10 +582,10 @@ Output:
"column": 35
}
},
"range": {
"start": 50,
"end": 53
}
"range": [
50,
53
]
},
"loc": {
"source": null,
@@ -598,10 +598,10 @@ Output:
"column": 35
}
},
"range": {
"start": 46,
"end": 53
}
"range": [
46,
53
]
},
"loc": {
"source": null,
@@ -614,10 +614,10 @@ Output:
"column": 36
}
},
"range": {
"start": 44,
"end": 54
}
"range": [
44,
54
]
},
"loc": {
"source": null,
@@ -630,10 +630,10 @@ Output:
"column": 36
}
},
"range": {
"start": 27,
"end": 54
}
"range": [
27,
54
]
},
"loc": {
"source": null,
@@ -646,10 +646,10 @@ Output:
"column": 36
}
},
"range": {
"start": 20,
"end": 54
}
"range": [
20,
54
]
}
],
"loc": {
@@ -663,10 +663,10 @@ Output:
"column": 1
}
},
"range": {
"start": 16,
"end": 56
}
"range": [
16,
56
]
},
"generator": false,
"async": false,
@@ -683,10 +683,10 @@ Output:
"column": 1
}
},
"range": {
"start": 1,
"end": 56
}
"range": [
1,
56
]
}
],
"sourceType": "script",
@@ -701,8 +701,8 @@ Output:
"column": 1
}
},
"range": {
"start": 1,
"end": 56
}
"range": [
1,
56
]
}
@@ -28,10 +28,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [],
"body": {
@@ -48,10 +48,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 152,
"end": 153
}
"range": [
152,
153
]
},
"init": {
"type": "CallExpression",
@@ -60,30 +60,30 @@ Output:
"name": "someObj",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 156,
"end": 163
}
"range": [
156,
163
]
},
"arguments": [],
"loc": null,
"range": {
"start": 156,
"end": 165
}
"range": [
156,
165
]
},
"loc": null,
"range": {
"start": 152,
"end": 165
}
"range": [
152,
165
]
}
],
"loc": null,
"range": {
"start": 148,
"end": 166
}
"range": [
148,
166
]
},
{
"type": "VariableDeclaration",
@@ -96,32 +96,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 174,
"end": 175
}
"range": [
174,
175
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 178,
"end": 180
}
"range": [
178,
180
]
},
"loc": null,
"range": {
"start": 174,
"end": 180
}
"range": [
174,
180
]
}
],
"loc": null,
"range": {
"start": 170,
"end": 181
}
"range": [
170,
181
]
},
{
"type": "ExpressionStatement",
@@ -134,27 +134,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 184,
"end": 185
}
"range": [
184,
185
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 186,
"end": 190
}
"range": [
186,
190
]
},
"computed": false,
"loc": null,
"range": {
"start": 184,
"end": 190
}
"range": [
184,
190
]
},
"arguments": [
{
@@ -162,24 +162,24 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 191,
"end": 192
}
"range": [
191,
192
]
}
],
"loc": null,
"range": {
"start": 184,
"end": 193
}
"range": [
184,
193
]
},
"directive": null,
"loc": null,
"range": {
"start": 184,
"end": 194
}
"range": [
184,
194
]
},
{
"type": "ExpressionStatement",
@@ -190,10 +190,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 198,
"end": 204
}
"range": [
198,
204
]
},
"arguments": [
{
@@ -201,24 +201,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 205,
"end": 206
}
"range": [
205,
206
]
}
],
"loc": null,
"range": {
"start": 198,
"end": 207
}
"range": [
198,
207
]
},
"directive": null,
"loc": null,
"range": {
"start": 198,
"end": 208
}
"range": [
198,
208
]
},
{
"type": "ReturnStatement",
@@ -230,59 +230,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 219,
"end": 220
}
"range": [
219,
220
]
},
{
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 222,
"end": 223
}
"range": [
222,
223
]
}
],
"loc": null,
"range": {
"start": 218,
"end": 224
}
"range": [
218,
224
]
},
"loc": null,
"range": {
"start": 211,
"end": 225
}
"range": [
211,
225
]
}
],
"loc": null,
"range": {
"start": 21,
"end": 227
}
"range": [
21,
227
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 227
},
"range": [
0,
227
],
"loc": null,
"range": {
"start": 0,
"end": 227
}
"range": [
0,
227
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 227
}
"range": [
0,
227
]
}
@@ -27,10 +27,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [],
"body": {
@@ -47,10 +47,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"init": {
"type": "CallExpression",
@@ -59,30 +59,30 @@ Output:
"name": "someObj",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 105
}
"range": [
98,
105
]
},
"arguments": [],
"loc": null,
"range": {
"start": 98,
"end": 107
}
"range": [
98,
107
]
},
"loc": null,
"range": {
"start": 94,
"end": 107
}
"range": [
94,
107
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 108
}
"range": [
90,
108
]
},
{
"type": "VariableDeclaration",
@@ -95,32 +95,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 116,
"end": 117
}
"range": [
116,
117
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 120,
"end": 122
}
"range": [
120,
122
]
},
"loc": null,
"range": {
"start": 116,
"end": 122
}
"range": [
116,
122
]
}
],
"loc": null,
"range": {
"start": 112,
"end": 123
}
"range": [
112,
123
]
},
{
"type": "ExpressionStatement",
@@ -133,27 +133,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 126,
"end": 127
}
"range": [
126,
127
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 132
}
"range": [
128,
132
]
},
"computed": false,
"loc": null,
"range": {
"start": 126,
"end": 132
}
"range": [
126,
132
]
},
"arguments": [
{
@@ -161,24 +161,24 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 133,
"end": 134
}
"range": [
133,
134
]
}
],
"loc": null,
"range": {
"start": 126,
"end": 135
}
"range": [
126,
135
]
},
"directive": null,
"loc": null,
"range": {
"start": 126,
"end": 136
}
"range": [
126,
136
]
},
{
"type": "ReturnStatement",
@@ -190,59 +190,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 148,
"end": 149
}
"range": [
148,
149
]
},
{
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 151,
"end": 152
}
"range": [
151,
152
]
}
],
"loc": null,
"range": {
"start": 147,
"end": 153
}
"range": [
147,
153
]
},
"loc": null,
"range": {
"start": 140,
"end": 154
}
"range": [
140,
154
]
}
],
"loc": null,
"range": {
"start": 21,
"end": 156
}
"range": [
21,
156
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 156
},
"range": [
0,
156
],
"loc": null,
"range": {
"start": 0,
"end": 156
}
"range": [
0,
156
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 156
}
"range": [
0,
156
]
}
@@ -25,10 +25,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -36,10 +36,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -56,10 +56,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -71,50 +71,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -127,32 +127,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 51,
"end": 53
}
"range": [
51,
53
]
},
"loc": null,
"range": {
"start": 47,
"end": 53
}
"range": [
47,
53
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 54
}
"range": [
43,
54
]
},
{
"type": "ExpressionStatement",
@@ -166,27 +166,27 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 59
}
"range": [
58,
59
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 61
}
"range": [
60,
61
]
},
"computed": false,
"loc": null,
"range": {
"start": 58,
"end": 61
}
"range": [
58,
61
]
},
"right": {
"type": "MemberExpression",
@@ -195,39 +195,39 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 64,
"end": 65
}
"range": [
64,
65
]
},
"property": {
"type": "StringLiteral",
"value": "a",
"loc": null,
"range": {
"start": 66,
"end": 69
}
"range": [
66,
69
]
},
"computed": true,
"loc": null,
"range": {
"start": 64,
"end": 70
}
"range": [
64,
70
]
},
"loc": null,
"range": {
"start": 58,
"end": 70
}
"range": [
58,
70
]
},
"directive": null,
"loc": null,
"range": {
"start": 58,
"end": 71
}
"range": [
58,
71
]
},
{
"type": "ExpressionStatement",
@@ -238,10 +238,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 74,
"end": 80
}
"range": [
74,
80
]
},
"arguments": [
{
@@ -249,24 +249,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
}
],
"loc": null,
"range": {
"start": 74,
"end": 83
}
"range": [
74,
83
]
},
"directive": null,
"loc": null,
"range": {
"start": 74,
"end": 84
}
"range": [
74,
84
]
},
{
"type": "ReturnStatement",
@@ -275,42 +275,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"loc": null,
"range": {
"start": 87,
"end": 96
}
"range": [
87,
96
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 98
}
"range": [
22,
98
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 98
},
"range": [
0,
98
],
"loc": null,
"range": {
"start": 0,
"end": 98
}
"range": [
0,
98
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 98
}
"range": [
0,
98
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [],
"body": {
@@ -46,32 +46,32 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 33,
"end": 35
}
"range": [
33,
35
]
},
"loc": null,
"range": {
"start": 29,
"end": 35
}
"range": [
29,
35
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 36
}
"range": [
25,
36
]
},
{
"type": "VariableDeclaration",
@@ -84,32 +84,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 44
}
"range": [
43,
44
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 47,
"end": 49
}
"range": [
47,
49
]
},
"loc": null,
"range": {
"start": 43,
"end": 49
}
"range": [
43,
49
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 50
}
"range": [
39,
50
]
},
{
"type": "ExpressionStatement",
@@ -123,50 +123,50 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 56
}
"range": [
55,
56
]
},
"computed": false,
"loc": null,
"range": {
"start": 53,
"end": 56
}
"range": [
53,
56
]
},
"right": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 60
}
"range": [
59,
60
]
},
"loc": null,
"range": {
"start": 53,
"end": 60
}
"range": [
53,
60
]
},
"directive": null,
"loc": null,
"range": {
"start": 53,
"end": 61
}
"range": [
53,
61
]
},
{
"type": "VariableDeclaration",
@@ -179,32 +179,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 68,
"end": 69
}
"range": [
68,
69
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 72,
"end": 74
}
"range": [
72,
74
]
},
"loc": null,
"range": {
"start": 68,
"end": 74
}
"range": [
68,
74
]
}
],
"loc": null,
"range": {
"start": 64,
"end": 75
}
"range": [
64,
75
]
},
{
"type": "ExpressionStatement",
@@ -218,50 +218,50 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"computed": false,
"loc": null,
"range": {
"start": 78,
"end": 81
}
"range": [
78,
81
]
},
"right": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 78,
"end": 85
}
"range": [
78,
85
]
},
"directive": null,
"loc": null,
"range": {
"start": 78,
"end": 86
}
"range": [
78,
86
]
},
{
"type": "ExpressionStatement",
@@ -272,10 +272,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 95
}
"range": [
89,
95
]
},
"arguments": [
{
@@ -287,58 +287,58 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 96,
"end": 97
}
"range": [
96,
97
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 99
}
"range": [
98,
99
]
},
"computed": false,
"loc": null,
"range": {
"start": 96,
"end": 99
}
"range": [
96,
99
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"computed": false,
"loc": null,
"range": {
"start": 96,
"end": 101
}
"range": [
96,
101
]
}
],
"loc": null,
"range": {
"start": 89,
"end": 102
}
"range": [
89,
102
]
},
"directive": null,
"loc": null,
"range": {
"start": 89,
"end": 103
}
"range": [
89,
103
]
},
{
"type": "ReturnStatement",
@@ -347,42 +347,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"loc": null,
"range": {
"start": 106,
"end": 115
}
"range": [
106,
115
]
}
],
"loc": null,
"range": {
"start": 21,
"end": 117
}
"range": [
21,
117
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 117
},
"range": [
0,
117
],
"loc": null,
"range": {
"start": 0,
"end": 117
}
"range": [
0,
117
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 117
}
"range": [
0,
117
]
}
@@ -25,10 +25,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [],
"body": {
@@ -45,32 +45,32 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 33,
"end": 35
}
"range": [
33,
35
]
},
"loc": null,
"range": {
"start": 29,
"end": 35
}
"range": [
29,
35
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 36
}
"range": [
25,
36
]
},
{
"type": "VariableDeclaration",
@@ -83,32 +83,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 44
}
"range": [
43,
44
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 47,
"end": 49
}
"range": [
47,
49
]
},
"loc": null,
"range": {
"start": 43,
"end": 49
}
"range": [
43,
49
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 50
}
"range": [
39,
50
]
},
{
"type": "ExpressionStatement",
@@ -122,50 +122,50 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 56
}
"range": [
55,
56
]
},
"computed": false,
"loc": null,
"range": {
"start": 53,
"end": 56
}
"range": [
53,
56
]
},
"right": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 60
}
"range": [
59,
60
]
},
"loc": null,
"range": {
"start": 53,
"end": 60
}
"range": [
53,
60
]
},
"directive": null,
"loc": null,
"range": {
"start": 53,
"end": 61
}
"range": [
53,
61
]
},
{
"type": "VariableDeclaration",
@@ -178,32 +178,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 68,
"end": 69
}
"range": [
68,
69
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 72,
"end": 74
}
"range": [
72,
74
]
},
"loc": null,
"range": {
"start": 68,
"end": 74
}
"range": [
68,
74
]
}
],
"loc": null,
"range": {
"start": 64,
"end": 75
}
"range": [
64,
75
]
},
{
"type": "ExpressionStatement",
@@ -217,50 +217,50 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"computed": false,
"loc": null,
"range": {
"start": 78,
"end": 81
}
"range": [
78,
81
]
},
"right": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 78,
"end": 85
}
"range": [
78,
85
]
},
"directive": null,
"loc": null,
"range": {
"start": 78,
"end": 86
}
"range": [
78,
86
]
},
{
"type": "ReturnStatement",
@@ -269,42 +269,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 96,
"end": 97
}
"range": [
96,
97
]
},
"loc": null,
"range": {
"start": 89,
"end": 98
}
"range": [
89,
98
]
}
],
"loc": null,
"range": {
"start": 21,
"end": 100
}
"range": [
21,
100
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 100
},
"range": [
0,
100
],
"loc": null,
"range": {
"start": 0,
"end": 100
}
"range": [
0,
100
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 100
}
"range": [
0,
100
]
}
@@ -35,10 +35,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -46,10 +46,10 @@ Output:
"name": "cond",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 17
}
"range": [
13,
17
]
}
],
"body": {
@@ -66,32 +66,32 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 27,
"end": 28
}
"range": [
27,
28
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 31,
"end": 33
}
"range": [
31,
33
]
},
"loc": null,
"range": {
"start": 27,
"end": 33
}
"range": [
27,
33
]
}
],
"loc": null,
"range": {
"start": 23,
"end": 34
}
"range": [
23,
34
]
},
{
"type": "VariableDeclaration",
@@ -104,32 +104,32 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 45,
"end": 47
}
"range": [
45,
47
]
},
"loc": null,
"range": {
"start": 41,
"end": 47
}
"range": [
41,
47
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 48
}
"range": [
37,
48
]
},
{
"type": "VariableDeclaration",
@@ -142,32 +142,32 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 56
}
"range": [
55,
56
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 59,
"end": 61
}
"range": [
59,
61
]
},
"loc": null,
"range": {
"start": 55,
"end": 61
}
"range": [
55,
61
]
}
],
"loc": null,
"range": {
"start": 51,
"end": 62
}
"range": [
51,
62
]
},
{
"type": "WhileStatement",
@@ -176,10 +176,10 @@ Output:
"name": "cond",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 76
}
"range": [
72,
76
]
},
"body": {
"type": "BlockStatement",
@@ -195,33 +195,33 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 88,
"end": 89
}
"range": [
88,
89
]
},
"init": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"loc": null,
"range": {
"start": 88,
"end": 93
}
"range": [
88,
93
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 94
}
"range": [
84,
94
]
},
{
"type": "ExpressionStatement",
@@ -233,33 +233,33 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"right": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 103,
"end": 104
}
"range": [
103,
104
]
},
"loc": null,
"range": {
"start": 99,
"end": 104
}
"range": [
99,
104
]
},
"directive": null,
"loc": null,
"range": {
"start": 99,
"end": 105
}
"range": [
99,
105
]
},
{
"type": "ExpressionStatement",
@@ -271,33 +271,33 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 111
}
"range": [
110,
111
]
},
"right": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 114,
"end": 115
}
"range": [
114,
115
]
},
"loc": null,
"range": {
"start": 110,
"end": 115
}
"range": [
110,
115
]
},
"directive": null,
"loc": null,
"range": {
"start": 110,
"end": 116
}
"range": [
110,
116
]
},
{
"type": "ExpressionStatement",
@@ -309,33 +309,33 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 121,
"end": 122
}
"range": [
121,
122
]
},
"right": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 125,
"end": 126
}
"range": [
125,
126
]
},
"loc": null,
"range": {
"start": 121,
"end": 126
}
"range": [
121,
126
]
},
"directive": null,
"loc": null,
"range": {
"start": 121,
"end": 127
}
"range": [
121,
127
]
},
{
"type": "ExpressionStatement",
@@ -346,10 +346,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 132,
"end": 138
}
"range": [
132,
138
]
},
"arguments": [
{
@@ -357,47 +357,47 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 139,
"end": 140
}
"range": [
139,
140
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 142,
"end": 143
}
"range": [
142,
143
]
}
],
"loc": null,
"range": {
"start": 132,
"end": 144
}
"range": [
132,
144
]
},
"directive": null,
"loc": null,
"range": {
"start": 132,
"end": 145
}
"range": [
132,
145
]
}
],
"loc": null,
"range": {
"start": 78,
"end": 149
}
"range": [
78,
149
]
},
"loc": null,
"range": {
"start": 65,
"end": 149
}
"range": [
65,
149
]
},
{
"type": "ExpressionStatement",
@@ -406,17 +406,17 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 152,
"end": 153
}
"range": [
152,
153
]
},
"directive": null,
"loc": null,
"range": {
"start": 152,
"end": 154
}
"range": [
152,
154
]
},
{
"type": "ExpressionStatement",
@@ -425,17 +425,17 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 157,
"end": 158
}
"range": [
157,
158
]
},
"directive": null,
"loc": null,
"range": {
"start": 157,
"end": 159
}
"range": [
157,
159
]
},
{
"type": "ExpressionStatement",
@@ -444,17 +444,17 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 162,
"end": 163
}
"range": [
162,
163
]
},
"directive": null,
"loc": null,
"range": {
"start": 162,
"end": 164
}
"range": [
162,
164
]
},
{
"type": "ReturnStatement",
@@ -463,36 +463,36 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 174,
"end": 175
}
"range": [
174,
175
]
},
"loc": null,
"range": {
"start": 167,
"end": 176
}
"range": [
167,
176
]
}
],
"loc": null,
"range": {
"start": 19,
"end": 178
}
"range": [
19,
178
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 178
},
"range": [
0,
178
],
"loc": null,
"range": {
"start": 0,
"end": 178
}
"range": [
0,
178
]
},
{
"type": "FunctionDeclaration",
@@ -501,10 +501,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 189,
"end": 195
}
"range": [
189,
195
]
},
"params": [
{
@@ -512,49 +512,49 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 196,
"end": 197
}
"range": [
196,
197
]
},
{
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 199,
"end": 200
}
"range": [
199,
200
]
}
],
"body": {
"type": "BlockStatement",
"body": [],
"loc": null,
"range": {
"start": 202,
"end": 204
}
"range": [
202,
204
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 180,
"end": 204
},
"range": [
180,
204
],
"loc": null,
"range": {
"start": 180,
"end": 204
}
"range": [
180,
204
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 204
}
"range": [
0,
204
]
}
@@ -28,10 +28,10 @@ Output:
"name": "AllocatingPrimitiveAsDepNested",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 202,
"end": 232
}
"range": [
202,
232
]
},
"params": [
{
@@ -39,10 +39,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 233,
"end": 238
}
"range": [
233,
238
]
}
],
"body": {
@@ -59,32 +59,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 248,
"end": 249
}
"range": [
248,
249
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 252,
"end": 254
}
"range": [
252,
254
]
},
"loc": null,
"range": {
"start": 248,
"end": 254
}
"range": [
248,
254
]
}
],
"loc": null,
"range": {
"start": 244,
"end": 255
}
"range": [
244,
255
]
},
{
"type": "ExpressionStatement",
@@ -95,10 +95,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 258,
"end": 264
}
"range": [
258,
264
]
},
"arguments": [
{
@@ -106,24 +106,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 265,
"end": 266
}
"range": [
265,
266
]
}
],
"loc": null,
"range": {
"start": 258,
"end": 267
}
"range": [
258,
267
]
},
"directive": null,
"loc": null,
"range": {
"start": 258,
"end": 268
}
"range": [
258,
268
]
},
{
"type": "VariableDeclaration",
@@ -136,10 +136,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 275,
"end": 276
}
"range": [
275,
276
]
},
"init": {
"type": "CallExpression",
@@ -148,10 +148,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 279,
"end": 282
}
"range": [
279,
282
]
},
"arguments": [
{
@@ -163,10 +163,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 283,
"end": 286
}
"range": [
283,
286
]
},
"arguments": [
{
@@ -176,70 +176,70 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 287,
"end": 292
}
"range": [
287,
292
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 293,
"end": 294
}
"range": [
293,
294
]
},
"computed": false,
"loc": null,
"range": {
"start": 287,
"end": 294
}
"range": [
287,
294
]
}
],
"loc": null,
"range": {
"start": 283,
"end": 295
}
"range": [
283,
295
]
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 298,
"end": 299
}
"range": [
298,
299
]
},
"loc": null,
"range": {
"start": 283,
"end": 299
}
"range": [
283,
299
]
}
],
"loc": null,
"range": {
"start": 279,
"end": 300
}
"range": [
279,
300
]
},
"loc": null,
"range": {
"start": 275,
"end": 300
}
"range": [
275,
300
]
}
],
"loc": null,
"range": {
"start": 271,
"end": 301
}
"range": [
271,
301
]
},
{
"type": "ExpressionStatement",
@@ -250,10 +250,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 304,
"end": 310
}
"range": [
304,
310
]
},
"arguments": [
{
@@ -261,10 +261,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 311,
"end": 312
}
"range": [
311,
312
]
},
{
"type": "MemberExpression",
@@ -273,41 +273,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 314,
"end": 319
}
"range": [
314,
319
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 320,
"end": 321
}
"range": [
320,
321
]
},
"computed": false,
"loc": null,
"range": {
"start": 314,
"end": 321
}
"range": [
314,
321
]
}
],
"loc": null,
"range": {
"start": 304,
"end": 322
}
"range": [
304,
322
]
},
"directive": null,
"loc": null,
"range": {
"start": 304,
"end": 323
}
"range": [
304,
323
]
},
{
"type": "ReturnStatement",
@@ -319,59 +319,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 334,
"end": 335
}
"range": [
334,
335
]
},
{
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 337,
"end": 338
}
"range": [
337,
338
]
}
],
"loc": null,
"range": {
"start": 333,
"end": 339
}
"range": [
333,
339
]
},
"loc": null,
"range": {
"start": 326,
"end": 340
}
"range": [
326,
340
]
}
],
"loc": null,
"range": {
"start": 240,
"end": 342
}
"range": [
240,
342
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 193,
"end": 342
},
"range": [
193,
342
],
"loc": null,
"range": {
"start": 193,
"end": 342
}
"range": [
193,
342
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 193,
"end": 342
}
"range": [
193,
342
]
}
@@ -25,10 +25,10 @@ Output:
"name": "AllocatingPrimitiveAsDep",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 202,
"end": 226
}
"range": [
202,
226
]
},
"params": [
{
@@ -36,10 +36,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 227,
"end": 232
}
"range": [
227,
232
]
}
],
"body": {
@@ -56,10 +56,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 242,
"end": 243
}
"range": [
242,
243
]
},
"init": {
"type": "CallExpression",
@@ -68,10 +68,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 246,
"end": 249
}
"range": [
246,
249
]
},
"arguments": [
{
@@ -85,10 +85,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 250,
"end": 253
}
"range": [
250,
253
]
},
"arguments": [
{
@@ -96,70 +96,70 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 254,
"end": 259
}
"range": [
254,
259
]
}
],
"loc": null,
"range": {
"start": 250,
"end": 260
}
"range": [
250,
260
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 261,
"end": 262
}
"range": [
261,
262
]
},
"computed": false,
"loc": null,
"range": {
"start": 250,
"end": 262
}
"range": [
250,
262
]
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 265,
"end": 266
}
"range": [
265,
266
]
},
"loc": null,
"range": {
"start": 250,
"end": 266
}
"range": [
250,
266
]
}
],
"loc": null,
"range": {
"start": 246,
"end": 267
}
"range": [
246,
267
]
},
"loc": null,
"range": {
"start": 242,
"end": 267
}
"range": [
242,
267
]
}
],
"loc": null,
"range": {
"start": 238,
"end": 268
}
"range": [
238,
268
]
},
{
"type": "ReturnStatement",
@@ -168,42 +168,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 278,
"end": 279
}
"range": [
278,
279
]
},
"loc": null,
"range": {
"start": 271,
"end": 280
}
"range": [
271,
280
]
}
],
"loc": null,
"range": {
"start": 234,
"end": 282
}
"range": [
234,
282
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 193,
"end": 282
},
"range": [
193,
282
],
"loc": null,
"range": {
"start": 193,
"end": 282
}
"range": [
193,
282
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 193,
"end": 282
}
"range": [
193,
282
]
}
@@ -21,10 +21,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "ref",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 39
}
"range": [
36,
39
]
},
"init": {
"type": "CallExpression",
@@ -64,39 +64,39 @@ Output:
"name": "useRef",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 42,
"end": 48
}
"range": [
42,
48
]
},
"arguments": [
{
"type": "NullLiteral",
"loc": null,
"range": {
"start": 49,
"end": 53
}
"range": [
49,
53
]
}
],
"loc": null,
"range": {
"start": 42,
"end": 54
}
"range": [
42,
54
]
},
"loc": null,
"range": {
"start": 36,
"end": 54
}
"range": [
36,
54
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 55
}
"range": [
30,
55
]
},
{
"type": "ReturnStatement",
@@ -108,10 +108,10 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 66,
"end": 69
}
"range": [
66,
69
]
},
"attributes": [
{
@@ -120,10 +120,10 @@ Output:
"type": "JSXIdentifier",
"name": "ref",
"loc": null,
"range": {
"start": 70,
"end": 73
}
"range": [
70,
73
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -132,70 +132,70 @@ Output:
"name": "ref",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 75,
"end": 78
}
"range": [
75,
78
]
},
"loc": null,
"range": {
"start": 74,
"end": 79
}
"range": [
74,
79
]
},
"loc": null,
"range": {
"start": 70,
"end": 79
}
"range": [
70,
79
]
}
],
"selfClosing": true,
"loc": null,
"range": {
"start": 65,
"end": 82
}
"range": [
65,
82
]
},
"children": [],
"closingElement": null,
"loc": null,
"range": {
"start": 65,
"end": 82
}
"range": [
65,
82
]
},
"loc": null,
"range": {
"start": 58,
"end": 83
}
"range": [
58,
83
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 85
}
"range": [
26,
85
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 85
},
"range": [
0,
85
],
"loc": null,
"range": {
"start": 0,
"end": 85
}
"range": [
0,
85
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 85
}
"range": [
0,
85
]
}
@@ -25,10 +25,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -36,30 +36,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 14
}
"range": [
13,
14
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 16,
"end": 17
}
"range": [
16,
17
]
},
{
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -76,10 +76,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 32,
"end": 33
}
"range": [
32,
33
]
},
"init": {
"type": "ArrayExpression",
@@ -89,30 +89,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
}
],
"loc": null,
"range": {
"start": 36,
"end": 39
}
"range": [
36,
39
]
},
"loc": null,
"range": {
"start": 32,
"end": 39
}
"range": [
32,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -125,10 +125,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 49,
"end": 50
}
"range": [
49,
50
]
},
"init": {
"type": "ArrayExpression",
@@ -136,40 +136,40 @@ Output:
{
"type": "NullLiteral",
"loc": null,
"range": {
"start": 54,
"end": 58
}
"range": [
54,
58
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 61
}
"range": [
60,
61
]
}
],
"loc": null,
"range": {
"start": 53,
"end": 62
}
"range": [
53,
62
]
},
"loc": null,
"range": {
"start": 49,
"end": 62
}
"range": [
49,
62
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 63
}
"range": [
43,
63
]
},
{
"type": "VariableDeclaration",
@@ -182,10 +182,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"init": {
"type": "ArrayExpression",
@@ -194,19 +194,19 @@ Output:
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 77,
"end": 79
}
"range": [
77,
79
]
},
{
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 81,
"end": 83
}
"range": [
81,
83
]
},
{
"type": "ArrayExpression",
@@ -216,37 +216,37 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 86,
"end": 87
}
"range": [
86,
87
]
}
],
"loc": null,
"range": {
"start": 85,
"end": 88
}
"range": [
85,
88
]
}
],
"loc": null,
"range": {
"start": 76,
"end": 89
}
"range": [
76,
89
]
},
"loc": null,
"range": {
"start": 72,
"end": 89
}
"range": [
72,
89
]
}
],
"loc": null,
"range": {
"start": 66,
"end": 90
}
"range": [
66,
90
]
},
{
"type": "ExpressionStatement",
@@ -260,26 +260,26 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 93,
"end": 94
}
"range": [
93,
94
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 95,
"end": 96
}
"range": [
95,
96
]
},
"computed": true,
"loc": null,
"range": {
"start": 93,
"end": 97
}
"range": [
93,
97
]
},
"right": {
"type": "MemberExpression",
@@ -288,39 +288,39 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"property": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 102,
"end": 103
}
"range": [
102,
103
]
},
"computed": true,
"loc": null,
"range": {
"start": 100,
"end": 104
}
"range": [
100,
104
]
},
"loc": null,
"range": {
"start": 93,
"end": 104
}
"range": [
93,
104
]
},
"directive": null,
"loc": null,
"range": {
"start": 93,
"end": 105
}
"range": [
93,
105
]
},
{
"type": "ExpressionStatement",
@@ -336,42 +336,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 108,
"end": 109
}
"range": [
108,
109
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 110,
"end": 111
}
"range": [
110,
111
]
},
"computed": true,
"loc": null,
"range": {
"start": 108,
"end": 112
}
"range": [
108,
112
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"computed": true,
"loc": null,
"range": {
"start": 108,
"end": 115
}
"range": [
108,
115
]
},
"right": {
"type": "MemberExpression",
@@ -380,39 +380,39 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 118,
"end": 119
}
"range": [
118,
119
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 120,
"end": 121
}
"range": [
120,
121
]
},
"computed": true,
"loc": null,
"range": {
"start": 118,
"end": 122
}
"range": [
118,
122
]
},
"loc": null,
"range": {
"start": 108,
"end": 122
}
"range": [
108,
122
]
},
"directive": null,
"loc": null,
"range": {
"start": 108,
"end": 123
}
"range": [
108,
123
]
},
{
"type": "ReturnStatement",
@@ -424,59 +424,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 134,
"end": 135
}
"range": [
134,
135
]
},
{
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 137,
"end": 138
}
"range": [
137,
138
]
}
],
"loc": null,
"range": {
"start": 133,
"end": 139
}
"range": [
133,
139
]
},
"loc": null,
"range": {
"start": 126,
"end": 140
}
"range": [
126,
140
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 142
}
"range": [
22,
142
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 142
},
"range": [
0,
142
],
"loc": null,
"range": {
"start": 0,
"end": 142
}
"range": [
0,
142
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 142
}
"range": [
0,
142
]
}
@@ -26,10 +26,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "CallExpression",
@@ -69,10 +69,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 40,
"end": 43
}
"range": [
40,
43
]
},
"arguments": [
{
@@ -82,47 +82,47 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 44,
"end": 49
}
"range": [
44,
49
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"computed": false,
"loc": null,
"range": {
"start": 44,
"end": 51
}
"range": [
44,
51
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 52
}
"range": [
40,
52
]
},
"loc": null,
"range": {
"start": 36,
"end": 52
}
"range": [
36,
52
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 53
}
"range": [
30,
53
]
},
{
"type": "VariableDeclaration",
@@ -135,10 +135,10 @@ Output:
"name": "fn",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 64
}
"range": [
62,
64
]
},
"init": {
"type": "FunctionExpression",
@@ -158,10 +158,10 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 94
}
"range": [
91,
94
]
},
"init": {
"type": "ArrayExpression",
@@ -175,10 +175,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 101,
"end": 104
}
"range": [
101,
104
]
},
"arguments": [
{
@@ -186,43 +186,43 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 110
}
"range": [
105,
110
]
}
],
"loc": null,
"range": {
"start": 101,
"end": 111
}
"range": [
101,
111
]
},
"loc": null,
"range": {
"start": 98,
"end": 111
}
"range": [
98,
111
]
}
],
"loc": null,
"range": {
"start": 97,
"end": 112
}
"range": [
97,
112
]
},
"loc": null,
"range": {
"start": 91,
"end": 112
}
"range": [
91,
112
]
}
],
"loc": null,
"range": {
"start": 85,
"end": 113
}
"range": [
85,
113
]
},
{
"type": "ReturnStatement",
@@ -235,27 +235,27 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 125,
"end": 128
}
"range": [
125,
128
]
},
"property": {
"type": "Identifier",
"name": "at",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 129,
"end": 131
}
"range": [
129,
131
]
},
"computed": false,
"loc": null,
"range": {
"start": 125,
"end": 131
}
"range": [
125,
131
]
},
"arguments": [
{
@@ -263,56 +263,56 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 132,
"end": 133
}
"range": [
132,
133
]
}
],
"loc": null,
"range": {
"start": 125,
"end": 134
}
"range": [
125,
134
]
},
"loc": null,
"range": {
"start": 118,
"end": 135
}
"range": [
118,
135
]
}
],
"loc": null,
"range": {
"start": 79,
"end": 139
}
"range": [
79,
139
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 67,
"end": 139
},
"range": [
67,
139
],
"loc": null,
"range": {
"start": 67,
"end": 139
}
"range": [
67,
139
]
},
"loc": null,
"range": {
"start": 62,
"end": 139
}
"range": [
62,
139
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 140
}
"range": [
56,
140
]
},
{
"type": "VariableDeclaration",
@@ -325,10 +325,10 @@ Output:
"name": "fnResult",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 149,
"end": 157
}
"range": [
149,
157
]
},
"init": {
"type": "CallExpression",
@@ -337,30 +337,30 @@ Output:
"name": "fn",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 160,
"end": 162
}
"range": [
160,
162
]
},
"arguments": [],
"loc": null,
"range": {
"start": 160,
"end": 164
}
"range": [
160,
164
]
},
"loc": null,
"range": {
"start": 149,
"end": 164
}
"range": [
149,
164
]
}
],
"loc": null,
"range": {
"start": 143,
"end": 165
}
"range": [
143,
165
]
},
{
"type": "ReturnStatement",
@@ -369,42 +369,42 @@ Output:
"name": "fnResult",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 175,
"end": 183
}
"range": [
175,
183
]
},
"loc": null,
"range": {
"start": 168,
"end": 184
}
"range": [
168,
184
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 186
}
"range": [
26,
186
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 186
},
"range": [
0,
186
],
"loc": null,
"range": {
"start": 0,
"end": 186
}
"range": [
0,
186
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 186
}
"range": [
0,
186
]
}
@@ -26,10 +26,10 @@ Output:
"name": "ArrayAtTest",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 129,
"end": 140
}
"range": [
129,
140
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 141,
"end": 146
}
"range": [
141,
146
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 158,
"end": 161
}
"range": [
158,
161
]
},
"init": {
"type": "ArrayExpression",
@@ -72,10 +72,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 165,
"end": 168
}
"range": [
165,
168
]
},
"arguments": [
{
@@ -85,54 +85,54 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 169,
"end": 174
}
"range": [
169,
174
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 175,
"end": 176
}
"range": [
175,
176
]
},
"computed": false,
"loc": null,
"range": {
"start": 169,
"end": 176
}
"range": [
169,
176
]
}
],
"loc": null,
"range": {
"start": 165,
"end": 177
}
"range": [
165,
177
]
}
],
"loc": null,
"range": {
"start": 164,
"end": 178
}
"range": [
164,
178
]
},
"loc": null,
"range": {
"start": 158,
"end": 178
}
"range": [
158,
178
]
}
],
"loc": null,
"range": {
"start": 152,
"end": 179
}
"range": [
152,
179
]
},
{
"type": "VariableDeclaration",
@@ -145,10 +145,10 @@ Output:
"name": "result",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 188,
"end": 194
}
"range": [
188,
194
]
},
"init": {
"type": "CallExpression",
@@ -159,27 +159,27 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 197,
"end": 200
}
"range": [
197,
200
]
},
"property": {
"type": "Identifier",
"name": "at",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 201,
"end": 203
}
"range": [
201,
203
]
},
"computed": false,
"loc": null,
"range": {
"start": 197,
"end": 203
}
"range": [
197,
203
]
},
"arguments": [
{
@@ -189,10 +189,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 204,
"end": 207
}
"range": [
204,
207
]
},
"arguments": [
{
@@ -202,54 +202,54 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 208,
"end": 213
}
"range": [
208,
213
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 214,
"end": 215
}
"range": [
214,
215
]
},
"computed": false,
"loc": null,
"range": {
"start": 208,
"end": 215
}
"range": [
208,
215
]
}
],
"loc": null,
"range": {
"start": 204,
"end": 216
}
"range": [
204,
216
]
}
],
"loc": null,
"range": {
"start": 197,
"end": 217
}
"range": [
197,
217
]
},
"loc": null,
"range": {
"start": 188,
"end": 217
}
"range": [
188,
217
]
}
],
"loc": null,
"range": {
"start": 182,
"end": 218
}
"range": [
182,
218
]
},
{
"type": "ReturnStatement",
@@ -258,42 +258,42 @@ Output:
"name": "result",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 228,
"end": 234
}
"range": [
228,
234
]
},
"loc": null,
"range": {
"start": 221,
"end": 235
}
"range": [
221,
235
]
}
],
"loc": null,
"range": {
"start": 148,
"end": 237
}
"range": [
148,
237
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 120,
"end": 237
},
"range": [
120,
237
],
"loc": null,
"range": {
"start": 120,
"end": 237
}
"range": [
120,
237
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 120,
"end": 237
}
"range": [
120,
237
]
}
@@ -27,10 +27,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 69
}
"range": [
60,
69
]
},
"params": [
{
@@ -38,10 +38,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 70,
"end": 75
}
"range": [
70,
75
]
}
],
"body": {
@@ -58,10 +58,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
"init": {
"type": "ArrayExpression",
@@ -70,39 +70,39 @@ Output:
"type": "NumericLiteral",
"value": 42.0,
"loc": null,
"range": {
"start": 90,
"end": 92
}
"range": [
90,
92
]
},
{
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 94,
"end": 96
}
"range": [
94,
96
]
}
],
"loc": null,
"range": {
"start": 89,
"end": 97
}
"range": [
89,
97
]
},
"loc": null,
"range": {
"start": 85,
"end": 97
}
"range": [
85,
97
]
}
],
"loc": null,
"range": {
"start": 81,
"end": 98
}
"range": [
81,
98
]
},
{
"type": "VariableDeclaration",
@@ -115,10 +115,10 @@ Output:
"name": "idx",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 107,
"end": 110
}
"range": [
107,
110
]
},
"init": {
"type": "CallExpression",
@@ -127,10 +127,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 116
}
"range": [
113,
116
]
},
"arguments": [
{
@@ -140,47 +140,47 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 117,
"end": 122
}
"range": [
117,
122
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 123,
"end": 124
}
"range": [
123,
124
]
},
"computed": false,
"loc": null,
"range": {
"start": 117,
"end": 124
}
"range": [
117,
124
]
}
],
"loc": null,
"range": {
"start": 113,
"end": 125
}
"range": [
113,
125
]
},
"loc": null,
"range": {
"start": 107,
"end": 125
}
"range": [
107,
125
]
}
],
"loc": null,
"range": {
"start": 101,
"end": 126
}
"range": [
101,
126
]
},
{
"type": "VariableDeclaration",
@@ -193,10 +193,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 133,
"end": 134
}
"range": [
133,
134
]
},
"init": {
"type": "CallExpression",
@@ -207,27 +207,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 137,
"end": 138
}
"range": [
137,
138
]
},
"property": {
"type": "Identifier",
"name": "at",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 139,
"end": 141
}
"range": [
139,
141
]
},
"computed": false,
"loc": null,
"range": {
"start": 137,
"end": 141
}
"range": [
137,
141
]
},
"arguments": [
{
@@ -235,30 +235,30 @@ Output:
"name": "idx",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 142,
"end": 145
}
"range": [
142,
145
]
}
],
"loc": null,
"range": {
"start": 137,
"end": 146
}
"range": [
137,
146
]
},
"loc": null,
"range": {
"start": 133,
"end": 146
}
"range": [
133,
146
]
}
],
"loc": null,
"range": {
"start": 129,
"end": 147
}
"range": [
129,
147
]
},
{
"type": "ExpressionStatement",
@@ -269,10 +269,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 150,
"end": 156
}
"range": [
150,
156
]
},
"arguments": [
{
@@ -280,24 +280,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 157,
"end": 158
}
"range": [
157,
158
]
}
],
"loc": null,
"range": {
"start": 150,
"end": 159
}
"range": [
150,
159
]
},
"directive": null,
"loc": null,
"range": {
"start": 150,
"end": 160
}
"range": [
150,
160
]
},
{
"type": "ReturnStatement",
@@ -306,42 +306,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 171,
"end": 172
}
"range": [
171,
172
]
},
"loc": null,
"range": {
"start": 164,
"end": 173
}
"range": [
164,
173
]
}
],
"loc": null,
"range": {
"start": 77,
"end": 175
}
"range": [
77,
175
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 175
},
"range": [
51,
175
],
"loc": null,
"range": {
"start": 51,
"end": 175
}
"range": [
51,
175
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 51,
"end": 175
}
"range": [
51,
175
]
}
@@ -21,10 +21,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
@@ -64,10 +64,10 @@ Output:
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
{
"type": "SpreadElement",
@@ -78,41 +78,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 52
}
"range": [
47,
52
]
},
"property": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 56
}
"range": [
53,
56
]
},
"computed": false,
"loc": null,
"range": {
"start": 47,
"end": 56
}
"range": [
47,
56
]
},
"loc": null,
"range": {
"start": 44,
"end": 56
}
"range": [
44,
56
]
},
{
"type": "NullLiteral",
"loc": null,
"range": {
"start": 58,
"end": 62
}
"range": [
58,
62
]
},
{
"type": "SpreadElement",
@@ -123,62 +123,62 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 72
}
"range": [
67,
72
]
},
"property": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 76
}
"range": [
73,
76
]
},
"computed": false,
"loc": null,
"range": {
"start": 67,
"end": 76
}
"range": [
67,
76
]
},
"loc": null,
"range": {
"start": 64,
"end": 76
}
"range": [
64,
76
]
},
{
"type": "StringLiteral",
"value": "z",
"loc": null,
"range": {
"start": 78,
"end": 81
}
"range": [
78,
81
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 82
}
"range": [
40,
82
]
},
"loc": null,
"range": {
"start": 36,
"end": 82
}
"range": [
36,
82
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 83
}
"range": [
30,
83
]
},
{
"type": "ReturnStatement",
@@ -187,42 +187,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 93,
"end": 94
}
"range": [
93,
94
]
},
"loc": null,
"range": {
"start": 86,
"end": 95
}
"range": [
86,
95
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 97
}
"range": [
26,
97
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 97
},
"range": [
0,
97
],
"loc": null,
"range": {
"start": 0,
"end": 97
}
"range": [
0,
97
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 97
}
"range": [
0,
97
]
}
@@ -23,10 +23,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -34,10 +34,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -54,10 +54,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
@@ -66,19 +66,19 @@ Output:
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 41,
"end": 43
}
"range": [
41,
43
]
},
{
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 45,
"end": 47
}
"range": [
45,
47
]
},
{
"type": "MemberExpression",
@@ -87,47 +87,47 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 49,
"end": 54
}
"range": [
49,
54
]
},
"property": {
"type": "Identifier",
"name": "value",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 60
}
"range": [
55,
60
]
},
"computed": false,
"loc": null,
"range": {
"start": 49,
"end": 60
}
"range": [
49,
60
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 61
}
"range": [
40,
61
]
},
"loc": null,
"range": {
"start": 36,
"end": 61
}
"range": [
36,
61
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 62
}
"range": [
30,
62
]
},
{
"type": "VariableDeclaration",
@@ -140,10 +140,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 71,
"end": 72
}
"range": [
71,
72
]
},
"init": {
"type": "CallExpression",
@@ -154,27 +154,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 75,
"end": 76
}
"range": [
75,
76
]
},
"property": {
"type": "Identifier",
"name": "join",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 81
}
"range": [
77,
81
]
},
"computed": false,
"loc": null,
"range": {
"start": 75,
"end": 81
}
"range": [
75,
81
]
},
"arguments": [
{
@@ -185,44 +185,44 @@ Output:
"type": "StringLiteral",
"value": "this closure gets stringified, not called",
"loc": null,
"range": {
"start": 88,
"end": 131
}
"range": [
88,
131
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 82,
"end": 131
},
"range": [
82,
131
],
"expression": true,
"loc": null,
"range": {
"start": 82,
"end": 131
}
"range": [
82,
131
]
}
],
"loc": null,
"range": {
"start": 75,
"end": 132
}
"range": [
75,
132
]
},
"loc": null,
"range": {
"start": 71,
"end": 132
}
"range": [
71,
132
]
}
],
"loc": null,
"range": {
"start": 65,
"end": 133
}
"range": [
65,
133
]
},
{
"type": "ExpressionStatement",
@@ -233,10 +233,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 136,
"end": 139
}
"range": [
136,
139
]
},
"arguments": [
{
@@ -244,24 +244,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 140,
"end": 141
}
"range": [
140,
141
]
}
],
"loc": null,
"range": {
"start": 136,
"end": 142
}
"range": [
136,
142
]
},
"directive": null,
"loc": null,
"range": {
"start": 136,
"end": 143
}
"range": [
136,
143
]
},
{
"type": "ReturnStatement",
@@ -273,59 +273,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 154,
"end": 155
}
"range": [
154,
155
]
},
{
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 157,
"end": 158
}
"range": [
157,
158
]
}
],
"loc": null,
"range": {
"start": 153,
"end": 159
}
"range": [
153,
159
]
},
"loc": null,
"range": {
"start": 146,
"end": 160
}
"range": [
146,
160
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 162
}
"range": [
26,
162
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 162
},
"range": [
0,
162
],
"loc": null,
"range": {
"start": 0,
"end": 162
}
"range": [
0,
162
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 162
}
"range": [
0,
162
]
}
@@ -23,10 +23,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -34,10 +34,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -54,32 +54,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 40,
"end": 42
}
"range": [
40,
42
]
},
"loc": null,
"range": {
"start": 36,
"end": 42
}
"range": [
36,
42
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 43
}
"range": [
30,
43
]
},
{
"type": "ExpressionStatement",
@@ -91,18 +91,18 @@ Output:
"type": "JSXIdentifier",
"name": "dif",
"loc": null,
"range": {
"start": 47,
"end": 50
}
"range": [
47,
50
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 46,
"end": 51
}
"range": [
46,
51
]
},
"children": [
{
@@ -112,16 +112,16 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 53
}
"range": [
52,
53
]
},
"loc": null,
"range": {
"start": 51,
"end": 54
}
"range": [
51,
54
]
}
],
"closingElement": {
@@ -130,29 +130,29 @@ Output:
"type": "JSXIdentifier",
"name": "dif",
"loc": null,
"range": {
"start": 56,
"end": 59
}
"range": [
56,
59
]
},
"loc": null,
"range": {
"start": 54,
"end": 60
}
"range": [
54,
60
]
},
"loc": null,
"range": {
"start": 46,
"end": 60
}
"range": [
46,
60
]
},
"directive": null,
"loc": null,
"range": {
"start": 46,
"end": 61
}
"range": [
46,
61
]
},
{
"type": "VariableDeclaration",
@@ -165,10 +165,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 70,
"end": 71
}
"range": [
70,
71
]
},
"init": {
"type": "CallExpression",
@@ -179,27 +179,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 74,
"end": 75
}
"range": [
74,
75
]
},
"property": {
"type": "Identifier",
"name": "map",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 79
}
"range": [
76,
79
]
},
"computed": false,
"loc": null,
"range": {
"start": 74,
"end": 79
}
"range": [
74,
79
]
},
"arguments": [
{
@@ -211,10 +211,10 @@ Output:
"name": "item",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 85
}
"range": [
81,
85
]
}
],
"body": {
@@ -222,44 +222,44 @@ Output:
"name": "item",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 94
}
"range": [
90,
94
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 80,
"end": 94
},
"range": [
80,
94
],
"expression": true,
"loc": null,
"range": {
"start": 80,
"end": 94
}
"range": [
80,
94
]
}
],
"loc": null,
"range": {
"start": 74,
"end": 95
}
"range": [
74,
95
]
},
"loc": null,
"range": {
"start": 70,
"end": 95
}
"range": [
70,
95
]
}
],
"loc": null,
"range": {
"start": 64,
"end": 96
}
"range": [
64,
96
]
},
{
"type": "ReturnStatement",
@@ -271,59 +271,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 107,
"end": 108
}
"range": [
107,
108
]
},
{
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 111
}
"range": [
110,
111
]
}
],
"loc": null,
"range": {
"start": 106,
"end": 112
}
"range": [
106,
112
]
},
"loc": null,
"range": {
"start": 99,
"end": 113
}
"range": [
99,
113
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 115
}
"range": [
26,
115
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 115
},
"range": [
0,
115
],
"loc": null,
"range": {
"start": 0,
"end": 115
}
"range": [
0,
115
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 115
}
"range": [
0,
115
]
}
@@ -25,10 +25,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -36,10 +36,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -56,32 +56,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 40,
"end": 42
}
"range": [
40,
42
]
},
"loc": null,
"range": {
"start": 36,
"end": 42
}
"range": [
36,
42
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 43
}
"range": [
30,
43
]
},
{
"type": "VariableDeclaration",
@@ -94,10 +94,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 53
}
"range": [
52,
53
]
},
"init": {
"type": "CallExpression",
@@ -108,27 +108,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"property": {
"type": "Identifier",
"name": "map",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 61
}
"range": [
58,
61
]
},
"computed": false,
"loc": null,
"range": {
"start": 56,
"end": 61
}
"range": [
56,
61
]
},
"arguments": [
{
@@ -140,10 +140,10 @@ Output:
"name": "item",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 63,
"end": 67
}
"range": [
63,
67
]
}
],
"body": {
@@ -161,49 +161,49 @@ Output:
"name": "item",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 82
}
"range": [
78,
82
]
},
"property": {
"type": "Identifier",
"name": "updated",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 83,
"end": 90
}
"range": [
83,
90
]
},
"computed": false,
"loc": null,
"range": {
"start": 78,
"end": 90
}
"range": [
78,
90
]
},
"right": {
"type": "BooleanLiteral",
"value": true,
"loc": null,
"range": {
"start": 93,
"end": 97
}
"range": [
93,
97
]
},
"loc": null,
"range": {
"start": 78,
"end": 97
}
"range": [
78,
97
]
},
"directive": null,
"loc": null,
"range": {
"start": 78,
"end": 98
}
"range": [
78,
98
]
},
{
"type": "ReturnStatement",
@@ -212,57 +212,57 @@ Output:
"name": "item",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 114
}
"range": [
110,
114
]
},
"loc": null,
"range": {
"start": 103,
"end": 115
}
"range": [
103,
115
]
}
],
"loc": null,
"range": {
"start": 72,
"end": 119
}
"range": [
72,
119
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 62,
"end": 119
},
"range": [
62,
119
],
"expression": false,
"loc": null,
"range": {
"start": 62,
"end": 119
}
"range": [
62,
119
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 120
}
"range": [
56,
120
]
},
"loc": null,
"range": {
"start": 52,
"end": 120
}
"range": [
52,
120
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 121
}
"range": [
46,
121
]
},
{
"type": "ReturnStatement",
@@ -274,59 +274,59 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 132,
"end": 133
}
"range": [
132,
133
]
},
{
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 135,
"end": 136
}
"range": [
135,
136
]
}
],
"loc": null,
"range": {
"start": 131,
"end": 137
}
"range": [
131,
137
]
},
"loc": null,
"range": {
"start": 124,
"end": 138
}
"range": [
124,
138
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 140
}
"range": [
26,
140
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 140
},
"range": [
0,
140
],
"loc": null,
"range": {
"start": 0,
"end": 140
}
"range": [
0,
140
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 140
}
"range": [
0,
140
]
}
@@ -22,10 +22,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -36,27 +36,27 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 20,
"end": 21
}
"range": [
20,
21
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 23,
"end": 24
}
"range": [
23,
24
]
}
],
"loc": null,
"range": {
"start": 19,
"end": 25
}
"range": [
19,
25
]
}
],
"body": {
@@ -73,10 +73,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 35,
"end": 36
}
"range": [
35,
36
]
},
"init": {
"type": "ObjectExpression",
@@ -88,50 +88,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 44
}
"range": [
39,
44
]
},
"loc": null,
"range": {
"start": 35,
"end": 44
}
"range": [
35,
44
]
}
],
"loc": null,
"range": {
"start": 31,
"end": 45
}
"range": [
31,
45
]
},
{
"type": "VariableDeclaration",
@@ -144,10 +144,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 53
}
"range": [
52,
53
]
},
"init": {
"type": "ObjectExpression",
@@ -159,50 +159,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 59
}
"range": [
58,
59
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 59
}
"range": [
58,
59
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 58,
"end": 59
}
"range": [
58,
59
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 61
}
"range": [
56,
61
]
},
"loc": null,
"range": {
"start": 52,
"end": 61
}
"range": [
52,
61
]
}
],
"loc": null,
"range": {
"start": 48,
"end": 62
}
"range": [
48,
62
]
},
{
"type": "ReturnStatement",
@@ -214,59 +214,59 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
{
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
}
],
"loc": null,
"range": {
"start": 72,
"end": 78
}
"range": [
72,
78
]
},
"loc": null,
"range": {
"start": 65,
"end": 79
}
"range": [
65,
79
]
}
],
"loc": null,
"range": {
"start": 27,
"end": 81
}
"range": [
27,
81
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 81
},
"range": [
0,
81
],
"loc": null,
"range": {
"start": 0,
"end": 81
}
"range": [
0,
81
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 81
}
"range": [
0,
81
]
}
@@ -23,10 +23,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -34,10 +34,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -54,10 +54,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
@@ -69,27 +69,27 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 46
}
"range": [
41,
46
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
{
"type": "MemberExpression",
@@ -98,56 +98,56 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 55
}
"range": [
50,
55
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"computed": false,
"loc": null,
"range": {
"start": 50,
"end": 57
}
"range": [
50,
57
]
},
{
"type": "StringLiteral",
"value": "hello",
"loc": null,
"range": {
"start": 59,
"end": 66
}
"range": [
59,
66
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 67
}
"range": [
40,
67
]
},
"loc": null,
"range": {
"start": 36,
"end": 67
}
"range": [
36,
67
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 68
}
"range": [
30,
68
]
},
{
"type": "VariableDeclaration",
@@ -160,10 +160,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 78
}
"range": [
77,
78
]
},
"init": {
"type": "MemberExpression",
@@ -172,40 +172,40 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
},
"property": {
"type": "Identifier",
"name": "length",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 83,
"end": 89
}
"range": [
83,
89
]
},
"computed": false,
"loc": null,
"range": {
"start": 81,
"end": 89
}
"range": [
81,
89
]
},
"loc": null,
"range": {
"start": 77,
"end": 89
}
"range": [
77,
89
]
}
],
"loc": null,
"range": {
"start": 71,
"end": 90
}
"range": [
71,
90
]
},
{
"type": "VariableDeclaration",
@@ -218,10 +218,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"init": {
"type": "MemberExpression",
@@ -230,40 +230,40 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 103,
"end": 104
}
"range": [
103,
104
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 109
}
"range": [
105,
109
]
},
"computed": false,
"loc": null,
"range": {
"start": 103,
"end": 109
}
"range": [
103,
109
]
},
"loc": null,
"range": {
"start": 99,
"end": 109
}
"range": [
99,
109
]
}
],
"loc": null,
"range": {
"start": 93,
"end": 110
}
"range": [
93,
110
]
},
{
"type": "ReturnStatement",
@@ -277,30 +277,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 123
}
"range": [
122,
123
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 123
}
"range": [
122,
123
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 122,
"end": 123
}
"range": [
122,
123
]
},
{
"type": "Property",
@@ -309,30 +309,30 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 125,
"end": 126
}
"range": [
125,
126
]
},
"value": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 125,
"end": 126
}
"range": [
125,
126
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 125,
"end": 126
}
"range": [
125,
126
]
},
{
"type": "Property",
@@ -341,30 +341,30 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
"value": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
{
"type": "Property",
@@ -373,10 +373,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 131,
"end": 132
}
"range": [
131,
132
]
},
"value": {
"type": "MemberExpression",
@@ -385,76 +385,76 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 134,
"end": 135
}
"range": [
134,
135
]
},
"property": {
"type": "Identifier",
"name": "concat",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 136,
"end": 142
}
"range": [
136,
142
]
},
"computed": false,
"loc": null,
"range": {
"start": 134,
"end": 142
}
"range": [
134,
142
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 131,
"end": 142
}
"range": [
131,
142
]
}
],
"loc": null,
"range": {
"start": 120,
"end": 144
}
"range": [
120,
144
]
},
"loc": null,
"range": {
"start": 113,
"end": 145
}
"range": [
113,
145
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 147
}
"range": [
26,
147
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 147
},
"range": [
0,
147
],
"loc": null,
"range": {
"start": 0,
"end": 147
}
"range": [
0,
147
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 147
}
"range": [
0,
147
]
}
@@ -24,10 +24,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
@@ -70,27 +70,27 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 46
}
"range": [
41,
46
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
{
"type": "MemberExpression",
@@ -99,56 +99,56 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 55
}
"range": [
50,
55
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"computed": false,
"loc": null,
"range": {
"start": 50,
"end": 57
}
"range": [
50,
57
]
},
{
"type": "StringLiteral",
"value": "hello",
"loc": null,
"range": {
"start": 59,
"end": 66
}
"range": [
59,
66
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 67
}
"range": [
40,
67
]
},
"loc": null,
"range": {
"start": 36,
"end": 67
}
"range": [
36,
67
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 68
}
"range": [
30,
68
]
},
{
"type": "VariableDeclaration",
@@ -161,10 +161,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 78
}
"range": [
77,
78
]
},
"init": {
"type": "CallExpression",
@@ -175,57 +175,57 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 83,
"end": 87
}
"range": [
83,
87
]
},
"computed": false,
"loc": null,
"range": {
"start": 81,
"end": 87
}
"range": [
81,
87
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 42.0,
"loc": null,
"range": {
"start": 88,
"end": 90
}
"range": [
88,
90
]
}
],
"loc": null,
"range": {
"start": 81,
"end": 91
}
"range": [
81,
91
]
},
"loc": null,
"range": {
"start": 77,
"end": 91
}
"range": [
77,
91
]
}
],
"loc": null,
"range": {
"start": 71,
"end": 92
}
"range": [
71,
92
]
},
{
"type": "VariableDeclaration",
@@ -238,10 +238,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 101,
"end": 102
}
"range": [
101,
102
]
},
"init": {
"type": "CallExpression",
@@ -252,27 +252,27 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 106
}
"range": [
105,
106
]
},
"property": {
"type": "Identifier",
"name": "at",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 107,
"end": 109
}
"range": [
107,
109
]
},
"computed": false,
"loc": null,
"range": {
"start": 105,
"end": 109
}
"range": [
105,
109
]
},
"arguments": [
{
@@ -282,47 +282,47 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 115
}
"range": [
110,
115
]
},
"property": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 116,
"end": 117
}
"range": [
116,
117
]
},
"computed": false,
"loc": null,
"range": {
"start": 110,
"end": 117
}
"range": [
110,
117
]
}
],
"loc": null,
"range": {
"start": 105,
"end": 118
}
"range": [
105,
118
]
},
"loc": null,
"range": {
"start": 101,
"end": 118
}
"range": [
101,
118
]
}
],
"loc": null,
"range": {
"start": 95,
"end": 119
}
"range": [
95,
119
]
},
{
"type": "ReturnStatement",
@@ -336,30 +336,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 132,
"end": 133
}
"range": [
132,
133
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 132,
"end": 133
}
"range": [
132,
133
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 132,
"end": 133
}
"range": [
132,
133
]
},
{
"type": "Property",
@@ -368,30 +368,30 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 135,
"end": 136
}
"range": [
135,
136
]
},
"value": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 135,
"end": 136
}
"range": [
135,
136
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 135,
"end": 136
}
"range": [
135,
136
]
},
{
"type": "Property",
@@ -400,69 +400,69 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 138,
"end": 139
}
"range": [
138,
139
]
},
"value": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 138,
"end": 139
}
"range": [
138,
139
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 138,
"end": 139
}
"range": [
138,
139
]
}
],
"loc": null,
"range": {
"start": 130,
"end": 141
}
"range": [
130,
141
]
},
"loc": null,
"range": {
"start": 123,
"end": 142
}
"range": [
123,
142
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 144
}
"range": [
26,
144
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 144
},
"range": [
0,
144
],
"loc": null,
"range": {
"start": 0,
"end": 144
}
"range": [
0,
144
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 144
}
"range": [
0,
144
]
}
@@ -28,10 +28,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 131,
"end": 140
}
"range": [
131,
140
]
},
"params": [
{
@@ -39,10 +39,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 141,
"end": 146
}
"range": [
141,
146
]
}
],
"body": {
@@ -59,10 +59,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 158,
"end": 159
}
"range": [
158,
159
]
},
"init": {
"type": "CallExpression",
@@ -71,10 +71,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 162,
"end": 165
}
"range": [
162,
165
]
},
"arguments": [
{
@@ -84,47 +84,47 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 166,
"end": 171
}
"range": [
166,
171
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 172,
"end": 173
}
"range": [
172,
173
]
},
"computed": false,
"loc": null,
"range": {
"start": 166,
"end": 173
}
"range": [
166,
173
]
}
],
"loc": null,
"range": {
"start": 162,
"end": 174
}
"range": [
162,
174
]
},
"loc": null,
"range": {
"start": 158,
"end": 174
}
"range": [
158,
174
]
}
],
"loc": null,
"range": {
"start": 152,
"end": 175
}
"range": [
152,
175
]
},
{
"type": "VariableDeclaration",
@@ -137,10 +137,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 184,
"end": 185
}
"range": [
184,
185
]
},
"init": {
"type": "ObjectExpression",
@@ -152,10 +152,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 190,
"end": 191
}
"range": [
190,
191
]
},
"value": {
"type": "MemberExpression",
@@ -164,57 +164,57 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 193,
"end": 198
}
"range": [
193,
198
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 199,
"end": 200
}
"range": [
199,
200
]
},
"computed": false,
"loc": null,
"range": {
"start": 193,
"end": 200
}
"range": [
193,
200
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 190,
"end": 200
}
"range": [
190,
200
]
}
],
"loc": null,
"range": {
"start": 188,
"end": 202
}
"range": [
188,
202
]
},
"loc": null,
"range": {
"start": 184,
"end": 202
}
"range": [
184,
202
]
}
],
"loc": null,
"range": {
"start": 178,
"end": 203
}
"range": [
178,
203
]
},
{
"type": "VariableDeclaration",
@@ -227,32 +227,32 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 212,
"end": 215
}
"range": [
212,
215
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 218,
"end": 220
}
"range": [
218,
220
]
},
"loc": null,
"range": {
"start": 212,
"end": 220
}
"range": [
212,
220
]
}
],
"loc": null,
"range": {
"start": 206,
"end": 221
}
"range": [
206,
221
]
},
{
"type": "ExpressionStatement",
@@ -265,51 +265,51 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 224,
"end": 227
}
"range": [
224,
227
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 228,
"end": 232
}
"range": [
228,
232
]
},
"computed": false,
"loc": null,
"range": {
"start": 224,
"end": 232
}
"range": [
224,
232
]
},
"arguments": [
{
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 233,
"end": 235
}
"range": [
233,
235
]
}
],
"loc": null,
"range": {
"start": 224,
"end": 236
}
"range": [
224,
236
]
},
"directive": null,
"loc": null,
"range": {
"start": 224,
"end": 237
}
"range": [
224,
237
]
},
{
"type": "ExpressionStatement",
@@ -322,27 +322,27 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 240,
"end": 243
}
"range": [
240,
243
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 244,
"end": 248
}
"range": [
244,
248
]
},
"computed": false,
"loc": null,
"range": {
"start": 240,
"end": 248
}
"range": [
240,
248
]
},
"arguments": [
{
@@ -350,34 +350,34 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 249,
"end": 250
}
"range": [
249,
250
]
},
{
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 252,
"end": 253
}
"range": [
252,
253
]
}
],
"loc": null,
"range": {
"start": 240,
"end": 254
}
"range": [
240,
254
]
},
"directive": null,
"loc": null,
"range": {
"start": 240,
"end": 255
}
"range": [
240,
255
]
},
{
"type": "ReturnStatement",
@@ -386,42 +386,42 @@ Output:
"name": "arr",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 265,
"end": 268
}
"range": [
265,
268
]
},
"loc": null,
"range": {
"start": 258,
"end": 269
}
"range": [
258,
269
]
}
],
"loc": null,
"range": {
"start": 148,
"end": 271
}
"range": [
148,
271
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 122,
"end": 271
},
"range": [
122,
271
],
"loc": null,
"range": {
"start": 122,
"end": 271
}
"range": [
122,
271
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 122,
"end": 271
}
"range": [
122,
271
]
}
@@ -25,10 +25,10 @@ Output:
"name": "ErrorView",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 17,
"end": 26
}
"range": [
17,
26
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -39,20 +39,20 @@ Output:
"name": "error",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 35
}
"range": [
30,
35
]
},
{
"type": "Identifier",
"name": "_retry",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 43
}
"range": [
37,
43
]
}
],
"body": {
@@ -63,10 +63,10 @@ Output:
"type": "JSXIdentifier",
"name": "MessageBox",
"loc": null,
"range": {
"start": 49,
"end": 59
}
"range": [
49,
59
]
},
"attributes": [
{
@@ -75,10 +75,10 @@ Output:
"type": "JSXIdentifier",
"name": "error",
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -87,30 +87,30 @@ Output:
"name": "error",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 72
}
"range": [
67,
72
]
},
"loc": null,
"range": {
"start": 66,
"end": 73
}
"range": [
66,
73
]
},
"loc": null,
"range": {
"start": 60,
"end": 73
}
"range": [
60,
73
]
}
],
"selfClosing": false,
"loc": null,
"range": {
"start": 48,
"end": 74
}
"range": [
48,
74
]
},
"children": [],
"closingElement": {
@@ -119,49 +119,49 @@ Output:
"type": "JSXIdentifier",
"name": "MessageBox",
"loc": null,
"range": {
"start": 76,
"end": 86
}
"range": [
76,
86
]
},
"loc": null,
"range": {
"start": 74,
"end": 87
}
"range": [
74,
87
]
},
"loc": null,
"range": {
"start": 48,
"end": 87
}
"range": [
48,
87
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 29,
"end": 87
},
"range": [
29,
87
],
"expression": true,
"loc": null,
"range": {
"start": 29,
"end": 87
}
"range": [
29,
87
]
},
"loc": null,
"range": {
"start": 17,
"end": 87
}
"range": [
17,
87
]
}
],
"loc": null,
"range": {
"start": 11,
"end": 88
}
"range": [
11,
88
]
},
{
"type": "ExportDefaultDeclaration",
@@ -170,22 +170,22 @@ Output:
"name": "ErrorView",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 114
}
"range": [
105,
114
]
},
"loc": null,
"range": {
"start": 90,
"end": 115
}
"range": [
90,
115
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 11,
"end": 115
}
"range": [
11,
115
]
}
@@ -24,10 +24,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "ArrayExpression",
@@ -70,47 +70,47 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 46
}
"range": [
41,
46
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 49
}
"range": [
40,
49
]
},
"loc": null,
"range": {
"start": 36,
"end": 49
}
"range": [
36,
49
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 50
}
"range": [
30,
50
]
},
{
"type": "VariableDeclaration",
@@ -123,32 +123,32 @@ Output:
"name": "index",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 64
}
"range": [
59,
64
]
},
"init": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"loc": null,
"range": {
"start": 59,
"end": 68
}
"range": [
59,
68
]
}
],
"loc": null,
"range": {
"start": 53,
"end": 69
}
"range": [
53,
69
]
},
{
"type": "ExpressionStatement",
@@ -162,49 +162,49 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"property": {
"type": "Identifier",
"name": "index",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 74,
"end": 79
}
"range": [
74,
79
]
},
"computed": true,
"loc": null,
"range": {
"start": 72,
"end": 80
}
"range": [
72,
80
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 72,
"end": 85
}
"range": [
72,
85
]
},
"directive": null,
"loc": null,
"range": {
"start": 72,
"end": 86
}
"range": [
72,
86
]
},
{
"type": "ExpressionStatement",
@@ -218,48 +218,48 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
},
"property": {
"type": "StringLiteral",
"value": "0",
"loc": null,
"range": {
"start": 91,
"end": 94
}
"range": [
91,
94
]
},
"computed": true,
"loc": null,
"range": {
"start": 89,
"end": 95
}
"range": [
89,
95
]
},
"right": {
"type": "NumericLiteral",
"value": 3.0,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": null,
"range": {
"start": 89,
"end": 100
}
"range": [
89,
100
]
},
"directive": null,
"loc": null,
"range": {
"start": 89,
"end": 101
}
"range": [
89,
101
]
},
{
"type": "ReturnStatement",
@@ -268,42 +268,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"loc": null,
"range": {
"start": 104,
"end": 113
}
"range": [
104,
113
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 115
}
"range": [
26,
115
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 115
},
"range": [
0,
115
],
"loc": null,
"range": {
"start": 0,
"end": 115
}
"range": [
0,
115
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 115
}
"range": [
0,
115
]
}
@@ -23,10 +23,10 @@ Output:
"name": "g",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 10
}
"range": [
9,
10
]
},
"params": [
{
@@ -34,10 +34,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 11,
"end": 16
}
"range": [
11,
16
]
}
],
"body": {
@@ -54,10 +54,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 28,
"end": 29
}
"range": [
28,
29
]
},
"init": {
"type": "ObjectExpression",
@@ -69,10 +69,10 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"value": {
"type": "ObjectExpression",
@@ -84,10 +84,10 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "MemberExpression",
@@ -96,74 +96,74 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 42,
"end": 47
}
"range": [
42,
47
]
},
"property": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 48,
"end": 49
}
"range": [
48,
49
]
},
"computed": false,
"loc": null,
"range": {
"start": 42,
"end": 49
}
"range": [
42,
49
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 49
}
"range": [
39,
49
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 51
}
"range": [
37,
51
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 34,
"end": 51
}
"range": [
34,
51
]
}
],
"loc": null,
"range": {
"start": 32,
"end": 53
}
"range": [
32,
53
]
},
"loc": null,
"range": {
"start": 28,
"end": 53
}
"range": [
28,
53
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 54
}
"range": [
22,
54
]
},
{
"type": "ExpressionStatement",
@@ -179,44 +179,44 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 57,
"end": 58
}
"range": [
57,
58
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 60
}
"range": [
59,
60
]
},
"computed": false,
"loc": null,
"range": {
"start": 57,
"end": 60
}
"range": [
57,
60
]
},
"property": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 61,
"end": 62
}
"range": [
61,
62
]
},
"computed": false,
"loc": null,
"range": {
"start": 57,
"end": 62
}
"range": [
57,
62
]
},
"right": {
"type": "BinaryExpression",
@@ -229,73 +229,73 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 65,
"end": 66
}
"range": [
65,
66
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"computed": false,
"loc": null,
"range": {
"start": 65,
"end": 68
}
"range": [
65,
68
]
},
"property": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 70
}
"range": [
69,
70
]
},
"computed": false,
"loc": null,
"range": {
"start": 65,
"end": 70
}
"range": [
65,
70
]
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
"loc": null,
"range": {
"start": 65,
"end": 74
}
"range": [
65,
74
]
},
"loc": null,
"range": {
"start": 57,
"end": 74
}
"range": [
57,
74
]
},
"directive": null,
"loc": null,
"range": {
"start": 57,
"end": 75
}
"range": [
57,
75
]
},
{
"type": "ExpressionStatement",
@@ -311,66 +311,66 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"computed": false,
"loc": null,
"range": {
"start": 78,
"end": 81
}
"range": [
78,
81
]
},
"property": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 82,
"end": 83
}
"range": [
82,
83
]
},
"computed": false,
"loc": null,
"range": {
"start": 78,
"end": 83
}
"range": [
78,
83
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 87,
"end": 88
}
"range": [
87,
88
]
},
"loc": null,
"range": {
"start": 78,
"end": 88
}
"range": [
78,
88
]
},
"directive": null,
"loc": null,
"range": {
"start": 78,
"end": 89
}
"range": [
78,
89
]
},
{
"type": "ReturnStatement",
@@ -379,42 +379,42 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
}
],
"loc": null,
"range": {
"start": 18,
"end": 103
}
"range": [
18,
103
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 103
},
"range": [
0,
103
],
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
@@ -28,10 +28,10 @@ Output:
"name": "useBar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 15
}
"range": [
9,
15
]
},
"params": [
{
@@ -39,10 +39,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 16,
"end": 21
}
"range": [
16,
21
]
}
],
"body": {
@@ -59,24 +59,24 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 31,
"end": 32
}
"range": [
31,
32
]
},
"init": null,
"loc": null,
"range": {
"start": 31,
"end": 32
}
"range": [
31,
32
]
}
],
"loc": null,
"range": {
"start": 27,
"end": 33
}
"range": [
27,
33
]
},
{
"type": "IfStatement",
@@ -87,27 +87,27 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 46
}
"range": [
41,
46
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
"consequent": {
"type": "BlockStatement",
@@ -121,27 +121,27 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 66,
"end": 67
}
"range": [
66,
67
]
},
"computed": false,
"loc": null,
"range": {
"start": 60,
"end": 67
}
"range": [
60,
67
]
},
"consequent": {
"type": "BlockStatement",
@@ -156,10 +156,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 78
}
"range": [
77,
78
]
},
"right": {
"type": "CallExpression",
@@ -168,58 +168,58 @@ Output:
"name": "baz",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 84
}
"range": [
81,
84
]
},
"arguments": [],
"loc": null,
"range": {
"start": 81,
"end": 86
}
"range": [
81,
86
]
},
"loc": null,
"range": {
"start": 77,
"end": 86
}
"range": [
77,
86
]
},
"directive": null,
"loc": null,
"range": {
"start": 77,
"end": 87
}
"range": [
77,
87
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 93
}
"range": [
69,
93
]
},
"alternate": null,
"loc": null,
"range": {
"start": 56,
"end": 93
}
"range": [
56,
93
]
}
],
"loc": null,
"range": {
"start": 50,
"end": 97
}
"range": [
50,
97
]
},
"alternate": null,
"loc": null,
"range": {
"start": 37,
"end": 97
}
"range": [
37,
97
]
},
{
"type": "ReturnStatement",
@@ -228,42 +228,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 108,
"end": 109
}
"range": [
108,
109
]
},
"loc": null,
"range": {
"start": 101,
"end": 110
}
"range": [
101,
110
]
}
],
"loc": null,
"range": {
"start": 23,
"end": 112
}
"range": [
23,
112
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 112
},
"range": [
0,
112
],
"loc": null,
"range": {
"start": 0,
"end": 112
}
"range": [
0,
112
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 112
}
"range": [
0,
112
]
}
@@ -23,10 +23,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [],
"body": {
@@ -43,10 +43,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 25,
"end": 26
}
"range": [
25,
26
]
},
"init": {
"type": "ArrayExpression",
@@ -58,37 +58,37 @@ Output:
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 31,
"end": 32
}
"range": [
31,
32
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 33
}
"range": [
30,
33
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 34
}
"range": [
29,
34
]
},
"loc": null,
"range": {
"start": 25,
"end": 34
}
"range": [
25,
34
]
}
],
"loc": null,
"range": {
"start": 19,
"end": 35
}
"range": [
19,
35
]
},
{
"type": "VariableDeclaration",
@@ -101,10 +101,10 @@ Output:
"name": "first",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 44,
"end": 49
}
"range": [
44,
49
]
},
"init": {
"type": "CallExpression",
@@ -115,57 +115,57 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 53
}
"range": [
52,
53
]
},
"property": {
"type": "Identifier",
"name": "at",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 56
}
"range": [
54,
56
]
},
"computed": false,
"loc": null,
"range": {
"start": 52,
"end": 56
}
"range": [
52,
56
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 57,
"end": 58
}
"range": [
57,
58
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 59
}
"range": [
52,
59
]
},
"loc": null,
"range": {
"start": 44,
"end": 59
}
"range": [
44,
59
]
}
],
"loc": null,
"range": {
"start": 38,
"end": 60
}
"range": [
38,
60
]
},
{
"type": "ExpressionStatement",
@@ -178,60 +178,60 @@ Output:
"name": "first",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 63,
"end": 68
}
"range": [
63,
68
]
},
"property": {
"type": "Identifier",
"name": "set",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 72
}
"range": [
69,
72
]
},
"computed": false,
"loc": null,
"range": {
"start": 63,
"end": 72
}
"range": [
63,
72
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
{
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 78
}
"range": [
63,
78
]
},
"directive": null,
"loc": null,
"range": {
"start": 63,
"end": 79
}
"range": [
63,
79
]
},
{
"type": "ReturnStatement",
@@ -240,42 +240,42 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
},
"loc": null,
"range": {
"start": 82,
"end": 91
}
"range": [
82,
91
]
}
],
"loc": null,
"range": {
"start": 15,
"end": 93
}
"range": [
15,
93
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 93
},
"range": [
0,
93
],
"loc": null,
"range": {
"start": 0,
"end": 93
}
"range": [
0,
93
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 93
}
"range": [
0,
93
]
}
@@ -23,10 +23,10 @@ Output:
"name": "g",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 10
}
"range": [
9,
10
]
},
"params": [],
"body": {
@@ -43,10 +43,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 23,
"end": 24
}
"range": [
23,
24
]
},
"init": {
"type": "ObjectExpression",
@@ -58,10 +58,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
},
"value": {
"type": "ObjectExpression",
@@ -73,66 +73,66 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"value": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 34,
"end": 38
}
"range": [
34,
38
]
}
],
"loc": null,
"range": {
"start": 32,
"end": 40
}
"range": [
32,
40
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 29,
"end": 40
}
"range": [
29,
40
]
}
],
"loc": null,
"range": {
"start": 27,
"end": 42
}
"range": [
27,
42
]
},
"loc": null,
"range": {
"start": 23,
"end": 42
}
"range": [
23,
42
]
}
],
"loc": null,
"range": {
"start": 17,
"end": 43
}
"range": [
17,
43
]
},
{
"type": "ExpressionStatement",
@@ -148,44 +148,44 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 46,
"end": 47
}
"range": [
46,
47
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 48,
"end": 49
}
"range": [
48,
49
]
},
"computed": false,
"loc": null,
"range": {
"start": 46,
"end": 49
}
"range": [
46,
49
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"computed": false,
"loc": null,
"range": {
"start": 46,
"end": 51
}
"range": [
46,
51
]
},
"right": {
"type": "BinaryExpression",
@@ -198,73 +198,73 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"computed": false,
"loc": null,
"range": {
"start": 54,
"end": 57
}
"range": [
54,
57
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 59
}
"range": [
58,
59
]
},
"computed": false,
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 62,
"end": 63
}
"range": [
62,
63
]
},
"loc": null,
"range": {
"start": 54,
"end": 63
}
"range": [
54,
63
]
},
"loc": null,
"range": {
"start": 46,
"end": 63
}
"range": [
46,
63
]
},
"directive": null,
"loc": null,
"range": {
"start": 46,
"end": 64
}
"range": [
46,
64
]
},
{
"type": "ExpressionStatement",
@@ -280,66 +280,66 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 70
}
"range": [
69,
70
]
},
"computed": false,
"loc": null,
"range": {
"start": 67,
"end": 70
}
"range": [
67,
70
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 71,
"end": 72
}
"range": [
71,
72
]
},
"computed": false,
"loc": null,
"range": {
"start": 67,
"end": 72
}
"range": [
67,
72
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"loc": null,
"range": {
"start": 67,
"end": 77
}
"range": [
67,
77
]
},
"directive": null,
"loc": null,
"range": {
"start": 67,
"end": 78
}
"range": [
67,
78
]
},
{
"type": "ReturnStatement",
@@ -348,42 +348,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 88,
"end": 89
}
"range": [
88,
89
]
},
"loc": null,
"range": {
"start": 81,
"end": 90
}
"range": [
81,
90
]
}
],
"loc": null,
"range": {
"start": 13,
"end": 92
}
"range": [
13,
92
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 92
},
"range": [
0,
92
],
"loc": null,
"range": {
"start": 0,
"end": 92
}
"range": [
0,
92
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 92
}
"range": [
0,
92
]
}
@@ -24,10 +24,10 @@ Output:
"name": "f",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 10
}
"range": [
9,
10
]
},
"params": [],
"body": {
@@ -44,32 +44,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 21,
"end": 22
}
"range": [
21,
22
]
},
"init": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 25,
"end": 26
}
"range": [
25,
26
]
},
"loc": null,
"range": {
"start": 21,
"end": 26
}
"range": [
21,
26
]
}
],
"loc": null,
"range": {
"start": 17,
"end": 27
}
"range": [
17,
27
]
},
{
"type": "ExpressionStatement",
@@ -81,10 +81,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"right": {
"type": "BinaryExpression",
@@ -93,39 +93,39 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 38,
"end": 39
}
"range": [
38,
39
]
},
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
},
"directive": null,
"loc": null,
"range": {
"start": 30,
"end": 40
}
"range": [
30,
40
]
},
{
"type": "ExpressionStatement",
@@ -137,32 +137,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 44
}
"range": [
43,
44
]
},
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 48,
"end": 49
}
"range": [
48,
49
]
},
"loc": null,
"range": {
"start": 43,
"end": 49
}
"range": [
43,
49
]
},
"directive": null,
"loc": null,
"range": {
"start": 43,
"end": 50
}
"range": [
43,
50
]
},
{
"type": "ExpressionStatement",
@@ -174,32 +174,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 60,
"end": 61
}
"range": [
60,
61
]
},
"loc": null,
"range": {
"start": 53,
"end": 61
}
"range": [
53,
61
]
},
"directive": null,
"loc": null,
"range": {
"start": 53,
"end": 62
}
"range": [
53,
62
]
},
{
"type": "ReturnStatement",
@@ -208,42 +208,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"loc": null,
"range": {
"start": 65,
"end": 74
}
"range": [
65,
74
]
}
],
"loc": null,
"range": {
"start": 13,
"end": 76
}
"range": [
13,
76
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 76
},
"range": [
0,
76
],
"loc": null,
"range": {
"start": 0,
"end": 76
}
"range": [
0,
76
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 76
}
"range": [
0,
76
]
}
@@ -22,10 +22,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 15,
"end": 24
}
"range": [
15,
24
]
},
"params": [
{
@@ -33,10 +33,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 25,
"end": 30
}
"range": [
25,
30
]
}
],
"body": {
@@ -53,32 +53,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 42,
"end": 43
}
"range": [
42,
43
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 46,
"end": 48
}
"range": [
46,
48
]
},
"loc": null,
"range": {
"start": 42,
"end": 48
}
"range": [
42,
48
]
}
],
"loc": null,
"range": {
"start": 36,
"end": 49
}
"range": [
36,
49
]
},
{
"type": "ExpressionStatement",
@@ -91,10 +91,10 @@ Output:
"name": "populateData",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 70
}
"range": [
58,
70
]
},
"arguments": [
{
@@ -104,57 +104,57 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 71,
"end": 76
}
"range": [
71,
76
]
},
"property": {
"type": "Identifier",
"name": "id",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 79
}
"range": [
77,
79
]
},
"computed": false,
"loc": null,
"range": {
"start": 71,
"end": 79
}
"range": [
71,
79
]
},
{
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
}
],
"loc": null,
"range": {
"start": 58,
"end": 83
}
"range": [
58,
83
]
},
"loc": null,
"range": {
"start": 52,
"end": 83
}
"range": [
52,
83
]
},
"directive": null,
"loc": null,
"range": {
"start": 52,
"end": 84
}
"range": [
52,
84
]
},
{
"type": "ReturnStatement",
@@ -163,42 +163,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"loc": null,
"range": {
"start": 87,
"end": 96
}
"range": [
87,
96
]
}
],
"loc": null,
"range": {
"start": 32,
"end": 98
}
"range": [
32,
98
]
},
"generator": false,
"async": true,
"loc": null,
"range": {
"start": 0,
"end": 98
},
"range": [
0,
98
],
"loc": null,
"range": {
"start": 0,
"end": 98
}
"range": [
0,
98
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 98
}
"range": [
0,
98
]
}
@@ -21,10 +21,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 15,
"end": 24
}
"range": [
15,
24
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 25,
"end": 30
}
"range": [
25,
30
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "user",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 42,
"end": 46
}
"range": [
42,
46
]
},
"init": {
"type": "AwaitExpression",
@@ -66,10 +66,10 @@ Output:
"name": "load",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 59
}
"range": [
55,
59
]
},
"arguments": [
{
@@ -79,53 +79,53 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
},
"property": {
"type": "Identifier",
"name": "id",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 66,
"end": 68
}
"range": [
66,
68
]
},
"computed": false,
"loc": null,
"range": {
"start": 60,
"end": 68
}
"range": [
60,
68
]
}
],
"loc": null,
"range": {
"start": 55,
"end": 69
}
"range": [
55,
69
]
},
"loc": null,
"range": {
"start": 49,
"end": 69
}
"range": [
49,
69
]
},
"loc": null,
"range": {
"start": 42,
"end": 69
}
"range": [
42,
69
]
}
],
"loc": null,
"range": {
"start": 36,
"end": 70
}
"range": [
36,
70
]
},
{
"type": "ReturnStatement",
@@ -137,18 +137,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 81,
"end": 84
}
"range": [
81,
84
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 80,
"end": 85
}
"range": [
80,
85
]
},
"children": [
{
@@ -160,33 +160,33 @@ Output:
"name": "user",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 86,
"end": 90
}
"range": [
86,
90
]
},
"property": {
"type": "Identifier",
"name": "name",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 95
}
"range": [
91,
95
]
},
"computed": false,
"loc": null,
"range": {
"start": 86,
"end": 95
}
"range": [
86,
95
]
},
"loc": null,
"range": {
"start": 85,
"end": 96
}
"range": [
85,
96
]
}
],
"closingElement": {
@@ -195,54 +195,54 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"loc": null,
"range": {
"start": 96,
"end": 102
}
"range": [
96,
102
]
},
"loc": null,
"range": {
"start": 80,
"end": 102
}
"range": [
80,
102
]
},
"loc": null,
"range": {
"start": 73,
"end": 103
}
"range": [
73,
103
]
}
],
"loc": null,
"range": {
"start": 32,
"end": 105
}
"range": [
32,
105
]
},
"generator": false,
"async": true,
"loc": null,
"range": {
"start": 0,
"end": 105
},
"range": [
0,
105
],
"loc": null,
"range": {
"start": 0,
"end": 105
}
"range": [
0,
105
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 105
}
"range": [
0,
105
]
}
@@ -35,26 +35,26 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 17
}
"range": [
9,
17
]
},
"local": {
"type": "Identifier",
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 17
}
"range": [
9,
17
]
},
"loc": null,
"range": {
"start": 9,
"end": 17
}
"range": [
9,
17
]
},
{
"type": "ImportSpecifier",
@@ -63,42 +63,42 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 26
}
"range": [
19,
26
]
},
"local": {
"type": "Identifier",
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 26
}
"range": [
19,
26
]
},
"loc": null,
"range": {
"start": 19,
"end": 26
}
"range": [
19,
26
]
}
],
"source": {
"type": "StringLiteral",
"value": "react",
"loc": null,
"range": {
"start": 34,
"end": 41
}
"range": [
34,
41
]
},
"loc": null,
"range": {
"start": 0,
"end": 42
}
"range": [
0,
42
]
},
{
"type": "FunctionDeclaration",
@@ -107,10 +107,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 62
}
"range": [
53,
62
]
},
"params": [
{
@@ -118,10 +118,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 63,
"end": 68
}
"range": [
63,
68
]
}
],
"body": {
@@ -141,17 +141,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
}
],
"loc": null,
"range": {
"start": 80,
"end": 83
}
"range": [
80,
83
]
},
"init": {
"type": "CallExpression",
@@ -160,40 +160,40 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 86,
"end": 94
}
"range": [
86,
94
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 95,
"end": 96
}
"range": [
95,
96
]
}
],
"loc": null,
"range": {
"start": 86,
"end": 97
}
"range": [
86,
97
]
},
"loc": null,
"range": {
"start": 80,
"end": 97
}
"range": [
80,
97
]
}
],
"loc": null,
"range": {
"start": 74,
"end": 98
}
"range": [
74,
98
]
},
{
"type": "VariableDeclaration",
@@ -206,10 +206,10 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 107,
"end": 122
}
"range": [
107,
122
]
},
"init": {
"type": "CallExpression",
@@ -218,10 +218,10 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 125,
"end": 132
}
"range": [
125,
132
]
},
"arguments": [
{
@@ -235,10 +235,10 @@ Output:
"name": "calculateExpensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 139,
"end": 163
}
"range": [
139,
163
]
},
"arguments": [
{
@@ -246,31 +246,31 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 164,
"end": 165
}
"range": [
164,
165
]
}
],
"loc": null,
"range": {
"start": 139,
"end": 166
}
"range": [
139,
166
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 133,
"end": 166
},
"range": [
133,
166
],
"expression": true,
"loc": null,
"range": {
"start": 133,
"end": 166
}
"range": [
133,
166
]
},
{
"type": "ArrayExpression",
@@ -280,37 +280,37 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 169,
"end": 170
}
"range": [
169,
170
]
}
],
"loc": null,
"range": {
"start": 168,
"end": 171
}
"range": [
168,
171
]
}
],
"loc": null,
"range": {
"start": 125,
"end": 172
}
"range": [
125,
172
]
},
"loc": null,
"range": {
"start": 107,
"end": 172
}
"range": [
107,
172
]
}
],
"loc": null,
"range": {
"start": 101,
"end": 173
}
"range": [
101,
173
]
},
{
"type": "ReturnStatement",
@@ -322,18 +322,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 185,
"end": 188
}
"range": [
185,
188
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 184,
"end": 189
}
"range": [
184,
189
]
},
"children": [
{
@@ -343,16 +343,16 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 190,
"end": 205
}
"range": [
190,
205
]
},
"loc": null,
"range": {
"start": 189,
"end": 206
}
"range": [
189,
206
]
}
],
"closingElement": {
@@ -361,48 +361,48 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 208,
"end": 211
}
"range": [
208,
211
]
},
"loc": null,
"range": {
"start": 206,
"end": 212
}
"range": [
206,
212
]
},
"loc": null,
"range": {
"start": 184,
"end": 212
}
"range": [
184,
212
]
},
"loc": null,
"range": {
"start": 177,
"end": 213
}
"range": [
177,
213
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 215
}
"range": [
70,
215
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 44,
"end": 215
},
"range": [
44,
215
],
"loc": null,
"range": {
"start": 44,
"end": 215
}
"range": [
44,
215
]
},
{
"type": "FunctionDeclaration",
@@ -411,10 +411,10 @@ Output:
"name": "Component2",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 226,
"end": 236
}
"range": [
226,
236
]
},
"params": [
{
@@ -422,10 +422,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 237,
"end": 242
}
"range": [
237,
242
]
}
],
"body": {
@@ -445,17 +445,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 255,
"end": 256
}
"range": [
255,
256
]
}
],
"loc": null,
"range": {
"start": 254,
"end": 257
}
"range": [
254,
257
]
},
"init": {
"type": "CallExpression",
@@ -464,40 +464,40 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 260,
"end": 268
}
"range": [
260,
268
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 269,
"end": 270
}
"range": [
269,
270
]
}
],
"loc": null,
"range": {
"start": 260,
"end": 271
}
"range": [
260,
271
]
},
"loc": null,
"range": {
"start": 254,
"end": 271
}
"range": [
254,
271
]
}
],
"loc": null,
"range": {
"start": 248,
"end": 272
}
"range": [
248,
272
]
},
{
"type": "VariableDeclaration",
@@ -510,10 +510,10 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 281,
"end": 296
}
"range": [
281,
296
]
},
"init": {
"type": "CallExpression",
@@ -522,10 +522,10 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 299,
"end": 306
}
"range": [
299,
306
]
},
"arguments": [
{
@@ -539,10 +539,10 @@ Output:
"name": "calculateExpensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 313,
"end": 337
}
"range": [
313,
337
]
},
"arguments": [
{
@@ -550,31 +550,31 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 338,
"end": 339
}
"range": [
338,
339
]
}
],
"loc": null,
"range": {
"start": 313,
"end": 340
}
"range": [
313,
340
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 307,
"end": 340
},
"range": [
307,
340
],
"expression": true,
"loc": null,
"range": {
"start": 307,
"end": 340
}
"range": [
307,
340
]
},
{
"type": "ArrayExpression",
@@ -584,37 +584,37 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 343,
"end": 344
}
"range": [
343,
344
]
}
],
"loc": null,
"range": {
"start": 342,
"end": 345
}
"range": [
342,
345
]
}
],
"loc": null,
"range": {
"start": 299,
"end": 346
}
"range": [
299,
346
]
},
"loc": null,
"range": {
"start": 281,
"end": 346
}
"range": [
281,
346
]
}
],
"loc": null,
"range": {
"start": 275,
"end": 347
}
"range": [
275,
347
]
},
{
"type": "ReturnStatement",
@@ -626,18 +626,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 359,
"end": 362
}
"range": [
359,
362
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 358,
"end": 363
}
"range": [
358,
363
]
},
"children": [
{
@@ -647,16 +647,16 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 364,
"end": 379
}
"range": [
364,
379
]
},
"loc": null,
"range": {
"start": 363,
"end": 380
}
"range": [
363,
380
]
}
],
"closingElement": {
@@ -665,54 +665,54 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 382,
"end": 385
}
"range": [
382,
385
]
},
"loc": null,
"range": {
"start": 380,
"end": 386
}
"range": [
380,
386
]
},
"loc": null,
"range": {
"start": 358,
"end": 386
}
"range": [
358,
386
]
},
"loc": null,
"range": {
"start": 351,
"end": 387
}
"range": [
351,
387
]
}
],
"loc": null,
"range": {
"start": 244,
"end": 389
}
"range": [
244,
389
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 217,
"end": 389
},
"range": [
217,
389
],
"loc": null,
"range": {
"start": 217,
"end": 389
}
"range": [
217,
389
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 389
}
"range": [
0,
389
]
}
@@ -36,32 +36,32 @@ Output:
"name": "React",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 12,
"end": 17
}
"range": [
12,
17
]
},
"loc": null,
"range": {
"start": 7,
"end": 17
}
"range": [
7,
17
]
}
],
"source": {
"type": "StringLiteral",
"value": "react",
"loc": null,
"range": {
"start": 23,
"end": 30
}
"range": [
23,
30
]
},
"loc": null,
"range": {
"start": 0,
"end": 31
}
"range": [
0,
31
]
},
{
"type": "ImportDeclaration",
@@ -73,26 +73,26 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 49
}
"range": [
41,
49
]
},
"local": {
"type": "Identifier",
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 49
}
"range": [
41,
49
]
},
"loc": null,
"range": {
"start": 41,
"end": 49
}
"range": [
41,
49
]
},
{
"type": "ImportSpecifier",
@@ -101,42 +101,42 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 51,
"end": 58
}
"range": [
51,
58
]
},
"local": {
"type": "Identifier",
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 51,
"end": 58
}
"range": [
51,
58
]
},
"loc": null,
"range": {
"start": 51,
"end": 58
}
"range": [
51,
58
]
}
],
"source": {
"type": "StringLiteral",
"value": "react",
"loc": null,
"range": {
"start": 66,
"end": 73
}
"range": [
66,
73
]
},
"loc": null,
"range": {
"start": 32,
"end": 74
}
"range": [
32,
74
]
},
{
"type": "FunctionDeclaration",
@@ -145,10 +145,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 94
}
"range": [
85,
94
]
},
"params": [
{
@@ -156,10 +156,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 95,
"end": 100
}
"range": [
95,
100
]
}
],
"body": {
@@ -179,17 +179,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
}
],
"loc": null,
"range": {
"start": 112,
"end": 115
}
"range": [
112,
115
]
},
"init": {
"type": "CallExpression",
@@ -198,40 +198,40 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 118,
"end": 126
}
"range": [
118,
126
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 127,
"end": 128
}
"range": [
127,
128
]
}
],
"loc": null,
"range": {
"start": 118,
"end": 129
}
"range": [
118,
129
]
},
"loc": null,
"range": {
"start": 112,
"end": 129
}
"range": [
112,
129
]
}
],
"loc": null,
"range": {
"start": 106,
"end": 130
}
"range": [
106,
130
]
},
{
"type": "VariableDeclaration",
@@ -244,10 +244,10 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 139,
"end": 154
}
"range": [
139,
154
]
},
"init": {
"type": "CallExpression",
@@ -256,10 +256,10 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 157,
"end": 164
}
"range": [
157,
164
]
},
"arguments": [
{
@@ -273,10 +273,10 @@ Output:
"name": "calculateExpensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 171,
"end": 195
}
"range": [
171,
195
]
},
"arguments": [
{
@@ -284,31 +284,31 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 196,
"end": 197
}
"range": [
196,
197
]
}
],
"loc": null,
"range": {
"start": 171,
"end": 198
}
"range": [
171,
198
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 165,
"end": 198
},
"range": [
165,
198
],
"expression": true,
"loc": null,
"range": {
"start": 165,
"end": 198
}
"range": [
165,
198
]
},
{
"type": "ArrayExpression",
@@ -318,37 +318,37 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 201,
"end": 202
}
"range": [
201,
202
]
}
],
"loc": null,
"range": {
"start": 200,
"end": 203
}
"range": [
200,
203
]
}
],
"loc": null,
"range": {
"start": 157,
"end": 204
}
"range": [
157,
204
]
},
"loc": null,
"range": {
"start": 139,
"end": 204
}
"range": [
139,
204
]
}
],
"loc": null,
"range": {
"start": 133,
"end": 205
}
"range": [
133,
205
]
},
{
"type": "ReturnStatement",
@@ -360,18 +360,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 217,
"end": 220
}
"range": [
217,
220
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 216,
"end": 221
}
"range": [
216,
221
]
},
"children": [
{
@@ -381,16 +381,16 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 222,
"end": 237
}
"range": [
222,
237
]
},
"loc": null,
"range": {
"start": 221,
"end": 238
}
"range": [
221,
238
]
}
],
"closingElement": {
@@ -399,48 +399,48 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 240,
"end": 243
}
"range": [
240,
243
]
},
"loc": null,
"range": {
"start": 238,
"end": 244
}
"range": [
238,
244
]
},
"loc": null,
"range": {
"start": 216,
"end": 244
}
"range": [
216,
244
]
},
"loc": null,
"range": {
"start": 209,
"end": 245
}
"range": [
209,
245
]
}
],
"loc": null,
"range": {
"start": 102,
"end": 247
}
"range": [
102,
247
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 76,
"end": 247
},
"range": [
76,
247
],
"loc": null,
"range": {
"start": 76,
"end": 247
}
"range": [
76,
247
]
},
{
"type": "FunctionDeclaration",
@@ -449,10 +449,10 @@ Output:
"name": "Component2",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 258,
"end": 268
}
"range": [
258,
268
]
},
"params": [
{
@@ -460,10 +460,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 269,
"end": 274
}
"range": [
269,
274
]
}
],
"body": {
@@ -483,17 +483,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 287,
"end": 288
}
"range": [
287,
288
]
}
],
"loc": null,
"range": {
"start": 286,
"end": 289
}
"range": [
286,
289
]
},
"init": {
"type": "CallExpression",
@@ -502,40 +502,40 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 292,
"end": 300
}
"range": [
292,
300
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 301,
"end": 302
}
"range": [
301,
302
]
}
],
"loc": null,
"range": {
"start": 292,
"end": 303
}
"range": [
292,
303
]
},
"loc": null,
"range": {
"start": 286,
"end": 303
}
"range": [
286,
303
]
}
],
"loc": null,
"range": {
"start": 280,
"end": 304
}
"range": [
280,
304
]
},
{
"type": "VariableDeclaration",
@@ -548,10 +548,10 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 313,
"end": 328
}
"range": [
313,
328
]
},
"init": {
"type": "CallExpression",
@@ -560,10 +560,10 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 331,
"end": 338
}
"range": [
331,
338
]
},
"arguments": [
{
@@ -577,10 +577,10 @@ Output:
"name": "calculateExpensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 345,
"end": 369
}
"range": [
345,
369
]
},
"arguments": [
{
@@ -588,31 +588,31 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 370,
"end": 371
}
"range": [
370,
371
]
}
],
"loc": null,
"range": {
"start": 345,
"end": 372
}
"range": [
345,
372
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 339,
"end": 372
},
"range": [
339,
372
],
"expression": true,
"loc": null,
"range": {
"start": 339,
"end": 372
}
"range": [
339,
372
]
},
{
"type": "ArrayExpression",
@@ -622,37 +622,37 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 375,
"end": 376
}
"range": [
375,
376
]
}
],
"loc": null,
"range": {
"start": 374,
"end": 377
}
"range": [
374,
377
]
}
],
"loc": null,
"range": {
"start": 331,
"end": 378
}
"range": [
331,
378
]
},
"loc": null,
"range": {
"start": 313,
"end": 378
}
"range": [
313,
378
]
}
],
"loc": null,
"range": {
"start": 307,
"end": 379
}
"range": [
307,
379
]
},
{
"type": "ReturnStatement",
@@ -664,18 +664,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 391,
"end": 394
}
"range": [
391,
394
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 390,
"end": 395
}
"range": [
390,
395
]
},
"children": [
{
@@ -685,16 +685,16 @@ Output:
"name": "expensiveNumber",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 396,
"end": 411
}
"range": [
396,
411
]
},
"loc": null,
"range": {
"start": 395,
"end": 412
}
"range": [
395,
412
]
}
],
"closingElement": {
@@ -703,54 +703,54 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 414,
"end": 417
}
"range": [
414,
417
]
},
"loc": null,
"range": {
"start": 412,
"end": 418
}
"range": [
412,
418
]
},
"loc": null,
"range": {
"start": 390,
"end": 418
}
"range": [
390,
418
]
},
"loc": null,
"range": {
"start": 383,
"end": 419
}
"range": [
383,
419
]
}
],
"loc": null,
"range": {
"start": 276,
"end": 421
}
"range": [
276,
421
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 249,
"end": 421
},
"range": [
249,
421
],
"loc": null,
"range": {
"start": 249,
"end": 421
}
"range": [
249,
421
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 421
}
"range": [
0,
421
]
}
@@ -26,10 +26,10 @@ Output:
"name": "App",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -42,30 +42,30 @@ Output:
"name": "text",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 15,
"end": 19
}
"range": [
15,
19
]
},
"value": {
"type": "Identifier",
"name": "text",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 15,
"end": 19
}
"range": [
15,
19
]
},
"kind": "init",
"computed": false,
"shorthand": true,
"method": false,
"loc": null,
"range": {
"start": 15,
"end": 19
}
"range": [
15,
19
]
},
{
"type": "Property",
@@ -74,37 +74,37 @@ Output:
"name": "hasDeps",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 21,
"end": 28
}
"range": [
21,
28
]
},
"value": {
"type": "Identifier",
"name": "hasDeps",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 21,
"end": 28
}
"range": [
21,
28
]
},
"kind": "init",
"computed": false,
"shorthand": true,
"method": false,
"loc": null,
"range": {
"start": 21,
"end": 28
}
"range": [
21,
28
]
}
],
"loc": null,
"range": {
"start": 13,
"end": 30
}
"range": [
13,
30
]
}
],
"body": {
@@ -121,10 +121,10 @@ Output:
"name": "resolvedText",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 42,
"end": 54
}
"range": [
42,
54
]
},
"init": {
"type": "CallExpression",
@@ -133,10 +133,10 @@ Output:
"name": "useMemo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 57,
"end": 64
}
"range": [
57,
64
]
},
"arguments": [
{
@@ -157,61 +157,61 @@ Output:
"name": "text",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 95
}
"range": [
91,
95
]
},
"property": {
"type": "Identifier",
"name": "toUpperCase",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 96,
"end": 107
}
"range": [
96,
107
]
},
"computed": false,
"loc": null,
"range": {
"start": 91,
"end": 107
}
"range": [
91,
107
]
},
"arguments": [],
"loc": null,
"range": {
"start": 91,
"end": 109
}
"range": [
91,
109
]
},
"loc": null,
"range": {
"start": 84,
"end": 110
}
"range": [
84,
110
]
}
],
"loc": null,
"range": {
"start": 76,
"end": 116
}
"range": [
76,
116
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 70,
"end": 116
},
"range": [
70,
116
],
"expression": false,
"loc": null,
"range": {
"start": 70,
"end": 116
}
"range": [
70,
116
]
},
{
"type": "ConditionalExpression",
@@ -220,10 +220,10 @@ Output:
"name": "hasDeps",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 129
}
"range": [
122,
129
]
},
"alternate": {
"type": "ArrayExpression",
@@ -233,51 +233,51 @@ Output:
"name": "text",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 140,
"end": 144
}
"range": [
140,
144
]
}
],
"loc": null,
"range": {
"start": 139,
"end": 145
}
"range": [
139,
145
]
},
"consequent": {
"type": "NullLiteral",
"loc": null,
"range": {
"start": 132,
"end": 136
}
"range": [
132,
136
]
},
"loc": null,
"range": {
"start": 122,
"end": 145
}
"range": [
122,
145
]
}
],
"loc": null,
"range": {
"start": 57,
"end": 168
}
"range": [
57,
168
]
},
"loc": null,
"range": {
"start": 42,
"end": 168
}
"range": [
42,
168
]
}
],
"loc": null,
"range": {
"start": 36,
"end": 169
}
"range": [
36,
169
]
},
{
"type": "ReturnStatement",
@@ -286,42 +286,42 @@ Output:
"name": "resolvedText",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 179,
"end": 191
}
"range": [
179,
191
]
},
"loc": null,
"range": {
"start": 172,
"end": 192
}
"range": [
172,
192
]
}
],
"loc": null,
"range": {
"start": 32,
"end": 194
}
"range": [
32,
194
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 194
},
"range": [
0,
194
],
"loc": null,
"range": {
"start": 0,
"end": 194
}
"range": [
0,
194
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 194
}
"range": [
0,
194
]
}
@@ -22,10 +22,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -33,10 +33,10 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -58,60 +58,60 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 32,
"end": 33
}
"range": [
32,
33
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 32,
"end": 33
}
"range": [
32,
33
]
},
"kind": "init",
"computed": false,
"shorthand": true,
"method": false,
"loc": null,
"range": {
"start": 32,
"end": 33
}
"range": [
32,
33
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 35
}
"range": [
30,
35
]
},
"init": {
"type": "Identifier",
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 38,
"end": 39
}
"range": [
38,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -124,10 +124,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
@@ -139,50 +139,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
}
],
"loc": null,
"range": {
"start": 51,
"end": 56
}
"range": [
51,
56
]
},
"loc": null,
"range": {
"start": 47,
"end": 56
}
"range": [
47,
56
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 57
}
"range": [
43,
57
]
},
{
"type": "ReturnStatement",
@@ -191,42 +191,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"loc": null,
"range": {
"start": 60,
"end": 69
}
"range": [
60,
69
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 71
}
"range": [
22,
71
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 71
},
"range": [
0,
71
],
"loc": null,
"range": {
"start": 0,
"end": 71
}
"range": [
0,
71
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 71
}
"range": [
0,
71
]
}
@@ -21,10 +21,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "maybeMutable",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 48
}
"range": [
36,
48
]
},
"init": {
"type": "NewExpression",
@@ -64,30 +64,30 @@ Output:
"name": "MaybeMutable",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 67
}
"range": [
55,
67
]
},
"arguments": [],
"loc": null,
"range": {
"start": 51,
"end": 69
}
"range": [
51,
69
]
},
"loc": null,
"range": {
"start": 36,
"end": 69
}
"range": [
36,
69
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 70
}
"range": [
30,
70
]
},
{
"type": "ReturnStatement",
@@ -99,18 +99,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 81,
"end": 84
}
"range": [
81,
84
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 80,
"end": 85
}
"range": [
80,
85
]
},
"children": [
{
@@ -122,10 +122,10 @@ Output:
"name": "maybeMutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 86,
"end": 97
}
"range": [
86,
97
]
},
"arguments": [
{
@@ -133,23 +133,23 @@ Output:
"name": "maybeMutable",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 110
}
"range": [
98,
110
]
}
],
"loc": null,
"range": {
"start": 86,
"end": 111
}
"range": [
86,
111
]
},
"loc": null,
"range": {
"start": 85,
"end": 112
}
"range": [
85,
112
]
}
],
"closingElement": {
@@ -158,54 +158,54 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 114,
"end": 117
}
"range": [
114,
117
]
},
"loc": null,
"range": {
"start": 112,
"end": 118
}
"range": [
112,
118
]
},
"loc": null,
"range": {
"start": 80,
"end": 118
}
"range": [
80,
118
]
},
"loc": null,
"range": {
"start": 73,
"end": 119
}
"range": [
73,
119
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 121
}
"range": [
26,
121
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 121
},
"range": [
0,
121
],
"loc": null,
"range": {
"start": 0,
"end": 121
}
"range": [
0,
121
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 121
}
"range": [
0,
121
]
}
@@ -22,10 +22,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -33,10 +33,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -53,10 +53,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"init": {
"type": "CallExpression",
@@ -65,30 +65,30 @@ Output:
"name": "makeObject",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 38,
"end": 48
}
"range": [
38,
48
]
},
"arguments": [],
"loc": null,
"range": {
"start": 38,
"end": 50
}
"range": [
38,
50
]
},
"loc": null,
"range": {
"start": 34,
"end": 50
}
"range": [
34,
50
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 51
}
"range": [
30,
51
]
},
{
"type": "ExpressionStatement",
@@ -101,27 +101,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"property": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 59
}
"range": [
56,
59
]
},
"computed": false,
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"arguments": [
{
@@ -132,10 +132,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 61,
"end": 62
}
"range": [
61,
62
]
},
"right": {
"type": "CallExpression",
@@ -144,37 +144,37 @@ Output:
"name": "makeObject",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 65,
"end": 75
}
"range": [
65,
75
]
},
"arguments": [],
"loc": null,
"range": {
"start": 65,
"end": 77
}
"range": [
65,
77
]
},
"loc": null,
"range": {
"start": 61,
"end": 77
}
"range": [
61,
77
]
}
],
"loc": null,
"range": {
"start": 54,
"end": 79
}
"range": [
54,
79
]
},
"directive": null,
"loc": null,
"range": {
"start": 54,
"end": 80
}
"range": [
54,
80
]
},
{
"type": "ReturnStatement",
@@ -183,42 +183,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 91
}
"range": [
90,
91
]
},
"loc": null,
"range": {
"start": 83,
"end": 92
}
"range": [
83,
92
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 94
}
"range": [
26,
94
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 94
},
"range": [
0,
94
],
"loc": null,
"range": {
"start": 0,
"end": 94
}
"range": [
0,
94
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 94
}
"range": [
0,
94
]
}
@@ -22,10 +22,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -33,10 +33,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -53,10 +53,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"init": {
"type": "CallExpression",
@@ -65,30 +65,30 @@ Output:
"name": "makeObject",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 38,
"end": 48
}
"range": [
38,
48
]
},
"arguments": [],
"loc": null,
"range": {
"start": 38,
"end": 50
}
"range": [
38,
50
]
},
"loc": null,
"range": {
"start": 34,
"end": 50
}
"range": [
34,
50
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 51
}
"range": [
30,
51
]
},
{
"type": "ExpressionStatement",
@@ -101,27 +101,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"property": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 59
}
"range": [
56,
59
]
},
"computed": false,
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"arguments": [
{
@@ -135,17 +135,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 63
}
"range": [
62,
63
]
}
],
"loc": null,
"range": {
"start": 61,
"end": 64
}
"range": [
61,
64
]
},
"right": {
"type": "CallExpression",
@@ -154,37 +154,37 @@ Output:
"name": "makeObject",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 77
}
"range": [
67,
77
]
},
"arguments": [],
"loc": null,
"range": {
"start": 67,
"end": 79
}
"range": [
67,
79
]
},
"loc": null,
"range": {
"start": 61,
"end": 79
}
"range": [
61,
79
]
}
],
"loc": null,
"range": {
"start": 54,
"end": 81
}
"range": [
54,
81
]
},
"directive": null,
"loc": null,
"range": {
"start": 54,
"end": 82
}
"range": [
54,
82
]
},
{
"type": "ReturnStatement",
@@ -193,42 +193,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"loc": null,
"range": {
"start": 85,
"end": 94
}
"range": [
85,
94
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 96
}
"range": [
26,
96
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 96
},
"range": [
0,
96
],
"loc": null,
"range": {
"start": 0,
"end": 96
}
"range": [
0,
96
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 96
}
"range": [
0,
96
]
}
@@ -21,10 +21,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "CallExpression",
@@ -64,10 +64,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 40,
"end": 43
}
"range": [
40,
43
]
},
"arguments": [
{
@@ -79,41 +79,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 52
}
"range": [
47,
52
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"computed": false,
"loc": null,
"range": {
"start": 47,
"end": 54
}
"range": [
47,
54
]
},
"loc": null,
"range": {
"start": 44,
"end": 54
}
"range": [
44,
54
]
},
{
"type": "NullLiteral",
"loc": null,
"range": {
"start": 56,
"end": 60
}
"range": [
56,
60
]
},
{
"type": "SpreadElement",
@@ -124,53 +124,53 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 65,
"end": 70
}
"range": [
65,
70
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 71,
"end": 72
}
"range": [
71,
72
]
},
"computed": false,
"loc": null,
"range": {
"start": 65,
"end": 72
}
"range": [
65,
72
]
},
"loc": null,
"range": {
"start": 62,
"end": 72
}
"range": [
62,
72
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 73
}
"range": [
40,
73
]
},
"loc": null,
"range": {
"start": 36,
"end": 73
}
"range": [
36,
73
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 74
}
"range": [
30,
74
]
},
{
"type": "ReturnStatement",
@@ -179,42 +179,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 77,
"end": 86
}
"range": [
77,
86
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 88
}
"range": [
26,
88
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 88
},
"range": [
0,
88
],
"loc": null,
"range": {
"start": 0,
"end": 88
}
"range": [
0,
88
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 88
}
"range": [
0,
88
]
}
@@ -26,10 +26,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "CallExpression",
@@ -69,10 +69,10 @@ Output:
"name": "makeFunction",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 40,
"end": 52
}
"range": [
40,
52
]
},
"arguments": [
{
@@ -80,30 +80,30 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 58
}
"range": [
53,
58
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 59
}
"range": [
40,
59
]
},
"loc": null,
"range": {
"start": 36,
"end": 59
}
"range": [
36,
59
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 60
}
"range": [
30,
60
]
},
{
"type": "VariableDeclaration",
@@ -116,10 +116,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 70
}
"range": [
69,
70
]
},
"init": {
"type": "CallExpression",
@@ -128,10 +128,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
"arguments": [
{
@@ -142,18 +142,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 81,
"end": 84
}
"range": [
81,
84
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 80,
"end": 85
}
"range": [
80,
85
]
},
"children": [
{
@@ -161,10 +161,10 @@ Output:
"value": "\n ",
"raw": "\n ",
"loc": null,
"range": {
"start": 85,
"end": 92
}
"range": [
85,
92
]
},
{
"type": "JSXElement",
@@ -174,18 +174,18 @@ Output:
"type": "JSXIdentifier",
"name": "span",
"loc": null,
"range": {
"start": 93,
"end": 97
}
"range": [
93,
97
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 92,
"end": 98
}
"range": [
92,
98
]
},
"children": [
{
@@ -197,33 +197,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 104
}
"range": [
99,
104
]
},
"property": {
"type": "Identifier",
"name": "text",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 109
}
"range": [
105,
109
]
},
"computed": false,
"loc": null,
"range": {
"start": 99,
"end": 109
}
"range": [
99,
109
]
},
"loc": null,
"range": {
"start": 98,
"end": 110
}
"range": [
98,
110
]
}
],
"closingElement": {
@@ -232,32 +232,32 @@ Output:
"type": "JSXIdentifier",
"name": "span",
"loc": null,
"range": {
"start": 112,
"end": 116
}
"range": [
112,
116
]
},
"loc": null,
"range": {
"start": 110,
"end": 117
}
"range": [
110,
117
]
},
"loc": null,
"range": {
"start": 92,
"end": 117
}
"range": [
92,
117
]
},
{
"type": "JSXText",
"value": "\n ",
"raw": "\n ",
"loc": null,
"range": {
"start": 117,
"end": 122
}
"range": [
117,
122
]
}
],
"closingElement": {
@@ -266,42 +266,42 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 124,
"end": 127
}
"range": [
124,
127
]
},
"loc": null,
"range": {
"start": 122,
"end": 128
}
"range": [
122,
128
]
},
"loc": null,
"range": {
"start": 80,
"end": 128
}
"range": [
80,
128
]
}
],
"loc": null,
"range": {
"start": 73,
"end": 132
}
"range": [
73,
132
]
},
"loc": null,
"range": {
"start": 69,
"end": 132
}
"range": [
69,
132
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 133
}
"range": [
63,
133
]
},
{
"type": "ReturnStatement",
@@ -310,42 +310,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 143,
"end": 144
}
"range": [
143,
144
]
},
"loc": null,
"range": {
"start": 136,
"end": 145
}
"range": [
136,
145
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 147
}
"range": [
26,
147
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 147
},
"range": [
0,
147
],
"loc": null,
"range": {
"start": 0,
"end": 147
}
"range": [
0,
147
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 147
}
"range": [
0,
147
]
}
@@ -27,33 +27,33 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [],
"body": {
"type": "BlockStatement",
"body": [],
"loc": null,
"range": {
"start": 15,
"end": 17
}
"range": [
15,
17
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 17
},
"range": [
0,
17
],
"loc": null,
"range": {
"start": 0,
"end": 17
}
"range": [
0,
17
]
},
{
"type": "FunctionDeclaration",
@@ -62,10 +62,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 28,
"end": 37
}
"range": [
28,
37
]
},
"params": [
{
@@ -73,10 +73,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 38,
"end": 43
}
"range": [
38,
43
]
}
],
"body": {
@@ -93,32 +93,32 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 55,
"end": 56
}
"range": [
55,
56
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 59,
"end": 61
}
"range": [
59,
61
]
},
"loc": null,
"range": {
"start": 55,
"end": 61
}
"range": [
55,
61
]
}
],
"loc": null,
"range": {
"start": 49,
"end": 62
}
"range": [
49,
62
]
},
{
"type": "VariableDeclaration",
@@ -131,32 +131,32 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 71,
"end": 72
}
"range": [
71,
72
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 75,
"end": 77
}
"range": [
75,
77
]
},
"loc": null,
"range": {
"start": 71,
"end": 77
}
"range": [
71,
77
]
}
],
"loc": null,
"range": {
"start": 65,
"end": 78
}
"range": [
65,
78
]
},
{
"type": "ExpressionStatement",
@@ -167,10 +167,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 84
}
"range": [
81,
84
]
},
"arguments": [
{
@@ -178,34 +178,34 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 88,
"end": 89
}
"range": [
88,
89
]
}
],
"loc": null,
"range": {
"start": 81,
"end": 90
}
"range": [
81,
90
]
},
"directive": null,
"loc": null,
"range": {
"start": 81,
"end": 91
}
"range": [
81,
91
]
},
{
"type": "VariableDeclaration",
@@ -218,10 +218,10 @@ Output:
"name": "_",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 99
}
"range": [
98,
99
]
},
"init": {
"type": "JSXElement",
@@ -231,10 +231,10 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 103,
"end": 106
}
"range": [
103,
106
]
},
"attributes": [
{
@@ -243,10 +243,10 @@ Output:
"type": "JSXIdentifier",
"name": "a",
"loc": null,
"range": {
"start": 107,
"end": 108
}
"range": [
107,
108
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -255,51 +255,51 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 111
}
"range": [
110,
111
]
},
"loc": null,
"range": {
"start": 109,
"end": 112
}
"range": [
109,
112
]
},
"loc": null,
"range": {
"start": 107,
"end": 112
}
"range": [
107,
112
]
}
],
"selfClosing": true,
"loc": null,
"range": {
"start": 102,
"end": 115
}
"range": [
102,
115
]
},
"children": [],
"closingElement": null,
"loc": null,
"range": {
"start": 102,
"end": 115
}
"range": [
102,
115
]
},
"loc": null,
"range": {
"start": 98,
"end": 115
}
"range": [
98,
115
]
}
],
"loc": null,
"range": {
"start": 94,
"end": 116
}
"range": [
94,
116
]
},
{
"type": "ExpressionStatement",
@@ -310,10 +310,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 119,
"end": 122
}
"range": [
119,
122
]
},
"arguments": [
{
@@ -321,24 +321,24 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 123,
"end": 124
}
"range": [
123,
124
]
}
],
"loc": null,
"range": {
"start": 119,
"end": 125
}
"range": [
119,
125
]
},
"directive": null,
"loc": null,
"range": {
"start": 119,
"end": 126
}
"range": [
119,
126
]
},
{
"type": "ReturnStatement",
@@ -350,10 +350,10 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 137,
"end": 140
}
"range": [
137,
140
]
},
"attributes": [
{
@@ -362,10 +362,10 @@ Output:
"type": "JSXIdentifier",
"name": "a",
"loc": null,
"range": {
"start": 141,
"end": 142
}
"range": [
141,
142
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -374,22 +374,22 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 144,
"end": 145
}
"range": [
144,
145
]
},
"loc": null,
"range": {
"start": 143,
"end": 146
}
"range": [
143,
146
]
},
"loc": null,
"range": {
"start": 141,
"end": 146
}
"range": [
141,
146
]
},
{
"type": "JSXAttribute",
@@ -397,10 +397,10 @@ Output:
"type": "JSXIdentifier",
"name": "b",
"loc": null,
"range": {
"start": 147,
"end": 148
}
"range": [
147,
148
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -409,70 +409,70 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 150,
"end": 151
}
"range": [
150,
151
]
},
"loc": null,
"range": {
"start": 149,
"end": 152
}
"range": [
149,
152
]
},
"loc": null,
"range": {
"start": 147,
"end": 152
}
"range": [
147,
152
]
}
],
"selfClosing": true,
"loc": null,
"range": {
"start": 136,
"end": 155
}
"range": [
136,
155
]
},
"children": [],
"closingElement": null,
"loc": null,
"range": {
"start": 136,
"end": 155
}
"range": [
136,
155
]
},
"loc": null,
"range": {
"start": 129,
"end": 156
}
"range": [
129,
156
]
}
],
"loc": null,
"range": {
"start": 45,
"end": 158
}
"range": [
45,
158
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 19,
"end": 158
},
"range": [
19,
158
],
"loc": null,
"range": {
"start": 19,
"end": 158
}
"range": [
19,
158
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 158
}
"range": [
0,
158
]
}
@@ -28,10 +28,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -39,10 +39,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -59,10 +59,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -74,50 +74,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "ExpressionStatement",
@@ -141,33 +141,33 @@ Output:
"name": "q",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 66,
"end": 67
}
"range": [
66,
67
]
},
"init": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 70,
"end": 71
}
"range": [
70,
71
]
},
"loc": null,
"range": {
"start": 66,
"end": 71
}
"range": [
66,
71
]
}
],
"loc": null,
"range": {
"start": 62,
"end": 72
}
"range": [
62,
72
]
},
{
"type": "ExpressionStatement",
@@ -192,117 +192,117 @@ Output:
"name": "q",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 99
}
"range": [
98,
99
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"computed": false,
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 104,
"end": 105
}
"range": [
104,
105
]
},
"loc": null,
"range": {
"start": 98,
"end": 105
}
"range": [
98,
105
]
},
"directive": null,
"loc": null,
"range": {
"start": 98,
"end": 106
}
"range": [
98,
106
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 112
}
"range": [
90,
112
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 78,
"end": 112
},
"range": [
78,
112
],
"loc": null,
"range": {
"start": 78,
"end": 112
}
"range": [
78,
112
]
},
"arguments": [],
"loc": null,
"range": {
"start": 77,
"end": 115
}
"range": [
77,
115
]
},
"directive": null,
"loc": null,
"range": {
"start": 77,
"end": 116
}
"range": [
77,
116
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 120
}
"range": [
56,
120
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 44,
"end": 120
},
"range": [
44,
120
],
"loc": null,
"range": {
"start": 44,
"end": 120
}
"range": [
44,
120
]
},
"arguments": [],
"loc": null,
"range": {
"start": 43,
"end": 123
}
"range": [
43,
123
]
},
"directive": null,
"loc": null,
"range": {
"start": 43,
"end": 124
}
"range": [
43,
124
]
},
{
"type": "ReturnStatement",
@@ -311,42 +311,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 135,
"end": 136
}
"range": [
135,
136
]
},
"loc": null,
"range": {
"start": 128,
"end": 137
}
"range": [
128,
137
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 139
}
"range": [
22,
139
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 139
},
"range": [
0,
139
],
"loc": null,
"range": {
"start": 0,
"end": 139
}
"range": [
0,
139
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 139
}
"range": [
0,
139
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "ExpressionStatement",
@@ -151,117 +151,117 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 83,
"end": 84
}
"range": [
83,
84
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
"computed": false,
"loc": null,
"range": {
"start": 83,
"end": 86
}
"range": [
83,
86
]
},
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
},
"loc": null,
"range": {
"start": 83,
"end": 90
}
"range": [
83,
90
]
},
"directive": null,
"loc": null,
"range": {
"start": 83,
"end": 91
}
"range": [
83,
91
]
}
],
"loc": null,
"range": {
"start": 75,
"end": 97
}
"range": [
75,
97
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 63,
"end": 97
},
"range": [
63,
97
],
"loc": null,
"range": {
"start": 63,
"end": 97
}
"range": [
63,
97
]
},
"arguments": [],
"loc": null,
"range": {
"start": 62,
"end": 100
}
"range": [
62,
100
]
},
"directive": null,
"loc": null,
"range": {
"start": 62,
"end": 101
}
"range": [
62,
101
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 105
}
"range": [
56,
105
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 44,
"end": 105
},
"range": [
44,
105
],
"loc": null,
"range": {
"start": 44,
"end": 105
}
"range": [
44,
105
]
},
"arguments": [],
"loc": null,
"range": {
"start": 43,
"end": 108
}
"range": [
43,
108
]
},
"directive": null,
"loc": null,
"range": {
"start": 43,
"end": 109
}
"range": [
43,
109
]
},
{
"type": "ReturnStatement",
@@ -270,42 +270,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 119,
"end": 120
}
"range": [
119,
120
]
},
"loc": null,
"range": {
"start": 112,
"end": 121
}
"range": [
112,
121
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 123
}
"range": [
22,
123
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 123
},
"range": [
0,
123
],
"loc": null,
"range": {
"start": 0,
"end": 123
}
"range": [
0,
123
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 123
}
"range": [
0,
123
]
}
@@ -24,10 +24,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -70,50 +70,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -126,10 +126,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -149,27 +149,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 63,
"end": 70
}
"range": [
63,
70
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 71,
"end": 74
}
"range": [
71,
74
]
},
"computed": false,
"loc": null,
"range": {
"start": 63,
"end": 74
}
"range": [
63,
74
]
},
"arguments": [
{
@@ -177,58 +177,58 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 75,
"end": 76
}
"range": [
75,
76
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 77
}
"range": [
63,
77
]
},
"directive": null,
"loc": null,
"range": {
"start": 63,
"end": 78
}
"range": [
63,
78
]
}
],
"loc": null,
"range": {
"start": 57,
"end": 82
}
"range": [
57,
82
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 82
},
"range": [
51,
82
],
"expression": false,
"loc": null,
"range": {
"start": 51,
"end": 82
}
"range": [
51,
82
]
},
"loc": null,
"range": {
"start": 47,
"end": 82
}
"range": [
47,
82
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 83
}
"range": [
43,
83
]
},
{
"type": "ReturnStatement",
@@ -237,42 +237,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 93,
"end": 94
}
"range": [
93,
94
]
},
"loc": null,
"range": {
"start": 86,
"end": 95
}
"range": [
86,
95
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 97
}
"range": [
22,
97
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 97
},
"range": [
0,
97
],
"loc": null,
"range": {
"start": 0,
"end": 97
}
"range": [
0,
97
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 97
}
"range": [
0,
97
]
}
@@ -28,10 +28,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -39,20 +39,20 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 22
}
"range": [
19,
22
]
},
{
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 27
}
"range": [
24,
27
]
}
],
"body": {
@@ -69,10 +69,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
},
"init": {
"type": "ObjectExpression",
@@ -84,50 +84,50 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"value": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
"loc": null,
"range": {
"start": 37,
"end": 48
}
"range": [
37,
48
]
}
],
"loc": null,
"range": {
"start": 33,
"end": 49
}
"range": [
33,
49
]
},
{
"type": "VariableDeclaration",
@@ -140,10 +140,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"init": {
"type": "ObjectExpression",
@@ -155,50 +155,50 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"value": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
}
],
"loc": null,
"range": {
"start": 60,
"end": 67
}
"range": [
60,
67
]
},
"loc": null,
"range": {
"start": 56,
"end": 67
}
"range": [
56,
67
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 68
}
"range": [
52,
68
]
},
{
"type": "ExpressionStatement",
@@ -222,10 +222,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"init": {
"type": "ObjectExpression",
@@ -237,50 +237,50 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"value": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
}
],
"loc": null,
"range": {
"start": 98,
"end": 103
}
"range": [
98,
103
]
},
"loc": null,
"range": {
"start": 94,
"end": 103
}
"range": [
94,
103
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 104
}
"range": [
90,
104
]
},
{
"type": "VariableDeclaration",
@@ -293,33 +293,33 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"init": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 117,
"end": 118
}
"range": [
117,
118
]
},
"loc": null,
"range": {
"start": 113,
"end": 118
}
"range": [
113,
118
]
}
],
"loc": null,
"range": {
"start": 109,
"end": 119
}
"range": [
109,
119
]
},
{
"type": "ExpressionStatement",
@@ -333,84 +333,84 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 124,
"end": 125
}
"range": [
124,
125
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 126,
"end": 127
}
"range": [
126,
127
]
},
"computed": false,
"loc": null,
"range": {
"start": 124,
"end": 127
}
"range": [
124,
127
]
},
"right": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 130,
"end": 131
}
"range": [
130,
131
]
},
"loc": null,
"range": {
"start": 124,
"end": 131
}
"range": [
124,
131
]
},
"directive": null,
"loc": null,
"range": {
"start": 124,
"end": 132
}
"range": [
124,
132
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 136
}
"range": [
84,
136
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 72,
"end": 136
},
"range": [
72,
136
],
"loc": null,
"range": {
"start": 72,
"end": 136
}
"range": [
72,
136
]
},
"arguments": [],
"loc": null,
"range": {
"start": 71,
"end": 139
}
"range": [
71,
139
]
},
"directive": null,
"loc": null,
"range": {
"start": 71,
"end": 140
}
"range": [
71,
140
]
},
{
"type": "ExpressionStatement",
@@ -421,10 +421,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 143,
"end": 149
}
"range": [
143,
149
]
},
"arguments": [
{
@@ -432,24 +432,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 150,
"end": 151
}
"range": [
150,
151
]
}
],
"loc": null,
"range": {
"start": 143,
"end": 152
}
"range": [
143,
152
]
},
"directive": null,
"loc": null,
"range": {
"start": 143,
"end": 153
}
"range": [
143,
153
]
},
{
"type": "ReturnStatement",
@@ -458,42 +458,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 163,
"end": 164
}
"range": [
163,
164
]
},
"loc": null,
"range": {
"start": 156,
"end": 165
}
"range": [
156,
165
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 167
}
"range": [
29,
167
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 167
},
"range": [
0,
167
],
"loc": null,
"range": {
"start": 0,
"end": 167
}
"range": [
0,
167
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 167
}
"range": [
0,
167
]
}
@@ -28,10 +28,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -39,20 +39,20 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 22
}
"range": [
19,
22
]
},
{
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 27
}
"range": [
24,
27
]
}
],
"body": {
@@ -69,10 +69,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
},
"init": {
"type": "ObjectExpression",
@@ -84,50 +84,50 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"value": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
"loc": null,
"range": {
"start": 37,
"end": 48
}
"range": [
37,
48
]
}
],
"loc": null,
"range": {
"start": 33,
"end": 49
}
"range": [
33,
49
]
},
{
"type": "VariableDeclaration",
@@ -140,10 +140,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"init": {
"type": "ObjectExpression",
@@ -155,50 +155,50 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"value": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
}
],
"loc": null,
"range": {
"start": 60,
"end": 67
}
"range": [
60,
67
]
},
"loc": null,
"range": {
"start": 56,
"end": 67
}
"range": [
56,
67
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 68
}
"range": [
52,
68
]
},
{
"type": "ExpressionStatement",
@@ -222,10 +222,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"init": {
"type": "ArrayExpression",
@@ -235,30 +235,30 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
}
],
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"loc": null,
"range": {
"start": 94,
"end": 101
}
"range": [
94,
101
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 102
}
"range": [
90,
102
]
},
{
"type": "VariableDeclaration",
@@ -271,33 +271,33 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"init": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 115,
"end": 116
}
"range": [
115,
116
]
},
"loc": null,
"range": {
"start": 111,
"end": 116
}
"range": [
111,
116
]
}
],
"loc": null,
"range": {
"start": 107,
"end": 117
}
"range": [
107,
117
]
},
{
"type": "ExpressionStatement",
@@ -311,84 +311,84 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 123
}
"range": [
122,
123
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 124,
"end": 125
}
"range": [
124,
125
]
},
"computed": false,
"loc": null,
"range": {
"start": 122,
"end": 125
}
"range": [
122,
125
]
},
"right": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
"loc": null,
"range": {
"start": 122,
"end": 129
}
"range": [
122,
129
]
},
"directive": null,
"loc": null,
"range": {
"start": 122,
"end": 130
}
"range": [
122,
130
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 134
}
"range": [
84,
134
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 72,
"end": 134
},
"range": [
72,
134
],
"loc": null,
"range": {
"start": 72,
"end": 134
}
"range": [
72,
134
]
},
"arguments": [],
"loc": null,
"range": {
"start": 71,
"end": 137
}
"range": [
71,
137
]
},
"directive": null,
"loc": null,
"range": {
"start": 71,
"end": 138
}
"range": [
71,
138
]
},
{
"type": "ExpressionStatement",
@@ -399,10 +399,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 141,
"end": 147
}
"range": [
141,
147
]
},
"arguments": [
{
@@ -410,24 +410,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 148,
"end": 149
}
"range": [
148,
149
]
}
],
"loc": null,
"range": {
"start": 141,
"end": 150
}
"range": [
141,
150
]
},
"directive": null,
"loc": null,
"range": {
"start": 141,
"end": 151
}
"range": [
141,
151
]
},
{
"type": "ReturnStatement",
@@ -436,42 +436,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 161,
"end": 162
}
"range": [
161,
162
]
},
"loc": null,
"range": {
"start": 154,
"end": 163
}
"range": [
154,
163
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 165
}
"range": [
29,
165
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 165
},
"range": [
0,
165
],
"loc": null,
"range": {
"start": 0,
"end": 165
}
"range": [
0,
165
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 165
}
"range": [
0,
165
]
}
@@ -28,10 +28,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -39,20 +39,20 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 22
}
"range": [
19,
22
]
},
{
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 27
}
"range": [
24,
27
]
}
],
"body": {
@@ -69,10 +69,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
},
"init": {
"type": "ObjectExpression",
@@ -84,50 +84,50 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"value": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
"loc": null,
"range": {
"start": 37,
"end": 48
}
"range": [
37,
48
]
}
],
"loc": null,
"range": {
"start": 33,
"end": 49
}
"range": [
33,
49
]
},
{
"type": "VariableDeclaration",
@@ -140,10 +140,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"init": {
"type": "ObjectExpression",
@@ -155,50 +155,50 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"value": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
}
],
"loc": null,
"range": {
"start": 60,
"end": 67
}
"range": [
60,
67
]
},
"loc": null,
"range": {
"start": 56,
"end": 67
}
"range": [
56,
67
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 68
}
"range": [
52,
68
]
},
{
"type": "ExpressionStatement",
@@ -222,10 +222,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"init": {
"type": "ArrayExpression",
@@ -235,30 +235,30 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
}
],
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"loc": null,
"range": {
"start": 94,
"end": 101
}
"range": [
94,
101
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 102
}
"range": [
90,
102
]
},
{
"type": "VariableDeclaration",
@@ -271,33 +271,33 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"init": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 115,
"end": 116
}
"range": [
115,
116
]
},
"loc": null,
"range": {
"start": 111,
"end": 116
}
"range": [
111,
116
]
}
],
"loc": null,
"range": {
"start": 107,
"end": 117
}
"range": [
107,
117
]
},
{
"type": "ExpressionStatement",
@@ -311,84 +311,84 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 123
}
"range": [
122,
123
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 124,
"end": 125
}
"range": [
124,
125
]
},
"computed": false,
"loc": null,
"range": {
"start": 122,
"end": 125
}
"range": [
122,
125
]
},
"right": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
"loc": null,
"range": {
"start": 122,
"end": 129
}
"range": [
122,
129
]
},
"directive": null,
"loc": null,
"range": {
"start": 122,
"end": 130
}
"range": [
122,
130
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 134
}
"range": [
84,
134
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 72,
"end": 134
},
"range": [
72,
134
],
"loc": null,
"range": {
"start": 72,
"end": 134
}
"range": [
72,
134
]
},
"arguments": [],
"loc": null,
"range": {
"start": 71,
"end": 137
}
"range": [
71,
137
]
},
"directive": null,
"loc": null,
"range": {
"start": 71,
"end": 138
}
"range": [
71,
138
]
},
{
"type": "ExpressionStatement",
@@ -399,10 +399,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 141,
"end": 147
}
"range": [
141,
147
]
},
"arguments": [
{
@@ -410,24 +410,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 148,
"end": 149
}
"range": [
148,
149
]
}
],
"loc": null,
"range": {
"start": 141,
"end": 150
}
"range": [
141,
150
]
},
"directive": null,
"loc": null,
"range": {
"start": 141,
"end": 151
}
"range": [
141,
151
]
},
{
"type": "ReturnStatement",
@@ -436,42 +436,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 161,
"end": 162
}
"range": [
161,
162
]
},
"loc": null,
"range": {
"start": 154,
"end": 163
}
"range": [
154,
163
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 165
}
"range": [
29,
165
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 165
},
"range": [
0,
165
],
"loc": null,
"range": {
"start": 0,
"end": 165
}
"range": [
0,
165
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 165
}
"range": [
0,
165
]
}
@@ -28,10 +28,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -39,20 +39,20 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 22
}
"range": [
19,
22
]
},
{
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 27
}
"range": [
24,
27
]
}
],
"body": {
@@ -69,10 +69,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
},
"init": {
"type": "ObjectExpression",
@@ -84,50 +84,50 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"value": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 43,
"end": 46
}
"range": [
43,
46
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 48
}
"range": [
41,
48
]
},
"loc": null,
"range": {
"start": 37,
"end": 48
}
"range": [
37,
48
]
}
],
"loc": null,
"range": {
"start": 33,
"end": 49
}
"range": [
33,
49
]
},
{
"type": "VariableDeclaration",
@@ -140,10 +140,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"init": {
"type": "ObjectExpression",
@@ -155,50 +155,50 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"value": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 62,
"end": 65
}
"range": [
62,
65
]
}
],
"loc": null,
"range": {
"start": 60,
"end": 67
}
"range": [
60,
67
]
},
"loc": null,
"range": {
"start": 56,
"end": 67
}
"range": [
56,
67
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 68
}
"range": [
52,
68
]
},
{
"type": "ExpressionStatement",
@@ -222,10 +222,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"init": {
"type": "ObjectExpression",
@@ -237,50 +237,50 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"value": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
}
],
"loc": null,
"range": {
"start": 98,
"end": 103
}
"range": [
98,
103
]
},
"loc": null,
"range": {
"start": 94,
"end": 103
}
"range": [
94,
103
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 104
}
"range": [
90,
104
]
},
{
"type": "VariableDeclaration",
@@ -293,33 +293,33 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"init": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 117,
"end": 118
}
"range": [
117,
118
]
},
"loc": null,
"range": {
"start": 113,
"end": 118
}
"range": [
113,
118
]
}
],
"loc": null,
"range": {
"start": 109,
"end": 119
}
"range": [
109,
119
]
},
{
"type": "ExpressionStatement",
@@ -333,84 +333,84 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 124,
"end": 125
}
"range": [
124,
125
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 126,
"end": 127
}
"range": [
126,
127
]
},
"computed": false,
"loc": null,
"range": {
"start": 124,
"end": 127
}
"range": [
124,
127
]
},
"right": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 130,
"end": 131
}
"range": [
130,
131
]
},
"loc": null,
"range": {
"start": 124,
"end": 131
}
"range": [
124,
131
]
},
"directive": null,
"loc": null,
"range": {
"start": 124,
"end": 132
}
"range": [
124,
132
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 136
}
"range": [
84,
136
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 72,
"end": 136
},
"range": [
72,
136
],
"loc": null,
"range": {
"start": 72,
"end": 136
}
"range": [
72,
136
]
},
"arguments": [],
"loc": null,
"range": {
"start": 71,
"end": 139
}
"range": [
71,
139
]
},
"directive": null,
"loc": null,
"range": {
"start": 71,
"end": 140
}
"range": [
71,
140
]
},
{
"type": "ExpressionStatement",
@@ -421,10 +421,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 143,
"end": 149
}
"range": [
143,
149
]
},
"arguments": [
{
@@ -432,24 +432,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 150,
"end": 151
}
"range": [
150,
151
]
}
],
"loc": null,
"range": {
"start": 143,
"end": 152
}
"range": [
143,
152
]
},
"directive": null,
"loc": null,
"range": {
"start": 143,
"end": 153
}
"range": [
143,
153
]
},
{
"type": "ReturnStatement",
@@ -458,42 +458,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 163,
"end": 164
}
"range": [
163,
164
]
},
"loc": null,
"range": {
"start": 156,
"end": 165
}
"range": [
156,
165
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 167
}
"range": [
29,
167
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 167
},
"range": [
0,
167
],
"loc": null,
"range": {
"start": 0,
"end": 167
}
"range": [
0,
167
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 167
}
"range": [
0,
167
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -128,32 +128,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 51,
"end": 53
}
"range": [
51,
53
]
},
"loc": null,
"range": {
"start": 47,
"end": 53
}
"range": [
47,
53
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 54
}
"range": [
43,
54
]
},
{
"type": "ExpressionStatement",
@@ -178,83 +178,83 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"property": {
"type": "StringLiteral",
"value": "x",
"loc": null,
"range": {
"start": 78,
"end": 81
}
"range": [
78,
81
]
},
"computed": true,
"loc": null,
"range": {
"start": 76,
"end": 82
}
"range": [
76,
82
]
},
"right": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
"loc": null,
"range": {
"start": 76,
"end": 86
}
"range": [
76,
86
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 87
}
"range": [
76,
87
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 91
}
"range": [
70,
91
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 91
},
"range": [
58,
91
],
"loc": null,
"range": {
"start": 58,
"end": 91
}
"range": [
58,
91
]
},
"arguments": [],
"loc": null,
"range": {
"start": 57,
"end": 94
}
"range": [
57,
94
]
},
"directive": null,
"loc": null,
"range": {
"start": 57,
"end": 95
}
"range": [
57,
95
]
},
{
"type": "ExpressionStatement",
@@ -265,10 +265,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 104
}
"range": [
98,
104
]
},
"arguments": [
{
@@ -276,24 +276,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 106
}
"range": [
105,
106
]
}
],
"loc": null,
"range": {
"start": 98,
"end": 107
}
"range": [
98,
107
]
},
"directive": null,
"loc": null,
"range": {
"start": 98,
"end": 108
}
"range": [
98,
108
]
},
{
"type": "ReturnStatement",
@@ -302,42 +302,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 118,
"end": 119
}
"range": [
118,
119
]
},
"loc": null,
"range": {
"start": 111,
"end": 120
}
"range": [
111,
120
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 122
}
"range": [
22,
122
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 122
},
"range": [
0,
122
],
"loc": null,
"range": {
"start": 0,
"end": 122
}
"range": [
0,
122
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 122
}
"range": [
0,
122
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -128,32 +128,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 51,
"end": 53
}
"range": [
51,
53
]
},
"loc": null,
"range": {
"start": 47,
"end": 53
}
"range": [
47,
53
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 54
}
"range": [
43,
54
]
},
{
"type": "ExpressionStatement",
@@ -178,84 +178,84 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"computed": false,
"loc": null,
"range": {
"start": 76,
"end": 79
}
"range": [
76,
79
]
},
"right": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 82,
"end": 83
}
"range": [
82,
83
]
},
"loc": null,
"range": {
"start": 76,
"end": 83
}
"range": [
76,
83
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 84
}
"range": [
76,
84
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 88
}
"range": [
70,
88
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 88
},
"range": [
58,
88
],
"loc": null,
"range": {
"start": 58,
"end": 88
}
"range": [
58,
88
]
},
"arguments": [],
"loc": null,
"range": {
"start": 57,
"end": 91
}
"range": [
57,
91
]
},
"directive": null,
"loc": null,
"range": {
"start": 57,
"end": 92
}
"range": [
57,
92
]
},
{
"type": "ExpressionStatement",
@@ -266,10 +266,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 95,
"end": 101
}
"range": [
95,
101
]
},
"arguments": [
{
@@ -277,24 +277,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 102,
"end": 103
}
"range": [
102,
103
]
}
],
"loc": null,
"range": {
"start": 95,
"end": 104
}
"range": [
95,
104
]
},
"directive": null,
"loc": null,
"range": {
"start": 95,
"end": 105
}
"range": [
95,
105
]
},
{
"type": "ReturnStatement",
@@ -303,42 +303,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 115,
"end": 116
}
"range": [
115,
116
]
},
"loc": null,
"range": {
"start": 108,
"end": 117
}
"range": [
108,
117
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 119
}
"range": [
22,
119
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 119
},
"range": [
0,
119
],
"loc": null,
"range": {
"start": 0,
"end": 119
}
"range": [
0,
119
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 119
}
"range": [
0,
119
]
}
@@ -27,10 +27,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -38,10 +38,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -58,10 +58,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -73,50 +73,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -129,32 +129,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 51,
"end": 53
}
"range": [
51,
53
]
},
"loc": null,
"range": {
"start": 47,
"end": 53
}
"range": [
47,
53
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 54
}
"range": [
43,
54
]
},
{
"type": "ExpressionStatement",
@@ -178,33 +178,33 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"init": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 80,
"end": 85
}
"range": [
80,
85
]
}
],
"loc": null,
"range": {
"start": 76,
"end": 86
}
"range": [
76,
86
]
},
{
"type": "ExpressionStatement",
@@ -218,83 +218,83 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 92
}
"range": [
91,
92
]
},
"property": {
"type": "StringLiteral",
"value": "x",
"loc": null,
"range": {
"start": 93,
"end": 96
}
"range": [
93,
96
]
},
"computed": true,
"loc": null,
"range": {
"start": 91,
"end": 97
}
"range": [
91,
97
]
},
"right": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
"loc": null,
"range": {
"start": 91,
"end": 101
}
"range": [
91,
101
]
},
"directive": null,
"loc": null,
"range": {
"start": 91,
"end": 102
}
"range": [
91,
102
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 106
}
"range": [
70,
106
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 106
},
"range": [
58,
106
],
"loc": null,
"range": {
"start": 58,
"end": 106
}
"range": [
58,
106
]
},
"arguments": [],
"loc": null,
"range": {
"start": 57,
"end": 109
}
"range": [
57,
109
]
},
"directive": null,
"loc": null,
"range": {
"start": 57,
"end": 110
}
"range": [
57,
110
]
},
{
"type": "ExpressionStatement",
@@ -305,10 +305,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 119
}
"range": [
113,
119
]
},
"arguments": [
{
@@ -316,24 +316,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 120,
"end": 121
}
"range": [
120,
121
]
}
],
"loc": null,
"range": {
"start": 113,
"end": 122
}
"range": [
113,
122
]
},
"directive": null,
"loc": null,
"range": {
"start": 113,
"end": 123
}
"range": [
113,
123
]
},
{
"type": "ReturnStatement",
@@ -342,42 +342,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 133,
"end": 134
}
"range": [
133,
134
]
},
"loc": null,
"range": {
"start": 126,
"end": 135
}
"range": [
126,
135
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 137
}
"range": [
22,
137
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 137
},
"range": [
0,
137
],
"loc": null,
"range": {
"start": 0,
"end": 137
}
"range": [
0,
137
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 137
}
"range": [
0,
137
]
}
@@ -27,10 +27,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -38,10 +38,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -58,10 +58,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -73,50 +73,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -129,32 +129,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 51,
"end": 53
}
"range": [
51,
53
]
},
"loc": null,
"range": {
"start": 47,
"end": 53
}
"range": [
47,
53
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 54
}
"range": [
43,
54
]
},
{
"type": "ExpressionStatement",
@@ -178,33 +178,33 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"init": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 80,
"end": 85
}
"range": [
80,
85
]
}
],
"loc": null,
"range": {
"start": 76,
"end": 86
}
"range": [
76,
86
]
},
{
"type": "ExpressionStatement",
@@ -218,84 +218,84 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 92
}
"range": [
91,
92
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 93,
"end": 94
}
"range": [
93,
94
]
},
"computed": false,
"loc": null,
"range": {
"start": 91,
"end": 94
}
"range": [
91,
94
]
},
"right": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 97,
"end": 98
}
"range": [
97,
98
]
},
"loc": null,
"range": {
"start": 91,
"end": 98
}
"range": [
91,
98
]
},
"directive": null,
"loc": null,
"range": {
"start": 91,
"end": 99
}
"range": [
91,
99
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 103
}
"range": [
70,
103
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 103
},
"range": [
58,
103
],
"loc": null,
"range": {
"start": 58,
"end": 103
}
"range": [
58,
103
]
},
"arguments": [],
"loc": null,
"range": {
"start": 57,
"end": 106
}
"range": [
57,
106
]
},
"directive": null,
"loc": null,
"range": {
"start": 57,
"end": 107
}
"range": [
57,
107
]
},
{
"type": "ExpressionStatement",
@@ -306,10 +306,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 116
}
"range": [
110,
116
]
},
"arguments": [
{
@@ -317,24 +317,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 117,
"end": 118
}
"range": [
117,
118
]
}
],
"loc": null,
"range": {
"start": 110,
"end": 119
}
"range": [
110,
119
]
},
"directive": null,
"loc": null,
"range": {
"start": 110,
"end": 120
}
"range": [
110,
120
]
},
{
"type": "ReturnStatement",
@@ -343,42 +343,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 130,
"end": 131
}
"range": [
130,
131
]
},
"loc": null,
"range": {
"start": 123,
"end": 132
}
"range": [
123,
132
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 134
}
"range": [
22,
134
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 134
},
"range": [
0,
134
],
"loc": null,
"range": {
"start": 0,
"end": 134
}
"range": [
0,
134
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 134
}
"range": [
0,
134
]
}
@@ -27,10 +27,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -38,20 +38,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -68,10 +68,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -83,50 +83,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "VariableDeclaration",
@@ -139,10 +139,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"init": {
"type": "ObjectExpression",
@@ -154,50 +154,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
}
],
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"loc": null,
"range": {
"start": 50,
"end": 59
}
"range": [
50,
59
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 60
}
"range": [
46,
60
]
},
{
"type": "VariableDeclaration",
@@ -210,10 +210,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"init": {
"type": "FunctionExpression",
@@ -234,49 +234,49 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 92
}
"range": [
91,
92
]
},
"computed": false,
"loc": null,
"range": {
"start": 89,
"end": 92
}
"range": [
89,
92
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 95,
"end": 96
}
"range": [
95,
96
]
},
"loc": null,
"range": {
"start": 89,
"end": 96
}
"range": [
89,
96
]
},
"directive": null,
"loc": null,
"range": {
"start": 89,
"end": 97
}
"range": [
89,
97
]
},
{
"type": "ExpressionStatement",
@@ -287,67 +287,67 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 102,
"end": 103
}
"range": [
102,
103
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 104,
"end": 105
}
"range": [
104,
105
]
},
"computed": false,
"loc": null,
"range": {
"start": 102,
"end": 105
}
"range": [
102,
105
]
},
"directive": null,
"loc": null,
"range": {
"start": 102,
"end": 106
}
"range": [
102,
106
]
}
],
"loc": null,
"range": {
"start": 83,
"end": 110
}
"range": [
83,
110
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 71,
"end": 110
},
"range": [
71,
110
],
"loc": null,
"range": {
"start": 71,
"end": 110
}
"range": [
71,
110
]
},
"loc": null,
"range": {
"start": 67,
"end": 110
}
"range": [
67,
110
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 111
}
"range": [
63,
111
]
},
{
"type": "ExpressionStatement",
@@ -358,24 +358,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 114,
"end": 115
}
"range": [
114,
115
]
},
"arguments": [],
"loc": null,
"range": {
"start": 114,
"end": 117
}
"range": [
114,
117
]
},
"directive": null,
"loc": null,
"range": {
"start": 114,
"end": 118
}
"range": [
114,
118
]
},
{
"type": "ReturnStatement",
@@ -384,42 +384,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
"loc": null,
"range": {
"start": 121,
"end": 130
}
"range": [
121,
130
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 132
}
"range": [
25,
132
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 132
},
"range": [
0,
132
],
"loc": null,
"range": {
"start": 0,
"end": 132
}
"range": [
0,
132
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 132
}
"range": [
0,
132
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,20 +37,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -67,10 +67,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -82,50 +82,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "VariableDeclaration",
@@ -138,10 +138,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"init": {
"type": "ObjectExpression",
@@ -153,50 +153,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
}
],
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"loc": null,
"range": {
"start": 50,
"end": 59
}
"range": [
50,
59
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 60
}
"range": [
46,
60
]
},
{
"type": "VariableDeclaration",
@@ -209,10 +209,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"init": {
"type": "FunctionExpression",
@@ -233,49 +233,49 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 92
}
"range": [
91,
92
]
},
"computed": false,
"loc": null,
"range": {
"start": 89,
"end": 92
}
"range": [
89,
92
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 95,
"end": 96
}
"range": [
95,
96
]
},
"loc": null,
"range": {
"start": 89,
"end": 96
}
"range": [
89,
96
]
},
"directive": null,
"loc": null,
"range": {
"start": 89,
"end": 97
}
"range": [
89,
97
]
},
{
"type": "ExpressionStatement",
@@ -286,67 +286,67 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 102,
"end": 103
}
"range": [
102,
103
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 104,
"end": 105
}
"range": [
104,
105
]
},
"computed": false,
"loc": null,
"range": {
"start": 102,
"end": 105
}
"range": [
102,
105
]
},
"directive": null,
"loc": null,
"range": {
"start": 102,
"end": 106
}
"range": [
102,
106
]
}
],
"loc": null,
"range": {
"start": 83,
"end": 110
}
"range": [
83,
110
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 71,
"end": 110
},
"range": [
71,
110
],
"loc": null,
"range": {
"start": 71,
"end": 110
}
"range": [
71,
110
]
},
"loc": null,
"range": {
"start": 67,
"end": 110
}
"range": [
67,
110
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 111
}
"range": [
63,
111
]
},
{
"type": "ReturnStatement",
@@ -355,42 +355,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 121,
"end": 122
}
"range": [
121,
122
]
},
"loc": null,
"range": {
"start": 114,
"end": 123
}
"range": [
114,
123
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 125
}
"range": [
25,
125
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 125
},
"range": [
0,
125
],
"loc": null,
"range": {
"start": 0,
"end": 125
}
"range": [
0,
125
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 125
}
"range": [
0,
125
]
}
@@ -25,10 +25,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -36,10 +36,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -56,10 +56,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -71,10 +71,10 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "ObjectExpression",
@@ -86,67 +86,67 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 44
}
"range": [
39,
44
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 44
}
"range": [
36,
44
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 46
}
"range": [
34,
46
]
},
"loc": null,
"range": {
"start": 30,
"end": 46
}
"range": [
30,
46
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 47
}
"range": [
26,
47
]
},
{
"type": "VariableDeclaration",
@@ -159,10 +159,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"init": {
"type": "FunctionExpression",
@@ -185,99 +185,99 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"computed": false,
"loc": null,
"range": {
"start": 76,
"end": 79
}
"range": [
76,
79
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"computed": false,
"loc": null,
"range": {
"start": 76,
"end": 81
}
"range": [
76,
81
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"loc": null,
"range": {
"start": 76,
"end": 85
}
"range": [
76,
85
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 86
}
"range": [
76,
86
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 90
}
"range": [
70,
90
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 90
},
"range": [
58,
90
],
"loc": null,
"range": {
"start": 58,
"end": 90
}
"range": [
58,
90
]
},
"loc": null,
"range": {
"start": 54,
"end": 90
}
"range": [
54,
90
]
}
],
"loc": null,
"range": {
"start": 50,
"end": 91
}
"range": [
50,
91
]
},
{
"type": "ExpressionStatement",
@@ -288,24 +288,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"arguments": [],
"loc": null,
"range": {
"start": 94,
"end": 97
}
"range": [
94,
97
]
},
"directive": null,
"loc": null,
"range": {
"start": 94,
"end": 98
}
"range": [
94,
98
]
},
{
"type": "ReturnStatement",
@@ -314,42 +314,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 108,
"end": 109
}
"range": [
108,
109
]
},
"loc": null,
"range": {
"start": 101,
"end": 110
}
"range": [
101,
110
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 112
}
"range": [
22,
112
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 112
},
"range": [
0,
112
],
"loc": null,
"range": {
"start": 0,
"end": 112
}
"range": [
0,
112
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 112
}
"range": [
0,
112
]
}
@@ -27,10 +27,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -38,20 +38,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -68,10 +68,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -83,50 +83,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "VariableDeclaration",
@@ -139,10 +139,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"init": {
"type": "ObjectExpression",
@@ -154,50 +154,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
}
],
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"loc": null,
"range": {
"start": 50,
"end": 59
}
"range": [
50,
59
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 60
}
"range": [
46,
60
]
},
{
"type": "VariableDeclaration",
@@ -210,10 +210,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"init": {
"type": "FunctionExpression",
@@ -234,49 +234,49 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 92
}
"range": [
91,
92
]
},
"computed": false,
"loc": null,
"range": {
"start": 89,
"end": 92
}
"range": [
89,
92
]
},
"right": {
"type": "NumericLiteral",
"value": 2.0,
"loc": null,
"range": {
"start": 95,
"end": 96
}
"range": [
95,
96
]
},
"loc": null,
"range": {
"start": 89,
"end": 96
}
"range": [
89,
96
]
},
"directive": null,
"loc": null,
"range": {
"start": 89,
"end": 97
}
"range": [
89,
97
]
},
{
"type": "ExpressionStatement",
@@ -289,27 +289,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 102,
"end": 109
}
"range": [
102,
109
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 113
}
"range": [
110,
113
]
},
"computed": false,
"loc": null,
"range": {
"start": 102,
"end": 113
}
"range": [
102,
113
]
},
"arguments": [
{
@@ -319,74 +319,74 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 114,
"end": 115
}
"range": [
114,
115
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 116,
"end": 117
}
"range": [
116,
117
]
},
"computed": false,
"loc": null,
"range": {
"start": 114,
"end": 117
}
"range": [
114,
117
]
}
],
"loc": null,
"range": {
"start": 102,
"end": 118
}
"range": [
102,
118
]
},
"directive": null,
"loc": null,
"range": {
"start": 102,
"end": 119
}
"range": [
102,
119
]
}
],
"loc": null,
"range": {
"start": 83,
"end": 123
}
"range": [
83,
123
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 71,
"end": 123
},
"range": [
71,
123
],
"loc": null,
"range": {
"start": 71,
"end": 123
}
"range": [
71,
123
]
},
"loc": null,
"range": {
"start": 67,
"end": 123
}
"range": [
67,
123
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 124
}
"range": [
63,
124
]
},
{
"type": "ExpressionStatement",
@@ -397,24 +397,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 127,
"end": 128
}
"range": [
127,
128
]
},
"arguments": [],
"loc": null,
"range": {
"start": 127,
"end": 130
}
"range": [
127,
130
]
},
"directive": null,
"loc": null,
"range": {
"start": 127,
"end": 131
}
"range": [
127,
131
]
},
{
"type": "ReturnStatement",
@@ -423,42 +423,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 141,
"end": 142
}
"range": [
141,
142
]
},
"loc": null,
"range": {
"start": 134,
"end": 143
}
"range": [
134,
143
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 145
}
"range": [
25,
145
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 145
},
"range": [
0,
145
],
"loc": null,
"range": {
"start": 0,
"end": 145
}
"range": [
0,
145
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 145
}
"range": [
0,
145
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -128,32 +128,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 51,
"end": 53
}
"range": [
51,
53
]
},
"loc": null,
"range": {
"start": 47,
"end": 53
}
"range": [
47,
53
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 54
}
"range": [
43,
54
]
},
{
"type": "ExpressionStatement",
@@ -176,67 +176,67 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"right": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"loc": null,
"range": {
"start": 76,
"end": 81
}
"range": [
76,
81
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 82
}
"range": [
76,
82
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 86
}
"range": [
70,
86
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 86
},
"range": [
58,
86
],
"loc": null,
"range": {
"start": 58,
"end": 86
}
"range": [
58,
86
]
},
"arguments": [],
"loc": null,
"range": {
"start": 57,
"end": 89
}
"range": [
57,
89
]
},
"directive": null,
"loc": null,
"range": {
"start": 57,
"end": 90
}
"range": [
57,
90
]
},
{
"type": "ExpressionStatement",
@@ -247,10 +247,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 93,
"end": 99
}
"range": [
93,
99
]
},
"arguments": [
{
@@ -258,24 +258,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
}
],
"loc": null,
"range": {
"start": 93,
"end": 102
}
"range": [
93,
102
]
},
"directive": null,
"loc": null,
"range": {
"start": 93,
"end": 103
}
"range": [
93,
103
]
},
{
"type": "ReturnStatement",
@@ -284,42 +284,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"loc": null,
"range": {
"start": 106,
"end": 115
}
"range": [
106,
115
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 117
}
"range": [
22,
117
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 117
},
"range": [
0,
117
],
"loc": null,
"range": {
"start": 0,
"end": 117
}
"range": [
0,
117
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 117
}
"range": [
0,
117
]
}
@@ -24,10 +24,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -70,50 +70,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -126,10 +126,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "FunctionExpression",
@@ -149,27 +149,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 76
}
"range": [
69,
76
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 80
}
"range": [
77,
80
]
},
"computed": false,
"loc": null,
"range": {
"start": 69,
"end": 80
}
"range": [
69,
80
]
},
"arguments": [
{
@@ -177,57 +177,57 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 83
}
"range": [
69,
83
]
},
"directive": null,
"loc": null,
"range": {
"start": 69,
"end": 84
}
"range": [
69,
84
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 88
}
"range": [
63,
88
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 88
},
"range": [
51,
88
],
"loc": null,
"range": {
"start": 51,
"end": 88
}
"range": [
51,
88
]
},
"loc": null,
"range": {
"start": 47,
"end": 88
}
"range": [
47,
88
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 89
}
"range": [
43,
89
]
},
{
"type": "ReturnStatement",
@@ -236,42 +236,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 103
}
"range": [
22,
103
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 103
},
"range": [
0,
103
],
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
@@ -26,10 +26,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 14
}
"range": [
13,
14
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 25
}
"range": [
24,
25
]
},
"init": {
"type": "ArrayExpression",
@@ -70,30 +70,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
}
],
"loc": null,
"range": {
"start": 28,
"end": 31
}
"range": [
28,
31
]
},
"loc": null,
"range": {
"start": 24,
"end": 31
}
"range": [
24,
31
]
}
],
"loc": null,
"range": {
"start": 20,
"end": 32
}
"range": [
20,
32
]
},
{
"type": "VariableDeclaration",
@@ -106,32 +106,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 43,
"end": 45
}
"range": [
43,
45
]
},
"loc": null,
"range": {
"start": 39,
"end": 45
}
"range": [
39,
45
]
}
],
"loc": null,
"range": {
"start": 35,
"end": 46
}
"range": [
35,
46
]
},
{
"type": "ExpressionStatement",
@@ -154,10 +154,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 68,
"end": 69
}
"range": [
68,
69
]
},
"right": {
"type": "MemberExpression",
@@ -168,89 +168,89 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 74,
"end": 75
}
"range": [
74,
75
]
},
"computed": true,
"loc": null,
"range": {
"start": 72,
"end": 76
}
"range": [
72,
76
]
},
"property": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 77,
"end": 78
}
"range": [
77,
78
]
},
"computed": true,
"loc": null,
"range": {
"start": 72,
"end": 79
}
"range": [
72,
79
]
},
"loc": null,
"range": {
"start": 68,
"end": 79
}
"range": [
68,
79
]
},
"directive": null,
"loc": null,
"range": {
"start": 68,
"end": 80
}
"range": [
68,
80
]
}
],
"loc": null,
"range": {
"start": 62,
"end": 84
}
"range": [
62,
84
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 50,
"end": 84
},
"range": [
50,
84
],
"loc": null,
"range": {
"start": 50,
"end": 84
}
"range": [
50,
84
]
},
"arguments": [],
"loc": null,
"range": {
"start": 49,
"end": 87
}
"range": [
49,
87
]
},
"directive": null,
"loc": null,
"range": {
"start": 49,
"end": 88
}
"range": [
49,
88
]
},
{
"type": "ReturnStatement",
@@ -259,42 +259,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
}
],
"loc": null,
"range": {
"start": 16,
"end": 103
}
"range": [
16,
103
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 103
},
"range": [
0,
103
],
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
@@ -28,10 +28,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -39,20 +39,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 14
}
"range": [
13,
14
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 16,
"end": 17
}
"range": [
16,
17
]
}
],
"body": {
@@ -69,10 +69,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 27,
"end": 28
}
"range": [
27,
28
]
},
"init": {
"type": "ArrayExpression",
@@ -82,40 +82,40 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 32,
"end": 33
}
"range": [
32,
33
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 35,
"end": 36
}
"range": [
35,
36
]
}
],
"loc": null,
"range": {
"start": 31,
"end": 37
}
"range": [
31,
37
]
},
"loc": null,
"range": {
"start": 27,
"end": 37
}
"range": [
27,
37
]
}
],
"loc": null,
"range": {
"start": 23,
"end": 38
}
"range": [
23,
38
]
},
{
"type": "VariableDeclaration",
@@ -128,32 +128,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 45,
"end": 46
}
"range": [
45,
46
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 49,
"end": 51
}
"range": [
49,
51
]
},
"loc": null,
"range": {
"start": 45,
"end": 51
}
"range": [
45,
51
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 52
}
"range": [
41,
52
]
},
{
"type": "VariableDeclaration",
@@ -166,32 +166,32 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 60
}
"range": [
59,
60
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 63,
"end": 65
}
"range": [
63,
65
]
},
"loc": null,
"range": {
"start": 59,
"end": 65
}
"range": [
59,
65
]
}
],
"loc": null,
"range": {
"start": 55,
"end": 66
}
"range": [
55,
66
]
},
{
"type": "ExpressionStatement",
@@ -214,10 +214,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 88,
"end": 89
}
"range": [
88,
89
]
},
"right": {
"type": "MemberExpression",
@@ -228,55 +228,55 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"computed": true,
"loc": null,
"range": {
"start": 92,
"end": 96
}
"range": [
92,
96
]
},
"property": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 97,
"end": 98
}
"range": [
97,
98
]
},
"computed": true,
"loc": null,
"range": {
"start": 92,
"end": 99
}
"range": [
92,
99
]
},
"loc": null,
"range": {
"start": 88,
"end": 99
}
"range": [
88,
99
]
},
"directive": null,
"loc": null,
"range": {
"start": 88,
"end": 100
}
"range": [
88,
100
]
},
{
"type": "ExpressionStatement",
@@ -288,10 +288,10 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 106
}
"range": [
105,
106
]
},
"right": {
"type": "MemberExpression",
@@ -302,89 +302,89 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 109,
"end": 110
}
"range": [
109,
110
]
},
"property": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"computed": true,
"loc": null,
"range": {
"start": 109,
"end": 113
}
"range": [
109,
113
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 114,
"end": 115
}
"range": [
114,
115
]
},
"computed": true,
"loc": null,
"range": {
"start": 109,
"end": 116
}
"range": [
109,
116
]
},
"loc": null,
"range": {
"start": 105,
"end": 116
}
"range": [
105,
116
]
},
"directive": null,
"loc": null,
"range": {
"start": 105,
"end": 117
}
"range": [
105,
117
]
}
],
"loc": null,
"range": {
"start": 82,
"end": 121
}
"range": [
82,
121
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 70,
"end": 121
},
"range": [
70,
121
],
"loc": null,
"range": {
"start": 70,
"end": 121
}
"range": [
70,
121
]
},
"arguments": [],
"loc": null,
"range": {
"start": 69,
"end": 124
}
"range": [
69,
124
]
},
"directive": null,
"loc": null,
"range": {
"start": 69,
"end": 125
}
"range": [
69,
125
]
},
{
"type": "ReturnStatement",
@@ -393,42 +393,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 136,
"end": 137
}
"range": [
136,
137
]
},
"loc": null,
"range": {
"start": 129,
"end": 138
}
"range": [
129,
138
]
}
],
"loc": null,
"range": {
"start": 19,
"end": 140
}
"range": [
19,
140
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 140
},
"range": [
0,
140
],
"loc": null,
"range": {
"start": 0,
"end": 140
}
"range": [
0,
140
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 140
}
"range": [
0,
140
]
}
@@ -26,10 +26,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 14
}
"range": [
13,
14
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 25
}
"range": [
24,
25
]
},
"init": {
"type": "ArrayExpression",
@@ -70,30 +70,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
}
],
"loc": null,
"range": {
"start": 28,
"end": 31
}
"range": [
28,
31
]
},
"loc": null,
"range": {
"start": 24,
"end": 31
}
"range": [
24,
31
]
}
],
"loc": null,
"range": {
"start": 20,
"end": 32
}
"range": [
20,
32
]
},
{
"type": "VariableDeclaration",
@@ -106,32 +106,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 43,
"end": 45
}
"range": [
43,
45
]
},
"loc": null,
"range": {
"start": 39,
"end": 45
}
"range": [
39,
45
]
}
],
"loc": null,
"range": {
"start": 35,
"end": 46
}
"range": [
35,
46
]
},
{
"type": "ExpressionStatement",
@@ -154,10 +154,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 68,
"end": 69
}
"range": [
68,
69
]
},
"right": {
"type": "MemberExpression",
@@ -170,106 +170,106 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 74,
"end": 75
}
"range": [
74,
75
]
},
"computed": true,
"loc": null,
"range": {
"start": 72,
"end": 76
}
"range": [
72,
76
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 78
}
"range": [
77,
78
]
},
"computed": false,
"loc": null,
"range": {
"start": 72,
"end": 78
}
"range": [
72,
78
]
},
"property": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 79,
"end": 80
}
"range": [
79,
80
]
},
"computed": true,
"loc": null,
"range": {
"start": 72,
"end": 81
}
"range": [
72,
81
]
},
"loc": null,
"range": {
"start": 68,
"end": 81
}
"range": [
68,
81
]
},
"directive": null,
"loc": null,
"range": {
"start": 68,
"end": 82
}
"range": [
68,
82
]
}
],
"loc": null,
"range": {
"start": 62,
"end": 86
}
"range": [
62,
86
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 50,
"end": 86
},
"range": [
50,
86
],
"loc": null,
"range": {
"start": 50,
"end": 86
}
"range": [
50,
86
]
},
"arguments": [],
"loc": null,
"range": {
"start": 49,
"end": 89
}
"range": [
49,
89
]
},
"directive": null,
"loc": null,
"range": {
"start": 49,
"end": 90
}
"range": [
49,
90
]
},
{
"type": "ReturnStatement",
@@ -278,42 +278,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 101,
"end": 102
}
"range": [
101,
102
]
},
"loc": null,
"range": {
"start": 94,
"end": 103
}
"range": [
94,
103
]
}
],
"loc": null,
"range": {
"start": 16,
"end": 105
}
"range": [
16,
105
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 105
},
"range": [
0,
105
],
"loc": null,
"range": {
"start": 0,
"end": 105
}
"range": [
0,
105
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 105
}
"range": [
0,
105
]
}
@@ -26,10 +26,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 14
}
"range": [
13,
14
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 24,
"end": 25
}
"range": [
24,
25
]
},
"init": {
"type": "ArrayExpression",
@@ -70,30 +70,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
}
],
"loc": null,
"range": {
"start": 28,
"end": 31
}
"range": [
28,
31
]
},
"loc": null,
"range": {
"start": 24,
"end": 31
}
"range": [
24,
31
]
}
],
"loc": null,
"range": {
"start": 20,
"end": 32
}
"range": [
20,
32
]
},
{
"type": "VariableDeclaration",
@@ -106,32 +106,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 43,
"end": 45
}
"range": [
43,
45
]
},
"loc": null,
"range": {
"start": 39,
"end": 45
}
"range": [
39,
45
]
}
],
"loc": null,
"range": {
"start": 35,
"end": 46
}
"range": [
35,
46
]
},
{
"type": "ExpressionStatement",
@@ -154,10 +154,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 68,
"end": 69
}
"range": [
68,
69
]
},
"right": {
"type": "MemberExpression",
@@ -166,73 +166,73 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"property": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 74,
"end": 75
}
"range": [
74,
75
]
},
"computed": true,
"loc": null,
"range": {
"start": 72,
"end": 76
}
"range": [
72,
76
]
},
"loc": null,
"range": {
"start": 68,
"end": 76
}
"range": [
68,
76
]
},
"directive": null,
"loc": null,
"range": {
"start": 68,
"end": 77
}
"range": [
68,
77
]
}
],
"loc": null,
"range": {
"start": 62,
"end": 81
}
"range": [
62,
81
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 50,
"end": 81
},
"range": [
50,
81
],
"loc": null,
"range": {
"start": 50,
"end": 81
}
"range": [
50,
81
]
},
"arguments": [],
"loc": null,
"range": {
"start": 49,
"end": 84
}
"range": [
49,
84
]
},
"directive": null,
"loc": null,
"range": {
"start": 49,
"end": 85
}
"range": [
49,
85
]
},
{
"type": "ReturnStatement",
@@ -241,42 +241,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 96,
"end": 97
}
"range": [
96,
97
]
},
"loc": null,
"range": {
"start": 89,
"end": 98
}
"range": [
89,
98
]
}
],
"loc": null,
"range": {
"start": 16,
"end": 100
}
"range": [
16,
100
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 100
},
"range": [
0,
100
],
"loc": null,
"range": {
"start": 0,
"end": 100
}
"range": [
0,
100
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 100
}
"range": [
0,
100
]
}
@@ -31,10 +31,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -42,20 +42,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -72,10 +72,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -87,50 +87,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "ExpressionStatement",
@@ -152,10 +152,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 65,
"end": 71
}
"range": [
65,
71
]
},
"arguments": [
{
@@ -163,58 +163,58 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
}
],
"loc": null,
"range": {
"start": 65,
"end": 74
}
"range": [
65,
74
]
},
"directive": null,
"loc": null,
"range": {
"start": 65,
"end": 75
}
"range": [
65,
75
]
}
],
"loc": null,
"range": {
"start": 59,
"end": 79
}
"range": [
59,
79
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 47,
"end": 79
},
"range": [
47,
79
],
"loc": null,
"range": {
"start": 47,
"end": 79
}
"range": [
47,
79
]
},
"arguments": [],
"loc": null,
"range": {
"start": 46,
"end": 82
}
"range": [
46,
82
]
},
"directive": null,
"loc": null,
"range": {
"start": 46,
"end": 83
}
"range": [
46,
83
]
},
{
"type": "VariableDeclaration",
@@ -227,33 +227,33 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 91
}
"range": [
90,
91
]
},
"init": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"loc": null,
"range": {
"start": 90,
"end": 95
}
"range": [
90,
95
]
}
],
"loc": null,
"range": {
"start": 86,
"end": 96
}
"range": [
86,
96
]
},
{
"type": "BlockStatement",
@@ -269,10 +269,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 171,
"end": 172
}
"range": [
171,
172
]
},
"init": {
"type": "ObjectExpression",
@@ -284,50 +284,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 177,
"end": 178
}
"range": [
177,
178
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 177,
"end": 178
}
"range": [
177,
178
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 177,
"end": 178
}
"range": [
177,
178
]
}
],
"loc": null,
"range": {
"start": 175,
"end": 180
}
"range": [
175,
180
]
},
"loc": null,
"range": {
"start": 171,
"end": 180
}
"range": [
171,
180
]
}
],
"loc": null,
"range": {
"start": 167,
"end": 181
}
"range": [
167,
181
]
},
{
"type": "ExpressionStatement",
@@ -339,10 +339,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 186,
"end": 187
}
"range": [
186,
187
]
},
"right": {
"type": "ObjectExpression",
@@ -354,30 +354,30 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 192,
"end": 193
}
"range": [
192,
193
]
},
"value": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 192,
"end": 193
}
"range": [
192,
193
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 192,
"end": 193
}
"range": [
192,
193
]
},
{
"type": "Property",
@@ -386,57 +386,57 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 195,
"end": 196
}
"range": [
195,
196
]
},
"value": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 195,
"end": 196
}
"range": [
195,
196
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 195,
"end": 196
}
"range": [
195,
196
]
}
],
"loc": null,
"range": {
"start": 190,
"end": 198
}
"range": [
190,
198
]
},
"loc": null,
"range": {
"start": 186,
"end": 198
}
"range": [
186,
198
]
},
"directive": null,
"loc": null,
"range": {
"start": 186,
"end": 199
}
"range": [
186,
199
]
}
],
"loc": null,
"range": {
"start": 100,
"end": 203
}
"range": [
100,
203
]
},
{
"type": "ReturnStatement",
@@ -445,42 +445,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 213,
"end": 214
}
"range": [
213,
214
]
},
"loc": null,
"range": {
"start": 206,
"end": 215
}
"range": [
206,
215
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 217
}
"range": [
25,
217
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 217
},
"range": [
0,
217
],
"loc": null,
"range": {
"start": 0,
"end": 217
}
"range": [
0,
217
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 217
}
"range": [
0,
217
]
}
@@ -31,10 +31,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 28
}
"range": [
19,
28
]
},
"params": [
{
@@ -42,20 +42,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 32,
"end": 33
}
"range": [
32,
33
]
}
],
"body": {
@@ -72,10 +72,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 43,
"end": 44
}
"range": [
43,
44
]
},
"init": {
"type": "ObjectExpression",
@@ -87,50 +87,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 49,
"end": 50
}
"range": [
49,
50
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 49,
"end": 50
}
"range": [
49,
50
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 49,
"end": 50
}
"range": [
49,
50
]
}
],
"loc": null,
"range": {
"start": 47,
"end": 52
}
"range": [
47,
52
]
},
"loc": null,
"range": {
"start": 43,
"end": 52
}
"range": [
43,
52
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 53
}
"range": [
39,
53
]
},
{
"type": "VariableDeclaration",
@@ -143,33 +143,33 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 61
}
"range": [
60,
61
]
},
"init": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 64,
"end": 65
}
"range": [
64,
65
]
},
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 66
}
"range": [
56,
66
]
},
{
"type": "VariableDeclaration",
@@ -182,10 +182,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
"init": {
"type": "FunctionExpression",
@@ -201,10 +201,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"consequent": {
"type": "BlockStatement",
@@ -218,10 +218,10 @@ Output:
"name": "maybeMutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 262,
"end": 273
}
"range": [
262,
273
]
},
"arguments": [
{
@@ -229,71 +229,71 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 274,
"end": 275
}
"range": [
274,
275
]
}
],
"loc": null,
"range": {
"start": 262,
"end": 276
}
"range": [
262,
276
]
},
"directive": null,
"loc": null,
"range": {
"start": 262,
"end": 277
}
"range": [
262,
277
]
}
],
"loc": null,
"range": {
"start": 102,
"end": 283
}
"range": [
102,
283
]
},
"alternate": null,
"loc": null,
"range": {
"start": 95,
"end": 283
}
"range": [
95,
283
]
}
],
"loc": null,
"range": {
"start": 89,
"end": 287
}
"range": [
89,
287
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 77,
"end": 287
},
"range": [
77,
287
],
"loc": null,
"range": {
"start": 77,
"end": 287
}
"range": [
77,
287
]
},
"loc": null,
"range": {
"start": 73,
"end": 287
}
"range": [
73,
287
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 288
}
"range": [
69,
288
]
},
{
"type": "ReturnStatement",
@@ -302,42 +302,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 298,
"end": 299
}
"range": [
298,
299
]
},
"loc": null,
"range": {
"start": 291,
"end": 300
}
"range": [
291,
300
]
}
],
"loc": null,
"range": {
"start": 35,
"end": 302
}
"range": [
35,
302
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 10,
"end": 302
},
"range": [
10,
302
],
"loc": null,
"range": {
"start": 10,
"end": 302
}
"range": [
10,
302
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 10,
"end": 302
}
"range": [
10,
302
]
}
@@ -25,10 +25,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -36,10 +36,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -56,10 +56,10 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -71,50 +71,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "FunctionDeclaration",
@@ -123,10 +123,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 53
}
"range": [
52,
53
]
},
"params": [],
"body": {
@@ -143,61 +143,61 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 63
}
"range": [
62,
63
]
},
"property": {
"type": "Identifier",
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 64,
"end": 67
}
"range": [
64,
67
]
},
"computed": false,
"loc": null,
"range": {
"start": 62,
"end": 67
}
"range": [
62,
67
]
},
"arguments": [],
"loc": null,
"range": {
"start": 62,
"end": 69
}
"range": [
62,
69
]
},
"directive": null,
"loc": null,
"range": {
"start": 62,
"end": 70
}
"range": [
62,
70
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 74
}
"range": [
56,
74
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 43,
"end": 74
},
"range": [
43,
74
],
"loc": null,
"range": {
"start": 43,
"end": 74
}
"range": [
43,
74
]
},
{
"type": "ExpressionStatement",
@@ -208,10 +208,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 78
}
"range": [
77,
78
]
},
"arguments": [
{
@@ -219,24 +219,24 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 79,
"end": 80
}
"range": [
79,
80
]
}
],
"loc": null,
"range": {
"start": 77,
"end": 81
}
"range": [
77,
81
]
},
"directive": null,
"loc": null,
"range": {
"start": 77,
"end": 82
}
"range": [
77,
82
]
},
{
"type": "ReturnStatement",
@@ -245,42 +245,42 @@ Output:
"name": "t",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"loc": null,
"range": {
"start": 85,
"end": 94
}
"range": [
85,
94
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 96
}
"range": [
22,
96
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 96
},
"range": [
0,
96
],
"loc": null,
"range": {
"start": 0,
"end": 96
}
"range": [
0,
96
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 96
}
"range": [
0,
96
]
}
@@ -27,10 +27,10 @@ Output:
"name": "Foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -38,10 +38,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 18
}
"range": [
13,
18
]
}
],
"body": {
@@ -58,10 +58,10 @@ Output:
"name": "onFoo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 35
}
"range": [
30,
35
]
},
"init": {
"type": "CallExpression",
@@ -70,10 +70,10 @@ Output:
"name": "useCallback",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 38,
"end": 49
}
"range": [
38,
49
]
},
"arguments": [
{
@@ -85,10 +85,10 @@ Output:
"name": "reason",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 62
}
"range": [
56,
62
]
}
],
"body": {
@@ -103,10 +103,10 @@ Output:
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 75,
"end": 78
}
"range": [
75,
78
]
},
"arguments": [
{
@@ -118,79 +118,79 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 79,
"end": 84
}
"range": [
79,
84
]
},
"property": {
"type": "Identifier",
"name": "router",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 91
}
"range": [
85,
91
]
},
"computed": false,
"loc": null,
"range": {
"start": 79,
"end": 91
}
"range": [
79,
91
]
},
"property": {
"type": "Identifier",
"name": "location",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 100
}
"range": [
92,
100
]
},
"computed": false,
"loc": null,
"range": {
"start": 79,
"end": 100
}
"range": [
79,
100
]
}
],
"loc": null,
"range": {
"start": 75,
"end": 101
}
"range": [
75,
101
]
},
"directive": null,
"loc": null,
"range": {
"start": 75,
"end": 102
}
"range": [
75,
102
]
}
],
"loc": null,
"range": {
"start": 67,
"end": 108
}
"range": [
67,
108
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 55,
"end": 108
},
"range": [
55,
108
],
"expression": false,
"loc": null,
"range": {
"start": 55,
"end": 108
}
"range": [
55,
108
]
},
{
"type": "ArrayExpression",
@@ -204,71 +204,71 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 115,
"end": 120
}
"range": [
115,
120
]
},
"property": {
"type": "Identifier",
"name": "router",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 121,
"end": 127
}
"range": [
121,
127
]
},
"computed": false,
"loc": null,
"range": {
"start": 115,
"end": 127
}
"range": [
115,
127
]
},
"property": {
"type": "Identifier",
"name": "location",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 136
}
"range": [
128,
136
]
},
"computed": false,
"loc": null,
"range": {
"start": 115,
"end": 136
}
"range": [
115,
136
]
}
],
"loc": null,
"range": {
"start": 114,
"end": 137
}
"range": [
114,
137
]
}
],
"loc": null,
"range": {
"start": 38,
"end": 141
}
"range": [
38,
141
]
},
"loc": null,
"range": {
"start": 30,
"end": 141
}
"range": [
30,
141
]
}
],
"loc": null,
"range": {
"start": 24,
"end": 142
}
"range": [
24,
142
]
},
{
"type": "ReturnStatement",
@@ -277,42 +277,42 @@ Output:
"name": "onFoo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 153,
"end": 158
}
"range": [
153,
158
]
},
"loc": null,
"range": {
"start": 146,
"end": 159
}
"range": [
146,
159
]
}
],
"loc": null,
"range": {
"start": 20,
"end": 161
}
"range": [
20,
161
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 161
},
"range": [
0,
161
],
"loc": null,
"range": {
"start": 0,
"end": 161
}
"range": [
0,
161
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 161
}
"range": [
0,
161
]
}
@@ -28,10 +28,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -44,37 +44,37 @@ Output:
"name": "mutator",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 21,
"end": 28
}
"range": [
21,
28
]
},
"value": {
"type": "Identifier",
"name": "mutator",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 21,
"end": 28
}
"range": [
21,
28
]
},
"kind": "init",
"computed": false,
"shorthand": true,
"method": false,
"loc": null,
"range": {
"start": 21,
"end": 28
}
"range": [
21,
28
]
}
],
"loc": null,
"range": {
"start": 19,
"end": 30
}
"range": [
19,
30
]
}
],
"body": {
@@ -91,10 +91,10 @@ Output:
"name": "poke",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 42,
"end": 46
}
"range": [
42,
46
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -114,75 +114,75 @@ Output:
"name": "mutator",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 61,
"end": 68
}
"range": [
61,
68
]
},
"property": {
"type": "Identifier",
"name": "poke",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 73
}
"range": [
69,
73
]
},
"computed": false,
"loc": null,
"range": {
"start": 61,
"end": 73
}
"range": [
61,
73
]
},
"arguments": [],
"loc": null,
"range": {
"start": 61,
"end": 75
}
"range": [
61,
75
]
},
"directive": null,
"loc": null,
"range": {
"start": 61,
"end": 76
}
"range": [
61,
76
]
}
],
"loc": null,
"range": {
"start": 55,
"end": 80
}
"range": [
55,
80
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 49,
"end": 80
},
"range": [
49,
80
],
"expression": false,
"loc": null,
"range": {
"start": 49,
"end": 80
}
"range": [
49,
80
]
},
"loc": null,
"range": {
"start": 42,
"end": 80
}
"range": [
42,
80
]
}
],
"loc": null,
"range": {
"start": 36,
"end": 81
}
"range": [
36,
81
]
},
{
"type": "VariableDeclaration",
@@ -195,10 +195,10 @@ Output:
"name": "hide",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 91,
"end": 95
}
"range": [
91,
95
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -220,92 +220,92 @@ Output:
"name": "mutator",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 117
}
"range": [
110,
117
]
},
"property": {
"type": "Identifier",
"name": "user",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 118,
"end": 122
}
"range": [
118,
122
]
},
"computed": false,
"loc": null,
"range": {
"start": 110,
"end": 122
}
"range": [
110,
122
]
},
"property": {
"type": "Identifier",
"name": "hide",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 123,
"end": 127
}
"range": [
123,
127
]
},
"computed": false,
"loc": null,
"range": {
"start": 110,
"end": 127
}
"range": [
110,
127
]
},
"arguments": [],
"loc": null,
"range": {
"start": 110,
"end": 129
}
"range": [
110,
129
]
},
"directive": null,
"loc": null,
"range": {
"start": 110,
"end": 130
}
"range": [
110,
130
]
}
],
"loc": null,
"range": {
"start": 104,
"end": 134
}
"range": [
104,
134
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 98,
"end": 134
},
"range": [
98,
134
],
"expression": false,
"loc": null,
"range": {
"start": 98,
"end": 134
}
"range": [
98,
134
]
},
"loc": null,
"range": {
"start": 91,
"end": 134
}
"range": [
91,
134
]
}
],
"loc": null,
"range": {
"start": 85,
"end": 135
}
"range": [
85,
135
]
},
{
"type": "ReturnStatement",
@@ -317,10 +317,10 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 147,
"end": 150
}
"range": [
147,
150
]
},
"attributes": [
{
@@ -329,10 +329,10 @@ Output:
"type": "JSXIdentifier",
"name": "poke",
"loc": null,
"range": {
"start": 151,
"end": 155
}
"range": [
151,
155
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -341,22 +341,22 @@ Output:
"name": "poke",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 157,
"end": 161
}
"range": [
157,
161
]
},
"loc": null,
"range": {
"start": 156,
"end": 162
}
"range": [
156,
162
]
},
"loc": null,
"range": {
"start": 151,
"end": 162
}
"range": [
151,
162
]
},
{
"type": "JSXAttribute",
@@ -364,10 +364,10 @@ Output:
"type": "JSXIdentifier",
"name": "hide",
"loc": null,
"range": {
"start": 163,
"end": 167
}
"range": [
163,
167
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -376,30 +376,30 @@ Output:
"name": "hide",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 169,
"end": 173
}
"range": [
169,
173
]
},
"loc": null,
"range": {
"start": 168,
"end": 174
}
"range": [
168,
174
]
},
"loc": null,
"range": {
"start": 163,
"end": 174
}
"range": [
163,
174
]
}
],
"selfClosing": false,
"loc": null,
"range": {
"start": 146,
"end": 175
}
"range": [
146,
175
]
},
"children": [],
"closingElement": {
@@ -408,54 +408,54 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 177,
"end": 180
}
"range": [
177,
180
]
},
"loc": null,
"range": {
"start": 175,
"end": 181
}
"range": [
175,
181
]
},
"loc": null,
"range": {
"start": 146,
"end": 181
}
"range": [
146,
181
]
},
"loc": null,
"range": {
"start": 139,
"end": 182
}
"range": [
139,
182
]
}
],
"loc": null,
"range": {
"start": 32,
"end": 184
}
"range": [
32,
184
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 184
},
"range": [
0,
184
],
"loc": null,
"range": {
"start": 0,
"end": 184
}
"range": [
0,
184
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 184
}
"range": [
0,
184
]
}
@@ -27,10 +27,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -38,20 +38,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -68,10 +68,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -83,50 +83,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "BlockStatement",
@@ -142,10 +142,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"init": {
"type": "ObjectExpression",
@@ -157,50 +157,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 63
}
"range": [
62,
63
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 63
}
"range": [
62,
63
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 62,
"end": 63
}
"range": [
62,
63
]
}
],
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
},
"loc": null,
"range": {
"start": 56,
"end": 65
}
"range": [
56,
65
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 66
}
"range": [
52,
66
]
},
{
"type": "ExpressionStatement",
@@ -222,10 +222,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 98
}
"range": [
92,
98
]
},
"arguments": [
{
@@ -233,65 +233,65 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
}
],
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
},
"directive": null,
"loc": null,
"range": {
"start": 92,
"end": 102
}
"range": [
92,
102
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 108
}
"range": [
84,
108
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 72,
"end": 108
},
"range": [
72,
108
],
"loc": null,
"range": {
"start": 72,
"end": 108
}
"range": [
72,
108
]
},
"arguments": [],
"loc": null,
"range": {
"start": 71,
"end": 111
}
"range": [
71,
111
]
},
"directive": null,
"loc": null,
"range": {
"start": 71,
"end": 112
}
"range": [
71,
112
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 116
}
"range": [
46,
116
]
},
{
"type": "ReturnStatement",
@@ -300,42 +300,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 126,
"end": 127
}
"range": [
126,
127
]
},
"loc": null,
"range": {
"start": 119,
"end": 128
}
"range": [
119,
128
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 130
}
"range": [
25,
130
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 130
},
"range": [
0,
130
],
"loc": null,
"range": {
"start": 0,
"end": 130
}
"range": [
0,
130
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 130
}
"range": [
0,
130
]
}
@@ -22,10 +22,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -33,20 +33,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -63,10 +63,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -78,50 +78,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "VariableDeclaration",
@@ -134,10 +134,10 @@ Output:
"name": "p",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -151,18 +151,18 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 61,
"end": 64
}
"range": [
61,
64
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
},
"children": [
{
@@ -172,16 +172,16 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 66,
"end": 67
}
"range": [
66,
67
]
},
"loc": null,
"range": {
"start": 65,
"end": 68
}
"range": [
65,
68
]
}
],
"closingElement": {
@@ -190,49 +190,49 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 70,
"end": 73
}
"range": [
70,
73
]
},
"loc": null,
"range": {
"start": 68,
"end": 74
}
"range": [
68,
74
]
},
"loc": null,
"range": {
"start": 60,
"end": 74
}
"range": [
60,
74
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 54,
"end": 74
},
"range": [
54,
74
],
"expression": true,
"loc": null,
"range": {
"start": 54,
"end": 74
}
"range": [
54,
74
]
},
"loc": null,
"range": {
"start": 50,
"end": 74
}
"range": [
50,
74
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 75
}
"range": [
46,
75
]
},
{
"type": "ReturnStatement",
@@ -243,49 +243,49 @@ Output:
"name": "p",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
"arguments": [],
"loc": null,
"range": {
"start": 85,
"end": 88
}
"range": [
85,
88
]
},
"loc": null,
"range": {
"start": 78,
"end": 89
}
"range": [
78,
89
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 91
}
"range": [
25,
91
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 91
},
"range": [
0,
91
],
"loc": null,
"range": {
"start": 0,
"end": 91
}
"range": [
0,
91
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 91
}
"range": [
0,
91
]
}
@@ -25,10 +25,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -36,10 +36,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -56,10 +56,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -71,50 +71,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -127,10 +127,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "FunctionExpression",
@@ -150,24 +150,24 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
"init": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 75
}
"range": [
69,
75
]
},
{
"type": "ExpressionStatement",
@@ -178,10 +178,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 86
}
"range": [
80,
86
]
},
"arguments": [
{
@@ -189,57 +189,57 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 87,
"end": 88
}
"range": [
87,
88
]
}
],
"loc": null,
"range": {
"start": 80,
"end": 89
}
"range": [
80,
89
]
},
"directive": null,
"loc": null,
"range": {
"start": 80,
"end": 90
}
"range": [
80,
90
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 94
}
"range": [
63,
94
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 94
},
"range": [
51,
94
],
"loc": null,
"range": {
"start": 51,
"end": 94
}
"range": [
51,
94
]
},
"loc": null,
"range": {
"start": 47,
"end": 94
}
"range": [
47,
94
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 95
}
"range": [
43,
95
]
},
{
"type": "ReturnStatement",
@@ -248,42 +248,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 106
}
"range": [
105,
106
]
},
"loc": null,
"range": {
"start": 98,
"end": 107
}
"range": [
98,
107
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 109
}
"range": [
22,
109
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 109
},
"range": [
0,
109
],
"loc": null,
"range": {
"start": 0,
"end": 109
}
"range": [
0,
109
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 109
}
"range": [
0,
109
]
}
@@ -21,10 +21,10 @@ Output:
"name": "StoreLandingUnseenGiftModalContainer",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 45
}
"range": [
9,
45
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 46,
"end": 47
}
"range": [
46,
47
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "giftsSeen",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 68
}
"range": [
59,
68
]
},
"init": {
"type": "ObjectExpression",
@@ -67,50 +67,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
}
],
"loc": null,
"range": {
"start": 71,
"end": 76
}
"range": [
71,
76
]
},
"loc": null,
"range": {
"start": 59,
"end": 76
}
"range": [
59,
76
]
}
],
"loc": null,
"range": {
"start": 53,
"end": 77
}
"range": [
53,
77
]
},
{
"type": "ReturnStatement",
@@ -125,10 +125,10 @@ Output:
"name": "gift",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 93
}
"range": [
89,
93
]
}
],
"body": {
@@ -140,36 +140,36 @@ Output:
"name": "gift",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 103
}
"range": [
99,
103
]
},
"property": {
"type": "Identifier",
"name": "id",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 104,
"end": 106
}
"range": [
104,
106
]
},
"computed": false,
"loc": null,
"range": {
"start": 99,
"end": 106
}
"range": [
99,
106
]
},
"alternate": {
"type": "BooleanLiteral",
"value": false,
"loc": null,
"range": {
"start": 130,
"end": 135
}
"range": [
130,
135
]
},
"consequent": {
"type": "MemberExpression",
@@ -178,10 +178,10 @@ Output:
"name": "giftsSeen",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 109,
"end": 118
}
"range": [
109,
118
]
},
"property": {
"type": "MemberExpression",
@@ -190,93 +190,93 @@ Output:
"name": "gift",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 119,
"end": 123
}
"range": [
119,
123
]
},
"property": {
"type": "Identifier",
"name": "id",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 124,
"end": 126
}
"range": [
124,
126
]
},
"computed": false,
"loc": null,
"range": {
"start": 119,
"end": 126
}
"range": [
119,
126
]
},
"computed": true,
"loc": null,
"range": {
"start": 109,
"end": 127
}
"range": [
109,
127
]
},
"loc": null,
"range": {
"start": 99,
"end": 135
}
"range": [
99,
135
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 88,
"end": 136
},
"range": [
88,
136
],
"expression": true,
"loc": null,
"range": {
"start": 88,
"end": 136
}
"range": [
88,
136
]
},
"arguments": [],
"loc": null,
"range": {
"start": 87,
"end": 139
}
"range": [
87,
139
]
},
"loc": null,
"range": {
"start": 80,
"end": 140
}
"range": [
80,
140
]
}
],
"loc": null,
"range": {
"start": 49,
"end": 142
}
"range": [
49,
142
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 142
},
"range": [
0,
142
],
"loc": null,
"range": {
"start": 0,
"end": 142
}
"range": [
0,
142
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 142
}
"range": [
0,
142
]
}
@@ -27,10 +27,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -38,10 +38,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -58,10 +58,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -73,50 +73,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -129,24 +129,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 49
}
"range": [
43,
49
]
},
{
"type": "BlockStatement",
@@ -161,10 +161,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 59
}
"range": [
58,
59
]
},
"right": {
"type": "FunctionExpression",
@@ -184,27 +184,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 82,
"end": 89
}
"range": [
82,
89
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 93
}
"range": [
90,
93
]
},
"computed": false,
"loc": null,
"range": {
"start": 82,
"end": 93
}
"range": [
82,
93
]
},
"arguments": [
{
@@ -212,64 +212,64 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
}
],
"loc": null,
"range": {
"start": 82,
"end": 96
}
"range": [
82,
96
]
},
"directive": null,
"loc": null,
"range": {
"start": 82,
"end": 97
}
"range": [
82,
97
]
}
],
"loc": null,
"range": {
"start": 74,
"end": 103
}
"range": [
74,
103
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 62,
"end": 103
},
"range": [
62,
103
],
"loc": null,
"range": {
"start": 62,
"end": 103
}
"range": [
62,
103
]
},
"loc": null,
"range": {
"start": 58,
"end": 103
}
"range": [
58,
103
]
},
"directive": null,
"loc": null,
"range": {
"start": 58,
"end": 104
}
"range": [
58,
104
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 108
}
"range": [
52,
108
]
},
{
"type": "ReturnStatement",
@@ -278,42 +278,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 118,
"end": 119
}
"range": [
118,
119
]
},
"loc": null,
"range": {
"start": 111,
"end": 120
}
"range": [
111,
120
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 122
}
"range": [
22,
122
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 122
},
"range": [
0,
122
],
"loc": null,
"range": {
"start": 0,
"end": 122
}
"range": [
0,
122
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 122
}
"range": [
0,
122
]
}
@@ -24,10 +24,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -70,50 +70,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -126,10 +126,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "FunctionExpression",
@@ -149,27 +149,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 76
}
"range": [
69,
76
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 80
}
"range": [
77,
80
]
},
"computed": false,
"loc": null,
"range": {
"start": 69,
"end": 80
}
"range": [
69,
80
]
},
"arguments": [
{
@@ -179,74 +179,74 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 83,
"end": 84
}
"range": [
83,
84
]
},
"computed": false,
"loc": null,
"range": {
"start": 81,
"end": 84
}
"range": [
81,
84
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 85
}
"range": [
69,
85
]
},
"directive": null,
"loc": null,
"range": {
"start": 69,
"end": 86
}
"range": [
69,
86
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 90
}
"range": [
63,
90
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 90
},
"range": [
51,
90
],
"loc": null,
"range": {
"start": 51,
"end": 90
}
"range": [
51,
90
]
},
"loc": null,
"range": {
"start": 47,
"end": 90
}
"range": [
47,
90
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 91
}
"range": [
43,
91
]
},
{
"type": "ReturnStatement",
@@ -255,42 +255,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 101,
"end": 102
}
"range": [
101,
102
]
},
"loc": null,
"range": {
"start": 94,
"end": 103
}
"range": [
94,
103
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 105
}
"range": [
22,
105
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 105
},
"range": [
0,
105
],
"loc": null,
"range": {
"start": 0,
"end": 105
}
"range": [
0,
105
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 105
}
"range": [
0,
105
]
}
@@ -24,10 +24,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -70,10 +70,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "ObjectExpression",
@@ -85,67 +85,67 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 44
}
"range": [
39,
44
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 44
}
"range": [
36,
44
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 46
}
"range": [
34,
46
]
},
"loc": null,
"range": {
"start": 30,
"end": 46
}
"range": [
30,
46
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 47
}
"range": [
26,
47
]
},
{
"type": "VariableDeclaration",
@@ -158,10 +158,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"init": {
"type": "FunctionExpression",
@@ -183,91 +183,91 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"computed": false,
"loc": null,
"range": {
"start": 76,
"end": 79
}
"range": [
76,
79
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 81
}
"range": [
80,
81
]
},
"computed": false,
"loc": null,
"range": {
"start": 76,
"end": 81
}
"range": [
76,
81
]
},
"arguments": [],
"loc": null,
"range": {
"start": 76,
"end": 83
}
"range": [
76,
83
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 84
}
"range": [
76,
84
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 88
}
"range": [
70,
88
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 88
},
"range": [
58,
88
],
"loc": null,
"range": {
"start": 58,
"end": 88
}
"range": [
58,
88
]
},
"loc": null,
"range": {
"start": 54,
"end": 88
}
"range": [
54,
88
]
}
],
"loc": null,
"range": {
"start": 50,
"end": 89
}
"range": [
50,
89
]
},
{
"type": "ReturnStatement",
@@ -276,42 +276,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 103
}
"range": [
22,
103
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 103
},
"range": [
0,
103
],
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 103
}
"range": [
0,
103
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,10 +72,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "ObjectExpression",
@@ -87,67 +87,67 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 44
}
"range": [
39,
44
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 44
}
"range": [
36,
44
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 46
}
"range": [
34,
46
]
},
"loc": null,
"range": {
"start": 30,
"end": 46
}
"range": [
30,
46
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 47
}
"range": [
26,
47
]
},
{
"type": "VariableDeclaration",
@@ -160,10 +160,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"init": {
"type": "FunctionExpression",
@@ -194,27 +194,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 97,
"end": 104
}
"range": [
97,
104
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 108
}
"range": [
105,
108
]
},
"computed": false,
"loc": null,
"range": {
"start": 97,
"end": 108
}
"range": [
97,
108
]
},
"arguments": [
{
@@ -226,125 +226,125 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 109,
"end": 110
}
"range": [
109,
110
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"computed": false,
"loc": null,
"range": {
"start": 109,
"end": 112
}
"range": [
109,
112
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"computed": false,
"loc": null,
"range": {
"start": 109,
"end": 114
}
"range": [
109,
114
]
}
],
"loc": null,
"range": {
"start": 97,
"end": 115
}
"range": [
97,
115
]
},
"directive": null,
"loc": null,
"range": {
"start": 97,
"end": 116
}
"range": [
97,
116
]
}
],
"loc": null,
"range": {
"start": 89,
"end": 122
}
"range": [
89,
122
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 77,
"end": 122
},
"range": [
77,
122
],
"loc": null,
"range": {
"start": 77,
"end": 122
}
"range": [
77,
122
]
},
"arguments": [],
"loc": null,
"range": {
"start": 76,
"end": 125
}
"range": [
76,
125
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 126
}
"range": [
76,
126
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 130
}
"range": [
70,
130
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 130
},
"range": [
58,
130
],
"loc": null,
"range": {
"start": 58,
"end": 130
}
"range": [
58,
130
]
},
"loc": null,
"range": {
"start": 54,
"end": 130
}
"range": [
54,
130
]
}
],
"loc": null,
"range": {
"start": 50,
"end": 131
}
"range": [
50,
131
]
},
{
"type": "ReturnStatement",
@@ -353,42 +353,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 141,
"end": 142
}
"range": [
141,
142
]
},
"loc": null,
"range": {
"start": 134,
"end": 143
}
"range": [
134,
143
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 145
}
"range": [
22,
145
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 145
},
"range": [
0,
145
],
"loc": null,
"range": {
"start": 0,
"end": 145
}
"range": [
0,
145
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 145
}
"range": [
0,
145
]
}
@@ -24,10 +24,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,10 +35,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -55,10 +55,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -70,10 +70,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "ObjectExpression",
@@ -85,67 +85,67 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
}
],
"loc": null,
"range": {
"start": 39,
"end": 44
}
"range": [
39,
44
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 44
}
"range": [
36,
44
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 46
}
"range": [
34,
46
]
},
"loc": null,
"range": {
"start": 30,
"end": 46
}
"range": [
30,
46
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 47
}
"range": [
26,
47
]
},
{
"type": "VariableDeclaration",
@@ -158,10 +158,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 54,
"end": 55
}
"range": [
54,
55
]
},
"init": {
"type": "FunctionExpression",
@@ -181,27 +181,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 83
}
"range": [
76,
83
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 87
}
"range": [
84,
87
]
},
"computed": false,
"loc": null,
"range": {
"start": 76,
"end": 87
}
"range": [
76,
87
]
},
"arguments": [
{
@@ -213,91 +213,91 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 88,
"end": 89
}
"range": [
88,
89
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 91
}
"range": [
90,
91
]
},
"computed": false,
"loc": null,
"range": {
"start": 88,
"end": 91
}
"range": [
88,
91
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"computed": false,
"loc": null,
"range": {
"start": 88,
"end": 93
}
"range": [
88,
93
]
}
],
"loc": null,
"range": {
"start": 76,
"end": 94
}
"range": [
76,
94
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 95
}
"range": [
76,
95
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 99
}
"range": [
70,
99
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 58,
"end": 99
},
"range": [
58,
99
],
"loc": null,
"range": {
"start": 58,
"end": 99
}
"range": [
58,
99
]
},
"loc": null,
"range": {
"start": 54,
"end": 99
}
"range": [
54,
99
]
}
],
"loc": null,
"range": {
"start": 50,
"end": 100
}
"range": [
50,
100
]
},
{
"type": "ReturnStatement",
@@ -306,42 +306,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 111
}
"range": [
110,
111
]
},
"loc": null,
"range": {
"start": 103,
"end": 112
}
"range": [
103,
112
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 114
}
"range": [
22,
114
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 114
},
"range": [
0,
114
],
"loc": null,
"range": {
"start": 0,
"end": 114
}
"range": [
0,
114
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 114
}
"range": [
0,
114
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -128,32 +128,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 51,
"end": 52
}
"range": [
51,
52
]
},
"loc": null,
"range": {
"start": 47,
"end": 52
}
"range": [
47,
52
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 53
}
"range": [
43,
53
]
},
{
"type": "ExpressionStatement",
@@ -176,67 +176,67 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 75,
"end": 76
}
"range": [
75,
76
]
},
"right": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 79,
"end": 80
}
"range": [
79,
80
]
},
"loc": null,
"range": {
"start": 75,
"end": 80
}
"range": [
75,
80
]
},
"directive": null,
"loc": null,
"range": {
"start": 75,
"end": 81
}
"range": [
75,
81
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 85
}
"range": [
69,
85
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 57,
"end": 85
},
"range": [
57,
85
],
"loc": null,
"range": {
"start": 57,
"end": 85
}
"range": [
57,
85
]
},
"arguments": [],
"loc": null,
"range": {
"start": 56,
"end": 88
}
"range": [
56,
88
]
},
"directive": null,
"loc": null,
"range": {
"start": 56,
"end": 89
}
"range": [
56,
89
]
},
{
"type": "ExpressionStatement",
@@ -247,10 +247,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 98
}
"range": [
92,
98
]
},
"arguments": [
{
@@ -258,24 +258,24 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
}
],
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
},
"directive": null,
"loc": null,
"range": {
"start": 92,
"end": 102
}
"range": [
92,
102
]
},
{
"type": "ReturnStatement",
@@ -284,42 +284,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 112,
"end": 113
}
"range": [
112,
113
]
},
"loc": null,
"range": {
"start": 105,
"end": 114
}
"range": [
105,
114
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 116
}
"range": [
22,
116
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 116
},
"range": [
0,
116
],
"loc": null,
"range": {
"start": 0,
"end": 116
}
"range": [
0,
116
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 116
}
"range": [
0,
116
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -128,10 +128,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "FunctionExpression",
@@ -154,27 +154,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 84
}
"range": [
77,
84
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 88
}
"range": [
85,
88
]
},
"computed": false,
"loc": null,
"range": {
"start": 77,
"end": 88
}
"range": [
77,
88
]
},
"arguments": [
{
@@ -182,64 +182,64 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 89,
"end": 90
}
"range": [
89,
90
]
}
],
"loc": null,
"range": {
"start": 77,
"end": 91
}
"range": [
77,
91
]
},
"directive": null,
"loc": null,
"range": {
"start": 77,
"end": 92
}
"range": [
77,
92
]
}
],
"loc": null,
"range": {
"start": 69,
"end": 98
}
"range": [
69,
98
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 102
}
"range": [
63,
102
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 102
},
"range": [
51,
102
],
"loc": null,
"range": {
"start": 51,
"end": 102
}
"range": [
51,
102
]
},
"loc": null,
"range": {
"start": 47,
"end": 102
}
"range": [
47,
102
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 103
}
"range": [
43,
103
]
},
{
"type": "ReturnStatement",
@@ -248,42 +248,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"loc": null,
"range": {
"start": 106,
"end": 115
}
"range": [
106,
115
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 117
}
"range": [
22,
117
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 117
},
"range": [
0,
117
],
"loc": null,
"range": {
"start": 0,
"end": 117
}
"range": [
0,
117
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 117
}
"range": [
0,
117
]
}
@@ -26,10 +26,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
"init": {
"type": "ObjectExpression",
@@ -72,50 +72,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
}
],
"loc": null,
"range": {
"start": 34,
"end": 39
}
"range": [
34,
39
]
},
"loc": null,
"range": {
"start": 30,
"end": 39
}
"range": [
30,
39
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 40
}
"range": [
26,
40
]
},
{
"type": "VariableDeclaration",
@@ -128,10 +128,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "FunctionExpression",
@@ -162,27 +162,27 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 97
}
"range": [
90,
97
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"computed": false,
"loc": null,
"range": {
"start": 90,
"end": 101
}
"range": [
90,
101
]
},
"arguments": [
{
@@ -190,91 +190,91 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 102,
"end": 103
}
"range": [
102,
103
]
}
],
"loc": null,
"range": {
"start": 90,
"end": 104
}
"range": [
90,
104
]
},
"directive": null,
"loc": null,
"range": {
"start": 90,
"end": 105
}
"range": [
90,
105
]
}
],
"loc": null,
"range": {
"start": 82,
"end": 111
}
"range": [
82,
111
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 70,
"end": 111
},
"range": [
70,
111
],
"loc": null,
"range": {
"start": 70,
"end": 111
}
"range": [
70,
111
]
},
"arguments": [],
"loc": null,
"range": {
"start": 69,
"end": 114
}
"range": [
69,
114
]
},
"directive": null,
"loc": null,
"range": {
"start": 69,
"end": 115
}
"range": [
69,
115
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 119
}
"range": [
63,
119
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 51,
"end": 119
},
"range": [
51,
119
],
"loc": null,
"range": {
"start": 51,
"end": 119
}
"range": [
51,
119
]
},
"loc": null,
"range": {
"start": 47,
"end": 119
}
"range": [
47,
119
]
}
],
"loc": null,
"range": {
"start": 43,
"end": 120
}
"range": [
43,
120
]
},
{
"type": "ReturnStatement",
@@ -283,42 +283,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 130,
"end": 131
}
"range": [
130,
131
]
},
"loc": null,
"range": {
"start": 123,
"end": 132
}
"range": [
123,
132
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 134
}
"range": [
22,
134
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 134
},
"range": [
0,
134
],
"loc": null,
"range": {
"start": 0,
"end": 134
}
"range": [
0,
134
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 134
}
"range": [
0,
134
]
}
@@ -26,10 +26,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [],
"body": {
@@ -46,17 +46,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
},
"init": null,
"loc": null,
"range": {
"start": 29,
"end": 30
}
"range": [
29,
30
]
},
{
"type": "VariableDeclarator",
@@ -65,10 +65,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "AssignmentExpression",
@@ -78,38 +78,38 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 42
}
"range": [
41,
42
]
},
"right": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 45,
"end": 47
}
"range": [
45,
47
]
},
"loc": null,
"range": {
"start": 41,
"end": 47
}
"range": [
41,
47
]
},
"loc": null,
"range": {
"start": 36,
"end": 48
}
"range": [
36,
48
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 49
}
"range": [
25,
49
]
},
{
"type": "VariableDeclaration",
@@ -122,10 +122,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 58,
"end": 61
}
"range": [
58,
61
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -144,10 +144,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"right": {
"type": "CallExpression",
@@ -156,64 +156,64 @@ Output:
"name": "getObject",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 80,
"end": 89
}
"range": [
80,
89
]
},
"arguments": [],
"loc": null,
"range": {
"start": 80,
"end": 91
}
"range": [
80,
91
]
},
"loc": null,
"range": {
"start": 76,
"end": 91
}
"range": [
76,
91
]
},
"directive": null,
"loc": null,
"range": {
"start": 76,
"end": 92
}
"range": [
76,
92
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 96
}
"range": [
70,
96
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 64,
"end": 96
},
"range": [
64,
96
],
"expression": false,
"loc": null,
"range": {
"start": 64,
"end": 96
}
"range": [
64,
96
]
},
"loc": null,
"range": {
"start": 58,
"end": 96
}
"range": [
58,
96
]
}
],
"loc": null,
"range": {
"start": 52,
"end": 97
}
"range": [
52,
97
]
},
{
"type": "ExpressionStatement",
@@ -224,24 +224,24 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 103
}
"range": [
100,
103
]
},
"arguments": [],
"loc": null,
"range": {
"start": 100,
"end": 105
}
"range": [
100,
105
]
},
"directive": null,
"loc": null,
"range": {
"start": 100,
"end": 106
}
"range": [
100,
106
]
},
{
"type": "ReturnStatement",
@@ -253,59 +253,59 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 117,
"end": 118
}
"range": [
117,
118
]
},
{
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 120,
"end": 121
}
"range": [
120,
121
]
}
],
"loc": null,
"range": {
"start": 116,
"end": 122
}
"range": [
116,
122
]
},
"loc": null,
"range": {
"start": 109,
"end": 123
}
"range": [
109,
123
]
}
],
"loc": null,
"range": {
"start": 21,
"end": 125
}
"range": [
21,
125
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 125
},
"range": [
0,
125
],
"loc": null,
"range": {
"start": 0,
"end": 125
}
"range": [
0,
125
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 125
}
"range": [
0,
125
]
}
@@ -25,10 +25,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [],
"body": {
@@ -45,10 +45,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 25,
"end": 26
}
"range": [
25,
26
]
},
"init": {
"type": "ObjectExpression",
@@ -60,49 +60,49 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 31,
"end": 32
}
"range": [
31,
32
]
},
"value": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 31,
"end": 35
}
"range": [
31,
35
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 37
}
"range": [
29,
37
]
},
"loc": null,
"range": {
"start": 25,
"end": 37
}
"range": [
25,
37
]
}
],
"loc": null,
"range": {
"start": 19,
"end": 38
}
"range": [
19,
38
]
},
{
"type": "VariableDeclaration",
@@ -115,10 +115,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 47,
"end": 48
}
"range": [
47,
48
]
},
"init": {
"type": "ObjectExpression",
@@ -130,49 +130,49 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"value": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 53,
"end": 57
}
"range": [
53,
57
]
}
],
"loc": null,
"range": {
"start": 51,
"end": 59
}
"range": [
51,
59
]
},
"loc": null,
"range": {
"start": 47,
"end": 59
}
"range": [
47,
59
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 60
}
"range": [
41,
60
]
},
{
"type": "VariableDeclaration",
@@ -185,10 +185,10 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 69,
"end": 70
}
"range": [
69,
70
]
},
"init": {
"type": "ObjectExpression",
@@ -200,49 +200,49 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 75,
"end": 76
}
"range": [
75,
76
]
},
"value": {
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 75,
"end": 79
}
"range": [
75,
79
]
}
],
"loc": null,
"range": {
"start": 73,
"end": 81
}
"range": [
73,
81
]
},
"loc": null,
"range": {
"start": 69,
"end": 81
}
"range": [
69,
81
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 82
}
"range": [
63,
82
]
},
{
"type": "ExpressionStatement",
@@ -256,27 +256,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 87,
"end": 88
}
"range": [
87,
88
]
},
"computed": false,
"loc": null,
"range": {
"start": 85,
"end": 88
}
"range": [
85,
88
]
},
"right": {
"type": "AssignmentExpression",
@@ -288,55 +288,55 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 94,
"end": 95
}
"range": [
94,
95
]
},
"computed": false,
"loc": null,
"range": {
"start": 92,
"end": 95
}
"range": [
92,
95
]
},
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"loc": null,
"range": {
"start": 92,
"end": 100
}
"range": [
92,
100
]
},
"loc": null,
"range": {
"start": 85,
"end": 100
}
"range": [
85,
100
]
},
"directive": null,
"loc": null,
"range": {
"start": 85,
"end": 101
}
"range": [
85,
101
]
},
{
"type": "ExpressionStatement",
@@ -350,27 +350,27 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 104,
"end": 105
}
"range": [
104,
105
]
},
"property": {
"type": "Identifier",
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 106,
"end": 107
}
"range": [
106,
107
]
},
"computed": false,
"loc": null,
"range": {
"start": 104,
"end": 107
}
"range": [
104,
107
]
},
"right": {
"type": "AssignmentExpression",
@@ -382,27 +382,27 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"property": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 113,
"end": 114
}
"range": [
113,
114
]
},
"computed": false,
"loc": null,
"range": {
"start": 111,
"end": 114
}
"range": [
111,
114
]
},
"right": {
"type": "AssignmentExpression",
@@ -414,61 +414,61 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 118,
"end": 119
}
"range": [
118,
119
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 120,
"end": 121
}
"range": [
120,
121
]
},
"computed": false,
"loc": null,
"range": {
"start": 118,
"end": 121
}
"range": [
118,
121
]
},
"right": {
"type": "NumericLiteral",
"value": 3.0,
"loc": null,
"range": {
"start": 125,
"end": 126
}
"range": [
125,
126
]
},
"loc": null,
"range": {
"start": 118,
"end": 126
}
"range": [
118,
126
]
},
"loc": null,
"range": {
"start": 111,
"end": 126
}
"range": [
111,
126
]
},
"loc": null,
"range": {
"start": 104,
"end": 126
}
"range": [
104,
126
]
},
"directive": null,
"loc": null,
"range": {
"start": 104,
"end": 127
}
"range": [
104,
127
]
},
{
"type": "ReturnStatement",
@@ -477,42 +477,42 @@ Output:
"name": "z",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 137,
"end": 138
}
"range": [
137,
138
]
},
"loc": null,
"range": {
"start": 130,
"end": 139
}
"range": [
130,
139
]
}
],
"loc": null,
"range": {
"start": 15,
"end": 141
}
"range": [
15,
141
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 141
},
"range": [
0,
141
],
"loc": null,
"range": {
"start": 0,
"end": 141
}
"range": [
0,
141
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 141
}
"range": [
0,
141
]
}
@@ -22,10 +22,10 @@ Output:
"name": "useFoo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 49,
"end": 55
}
"range": [
49,
55
]
},
"params": [
{
@@ -33,10 +33,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 61
}
"range": [
56,
61
]
}
],
"body": {
@@ -51,10 +51,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 74,
"end": 77
}
"range": [
74,
77
]
},
"arguments": [
{
@@ -64,66 +64,66 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 83
}
"range": [
78,
83
]
},
"property": {
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
},
"computed": false,
"loc": null,
"range": {
"start": 78,
"end": 85
}
"range": [
78,
85
]
}
],
"loc": null,
"range": {
"start": 74,
"end": 86
}
"range": [
74,
86
]
},
"loc": null,
"range": {
"start": 67,
"end": 87
}
"range": [
67,
87
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 89
}
"range": [
63,
89
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 40,
"end": 89
},
"range": [
40,
89
],
"loc": null,
"range": {
"start": 40,
"end": 89
}
"range": [
40,
89
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 40,
"end": 89
}
"range": [
40,
89
]
}
@@ -28,10 +28,10 @@ Output:
"name": "MyComponentName",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 51
}
"range": [
36,
51
]
},
"params": [
{
@@ -39,10 +39,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 57
}
"range": [
52,
57
]
}
],
"body": {
@@ -59,32 +59,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"init": {
"type": "ObjectExpression",
"properties": [],
"loc": null,
"range": {
"start": 71,
"end": 73
}
"range": [
71,
73
]
},
"loc": null,
"range": {
"start": 67,
"end": 73
}
"range": [
67,
73
]
}
],
"loc": null,
"range": {
"start": 63,
"end": 74
}
"range": [
63,
74
]
},
{
"type": "ExpressionStatement",
@@ -95,10 +95,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 80
}
"range": [
77,
80
]
},
"arguments": [
{
@@ -106,10 +106,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 81,
"end": 82
}
"range": [
81,
82
]
},
{
"type": "MemberExpression",
@@ -118,41 +118,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 89
}
"range": [
84,
89
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 91
}
"range": [
90,
91
]
},
"computed": false,
"loc": null,
"range": {
"start": 84,
"end": 91
}
"range": [
84,
91
]
}
],
"loc": null,
"range": {
"start": 77,
"end": 92
}
"range": [
77,
92
]
},
"directive": null,
"loc": null,
"range": {
"start": 77,
"end": 93
}
"range": [
77,
93
]
},
{
"type": "ExpressionStatement",
@@ -163,10 +163,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 96,
"end": 99
}
"range": [
96,
99
]
},
"arguments": [
{
@@ -174,10 +174,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 101
}
"range": [
100,
101
]
},
{
"type": "MemberExpression",
@@ -186,41 +186,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 103,
"end": 108
}
"range": [
103,
108
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 109,
"end": 110
}
"range": [
109,
110
]
},
"computed": false,
"loc": null,
"range": {
"start": 103,
"end": 110
}
"range": [
103,
110
]
}
],
"loc": null,
"range": {
"start": 96,
"end": 111
}
"range": [
96,
111
]
},
"directive": null,
"loc": null,
"range": {
"start": 96,
"end": 112
}
"range": [
96,
112
]
},
{
"type": "VariableDeclaration",
@@ -233,32 +233,32 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 120,
"end": 121
}
"range": [
120,
121
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 124,
"end": 126
}
"range": [
124,
126
]
},
"loc": null,
"range": {
"start": 120,
"end": 126
}
"range": [
120,
126
]
}
],
"loc": null,
"range": {
"start": 116,
"end": 127
}
"range": [
116,
127
]
},
{
"type": "ExpressionStatement",
@@ -271,27 +271,27 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 130,
"end": 131
}
"range": [
130,
131
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 132,
"end": 136
}
"range": [
132,
136
]
},
"computed": false,
"loc": null,
"range": {
"start": 130,
"end": 136
}
"range": [
130,
136
]
},
"arguments": [
{
@@ -299,24 +299,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 137,
"end": 138
}
"range": [
137,
138
]
}
],
"loc": null,
"range": {
"start": 130,
"end": 139
}
"range": [
130,
139
]
},
"directive": null,
"loc": null,
"range": {
"start": 130,
"end": 140
}
"range": [
130,
140
]
},
{
"type": "ReturnStatement",
@@ -325,42 +325,42 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 150,
"end": 151
}
"range": [
150,
151
]
},
"loc": null,
"range": {
"start": 143,
"end": 152
}
"range": [
143,
152
]
}
],
"loc": null,
"range": {
"start": 59,
"end": 154
}
"range": [
59,
154
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 27,
"end": 154
},
"range": [
27,
154
],
"loc": null,
"range": {
"start": 27,
"end": 154
}
"range": [
27,
154
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 27,
"end": 154
}
"range": [
27,
154
]
}
@@ -32,10 +32,10 @@ Output:
"name": "Bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 59
}
"range": [
56,
59
]
},
"params": [
{
@@ -43,10 +43,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 60,
"end": 65
}
"range": [
60,
65
]
}
],
"body": {
@@ -58,17 +58,17 @@ Output:
"type": "StringLiteral",
"value": "use forget",
"loc": null,
"range": {
"start": 71,
"end": 83
}
"range": [
71,
83
]
},
"directive": null,
"loc": null,
"range": {
"start": 71,
"end": 84
}
"range": [
71,
84
]
},
{
"type": "ReturnStatement",
@@ -80,18 +80,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 95,
"end": 98
}
"range": [
95,
98
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 94,
"end": 99
}
"range": [
94,
99
]
},
"children": [
{
@@ -103,33 +103,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 100,
"end": 105
}
"range": [
100,
105
]
},
"property": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 106,
"end": 109
}
"range": [
106,
109
]
},
"computed": false,
"loc": null,
"range": {
"start": 100,
"end": 109
}
"range": [
100,
109
]
},
"loc": null,
"range": {
"start": 99,
"end": 110
}
"range": [
99,
110
]
}
],
"closingElement": {
@@ -138,48 +138,48 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 112,
"end": 115
}
"range": [
112,
115
]
},
"loc": null,
"range": {
"start": 110,
"end": 116
}
"range": [
110,
116
]
},
"loc": null,
"range": {
"start": 94,
"end": 116
}
"range": [
94,
116
]
},
"loc": null,
"range": {
"start": 87,
"end": 117
}
"range": [
87,
117
]
}
],
"loc": null,
"range": {
"start": 67,
"end": 119
}
"range": [
67,
119
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 47,
"end": 119
},
"range": [
47,
119
],
"loc": null,
"range": {
"start": 47,
"end": 119
}
"range": [
47,
119
]
},
{
"type": "FunctionDeclaration",
@@ -188,10 +188,10 @@ Output:
"name": "NoForget",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 130,
"end": 138
}
"range": [
130,
138
]
},
"params": [
{
@@ -199,10 +199,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 139,
"end": 144
}
"range": [
139,
144
]
}
],
"body": {
@@ -218,18 +218,18 @@ Output:
"type": "JSXIdentifier",
"name": "Bar",
"loc": null,
"range": {
"start": 158,
"end": 161
}
"range": [
158,
161
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 157,
"end": 162
}
"range": [
157,
162
]
},
"children": [
{
@@ -241,33 +241,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 163,
"end": 168
}
"range": [
163,
168
]
},
"property": {
"type": "Identifier",
"name": "noForget",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 169,
"end": 177
}
"range": [
169,
177
]
},
"computed": false,
"loc": null,
"range": {
"start": 163,
"end": 177
}
"range": [
163,
177
]
},
"loc": null,
"range": {
"start": 162,
"end": 178
}
"range": [
162,
178
]
}
],
"closingElement": {
@@ -276,48 +276,48 @@ Output:
"type": "JSXIdentifier",
"name": "Bar",
"loc": null,
"range": {
"start": 180,
"end": 183
}
"range": [
180,
183
]
},
"loc": null,
"range": {
"start": 178,
"end": 184
}
"range": [
178,
184
]
},
"loc": null,
"range": {
"start": 157,
"end": 184
}
"range": [
157,
184
]
},
"loc": null,
"range": {
"start": 150,
"end": 185
}
"range": [
150,
185
]
}
],
"loc": null,
"range": {
"start": 146,
"end": 187
}
"range": [
146,
187
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 121,
"end": 187
},
"range": [
121,
187
],
"loc": null,
"range": {
"start": 121,
"end": 187
}
"range": [
121,
187
]
},
{
"type": "FunctionDeclaration",
@@ -326,10 +326,10 @@ Output:
"name": "Foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 198,
"end": 201
}
"range": [
198,
201
]
},
"params": [
{
@@ -337,10 +337,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 202,
"end": 207
}
"range": [
202,
207
]
}
],
"body": {
@@ -352,17 +352,17 @@ Output:
"type": "StringLiteral",
"value": "use forget",
"loc": null,
"range": {
"start": 213,
"end": 225
}
"range": [
213,
225
]
},
"directive": null,
"loc": null,
"range": {
"start": 213,
"end": 226
}
"range": [
213,
226
]
},
{
"type": "ReturnStatement",
@@ -374,18 +374,18 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 237,
"end": 240
}
"range": [
237,
240
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 236,
"end": 241
}
"range": [
236,
241
]
},
"children": [
{
@@ -397,33 +397,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 242,
"end": 247
}
"range": [
242,
247
]
},
"property": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 248,
"end": 251
}
"range": [
248,
251
]
},
"computed": false,
"loc": null,
"range": {
"start": 242,
"end": 251
}
"range": [
242,
251
]
},
"loc": null,
"range": {
"start": 241,
"end": 252
}
"range": [
241,
252
]
}
],
"closingElement": {
@@ -432,54 +432,54 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 254,
"end": 257
}
"range": [
254,
257
]
},
"loc": null,
"range": {
"start": 252,
"end": 258
}
"range": [
252,
258
]
},
"loc": null,
"range": {
"start": 236,
"end": 258
}
"range": [
236,
258
]
},
"loc": null,
"range": {
"start": 229,
"end": 259
}
"range": [
229,
259
]
}
],
"loc": null,
"range": {
"start": 209,
"end": 261
}
"range": [
209,
261
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 189,
"end": 261
},
"range": [
189,
261
],
"loc": null,
"range": {
"start": 189,
"end": 261
}
"range": [
189,
261
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 47,
"end": 261
}
"range": [
47,
261
]
}
@@ -32,10 +32,10 @@ Output:
"name": "Bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 48,
"end": 51
}
"range": [
48,
51
]
},
"params": [
{
@@ -43,10 +43,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 52,
"end": 57
}
"range": [
52,
57
]
}
],
"body": {
@@ -58,17 +58,17 @@ Output:
"type": "StringLiteral",
"value": "use forget",
"loc": null,
"range": {
"start": 63,
"end": 75
}
"range": [
63,
75
]
},
"directive": null,
"loc": null,
"range": {
"start": 63,
"end": 76
}
"range": [
63,
76
]
},
{
"type": "ReturnStatement",
@@ -80,18 +80,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 87,
"end": 90
}
"range": [
87,
90
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 86,
"end": 91
}
"range": [
86,
91
]
},
"children": [
{
@@ -103,33 +103,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 97
}
"range": [
92,
97
]
},
"property": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"computed": false,
"loc": null,
"range": {
"start": 92,
"end": 101
}
"range": [
92,
101
]
},
"loc": null,
"range": {
"start": 91,
"end": 102
}
"range": [
91,
102
]
}
],
"closingElement": {
@@ -138,48 +138,48 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 104,
"end": 107
}
"range": [
104,
107
]
},
"loc": null,
"range": {
"start": 102,
"end": 108
}
"range": [
102,
108
]
},
"loc": null,
"range": {
"start": 86,
"end": 108
}
"range": [
86,
108
]
},
"loc": null,
"range": {
"start": 79,
"end": 109
}
"range": [
79,
109
]
}
],
"loc": null,
"range": {
"start": 59,
"end": 111
}
"range": [
59,
111
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 39,
"end": 111
},
"range": [
39,
111
],
"loc": null,
"range": {
"start": 39,
"end": 111
}
"range": [
39,
111
]
},
{
"type": "FunctionDeclaration",
@@ -188,10 +188,10 @@ Output:
"name": "NoForget",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 130
}
"range": [
122,
130
]
},
"params": [
{
@@ -199,10 +199,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 131,
"end": 136
}
"range": [
131,
136
]
}
],
"body": {
@@ -218,18 +218,18 @@ Output:
"type": "JSXIdentifier",
"name": "Bar",
"loc": null,
"range": {
"start": 150,
"end": 153
}
"range": [
150,
153
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 149,
"end": 154
}
"range": [
149,
154
]
},
"children": [
{
@@ -241,33 +241,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 155,
"end": 160
}
"range": [
155,
160
]
},
"property": {
"type": "Identifier",
"name": "noForget",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 161,
"end": 169
}
"range": [
161,
169
]
},
"computed": false,
"loc": null,
"range": {
"start": 155,
"end": 169
}
"range": [
155,
169
]
},
"loc": null,
"range": {
"start": 154,
"end": 170
}
"range": [
154,
170
]
}
],
"closingElement": {
@@ -276,48 +276,48 @@ Output:
"type": "JSXIdentifier",
"name": "Bar",
"loc": null,
"range": {
"start": 172,
"end": 175
}
"range": [
172,
175
]
},
"loc": null,
"range": {
"start": 170,
"end": 176
}
"range": [
170,
176
]
},
"loc": null,
"range": {
"start": 149,
"end": 176
}
"range": [
149,
176
]
},
"loc": null,
"range": {
"start": 142,
"end": 177
}
"range": [
142,
177
]
}
],
"loc": null,
"range": {
"start": 138,
"end": 179
}
"range": [
138,
179
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 113,
"end": 179
},
"range": [
113,
179
],
"loc": null,
"range": {
"start": 113,
"end": 179
}
"range": [
113,
179
]
},
{
"type": "FunctionDeclaration",
@@ -326,10 +326,10 @@ Output:
"name": "Foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 190,
"end": 193
}
"range": [
190,
193
]
},
"params": [
{
@@ -337,10 +337,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 194,
"end": 199
}
"range": [
194,
199
]
}
],
"body": {
@@ -352,17 +352,17 @@ Output:
"type": "StringLiteral",
"value": "use forget",
"loc": null,
"range": {
"start": 205,
"end": 217
}
"range": [
205,
217
]
},
"directive": null,
"loc": null,
"range": {
"start": 205,
"end": 218
}
"range": [
205,
218
]
},
{
"type": "ReturnStatement",
@@ -374,18 +374,18 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 229,
"end": 232
}
"range": [
229,
232
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 228,
"end": 233
}
"range": [
228,
233
]
},
"children": [
{
@@ -397,33 +397,33 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 234,
"end": 239
}
"range": [
234,
239
]
},
"property": {
"type": "Identifier",
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 240,
"end": 243
}
"range": [
240,
243
]
},
"computed": false,
"loc": null,
"range": {
"start": 234,
"end": 243
}
"range": [
234,
243
]
},
"loc": null,
"range": {
"start": 233,
"end": 244
}
"range": [
233,
244
]
}
],
"closingElement": {
@@ -432,54 +432,54 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 246,
"end": 249
}
"range": [
246,
249
]
},
"loc": null,
"range": {
"start": 244,
"end": 250
}
"range": [
244,
250
]
},
"loc": null,
"range": {
"start": 228,
"end": 250
}
"range": [
228,
250
]
},
"loc": null,
"range": {
"start": 221,
"end": 251
}
"range": [
221,
251
]
}
],
"loc": null,
"range": {
"start": 201,
"end": 253
}
"range": [
201,
253
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 181,
"end": 253
},
"range": [
181,
253
],
"loc": null,
"range": {
"start": 181,
"end": 253
}
"range": [
181,
253
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 39,
"end": 253
}
"range": [
39,
253
]
}
@@ -27,10 +27,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 12
}
"range": [
9,
12
]
},
"params": [
{
@@ -38,30 +38,30 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 13,
"end": 14
}
"range": [
13,
14
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 16,
"end": 17
}
"range": [
16,
17
]
},
{
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
}
],
"body": {
@@ -74,10 +74,10 @@ Output:
"name": "label",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 26,
"end": 31
}
"range": [
26,
31
]
},
"body": {
"type": "IfStatement",
@@ -86,10 +86,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 37,
"end": 38
}
"range": [
37,
38
]
},
"consequent": {
"type": "BlockStatement",
@@ -101,10 +101,10 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 53,
"end": 54
}
"range": [
53,
54
]
},
"body": {
"type": "BlockStatement",
@@ -116,10 +116,10 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 68,
"end": 69
}
"range": [
68,
69
]
},
"consequent": {
"type": "BlockStatement",
@@ -131,63 +131,63 @@ Output:
"name": "label",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 87,
"end": 92
}
"range": [
87,
92
]
},
"loc": null,
"range": {
"start": 81,
"end": 93
}
"range": [
81,
93
]
}
],
"loc": null,
"range": {
"start": 71,
"end": 101
}
"range": [
71,
101
]
},
"alternate": null,
"loc": null,
"range": {
"start": 64,
"end": 101
}
"range": [
64,
101
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 107
}
"range": [
56,
107
]
},
"loc": null,
"range": {
"start": 46,
"end": 107
}
"range": [
46,
107
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 111
}
"range": [
40,
111
]
},
"alternate": null,
"loc": null,
"range": {
"start": 33,
"end": 111
}
"range": [
33,
111
]
},
"loc": null,
"range": {
"start": 26,
"end": 111
}
"range": [
26,
111
]
},
{
"type": "ReturnStatement",
@@ -196,42 +196,42 @@ Output:
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 121,
"end": 122
}
"range": [
121,
122
]
},
"loc": null,
"range": {
"start": 114,
"end": 123
}
"range": [
114,
123
]
}
],
"loc": null,
"range": {
"start": 22,
"end": 125
}
"range": [
22,
125
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 125
},
"range": [
0,
125
],
"loc": null,
"range": {
"start": 0,
"end": 125
}
"range": [
0,
125
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 125
}
"range": [
0,
125
]
}
@@ -31,10 +31,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 45,
"end": 54
}
"range": [
45,
54
]
},
"params": [],
"body": {
@@ -51,10 +51,10 @@ Output:
"name": "changeF",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 74
}
"range": [
67,
74
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -65,10 +65,10 @@ Output:
"name": "o",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 78,
"end": 79
}
"range": [
78,
79
]
}
],
"body": {
@@ -86,27 +86,27 @@ Output:
"name": "o",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 90,
"end": 91
}
"range": [
90,
91
]
},
"property": {
"type": "Identifier",
"name": "f",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 92,
"end": 93
}
"range": [
92,
93
]
},
"computed": false,
"loc": null,
"range": {
"start": 90,
"end": 93
}
"range": [
90,
93
]
},
"right": {
"type": "ArrowFunctionExpression",
@@ -121,105 +121,105 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 102,
"end": 109
}
"range": [
102,
109
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 110,
"end": 113
}
"range": [
110,
113
]
},
"computed": false,
"loc": null,
"range": {
"start": 102,
"end": 113
}
"range": [
102,
113
]
},
"arguments": [
{
"type": "StringLiteral",
"value": "new",
"loc": null,
"range": {
"start": 114,
"end": 119
}
"range": [
114,
119
]
}
],
"loc": null,
"range": {
"start": 102,
"end": 120
}
"range": [
102,
120
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 96,
"end": 120
},
"range": [
96,
120
],
"expression": true,
"loc": null,
"range": {
"start": 96,
"end": 120
}
"range": [
96,
120
]
},
"loc": null,
"range": {
"start": 90,
"end": 120
}
"range": [
90,
120
]
},
"directive": null,
"loc": null,
"range": {
"start": 90,
"end": 121
}
"range": [
90,
121
]
}
],
"loc": null,
"range": {
"start": 84,
"end": 125
}
"range": [
84,
125
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 77,
"end": 125
},
"range": [
77,
125
],
"expression": false,
"loc": null,
"range": {
"start": 77,
"end": 125
}
"range": [
77,
125
]
},
"loc": null,
"range": {
"start": 67,
"end": 125
}
"range": [
67,
125
]
}
],
"loc": null,
"range": {
"start": 61,
"end": 126
}
"range": [
61,
126
]
},
{
"type": "VariableDeclaration",
@@ -232,10 +232,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 135,
"end": 136
}
"range": [
135,
136
]
},
"init": {
"type": "ObjectExpression",
@@ -247,10 +247,10 @@ Output:
"name": "f",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 145,
"end": 146
}
"range": [
145,
146
]
},
"value": {
"type": "ArrowFunctionExpression",
@@ -265,88 +265,88 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 154,
"end": 161
}
"range": [
154,
161
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 162,
"end": 165
}
"range": [
162,
165
]
},
"computed": false,
"loc": null,
"range": {
"start": 154,
"end": 165
}
"range": [
154,
165
]
},
"arguments": [
{
"type": "StringLiteral",
"value": "original",
"loc": null,
"range": {
"start": 166,
"end": 176
}
"range": [
166,
176
]
}
],
"loc": null,
"range": {
"start": 154,
"end": 177
}
"range": [
154,
177
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 148,
"end": 177
},
"range": [
148,
177
],
"expression": true,
"loc": null,
"range": {
"start": 148,
"end": 177
}
"range": [
148,
177
]
},
"kind": "init",
"method": false,
"shorthand": false,
"computed": false,
"loc": null,
"range": {
"start": 145,
"end": 177
}
"range": [
145,
177
]
}
],
"loc": null,
"range": {
"start": 139,
"end": 182
}
"range": [
139,
182
]
},
"loc": null,
"range": {
"start": 135,
"end": 182
}
"range": [
135,
182
]
}
],
"loc": null,
"range": {
"start": 129,
"end": 183
}
"range": [
129,
183
]
},
{
"type": "ExpressionStatement",
@@ -366,61 +366,61 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 188,
"end": 195
}
"range": [
188,
195
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 196,
"end": 199
}
"range": [
196,
199
]
},
"computed": false,
"loc": null,
"range": {
"start": 188,
"end": 199
}
"range": [
188,
199
]
},
"arguments": [
{
"type": "StringLiteral",
"value": "A",
"loc": null,
"range": {
"start": 200,
"end": 203
}
"range": [
200,
203
]
}
],
"loc": null,
"range": {
"start": 188,
"end": 204
}
"range": [
188,
204
]
},
{
"type": "Identifier",
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 206,
"end": 207
}
"range": [
206,
207
]
}
],
"loc": null,
"range": {
"start": 188,
"end": 207
}
"range": [
188,
207
]
},
"property": {
"type": "SequenceExpression",
@@ -434,67 +434,67 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 210,
"end": 217
}
"range": [
210,
217
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 218,
"end": 221
}
"range": [
218,
221
]
},
"computed": false,
"loc": null,
"range": {
"start": 210,
"end": 221
}
"range": [
210,
221
]
},
"arguments": [
{
"type": "StringLiteral",
"value": "B",
"loc": null,
"range": {
"start": 222,
"end": 225
}
"range": [
222,
225
]
}
],
"loc": null,
"range": {
"start": 210,
"end": 226
}
"range": [
210,
226
]
},
{
"type": "StringLiteral",
"value": "f",
"loc": null,
"range": {
"start": 228,
"end": 231
}
"range": [
228,
231
]
}
],
"loc": null,
"range": {
"start": 210,
"end": 231
}
"range": [
210,
231
]
},
"computed": true,
"loc": null,
"range": {
"start": 187,
"end": 233
}
"range": [
187,
233
]
},
"arguments": [
{
@@ -507,10 +507,10 @@ Output:
"name": "changeF",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 240,
"end": 247
}
"range": [
240,
247
]
},
"arguments": [
{
@@ -518,17 +518,17 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 248,
"end": 249
}
"range": [
248,
249
]
}
],
"loc": null,
"range": {
"start": 240,
"end": 250
}
"range": [
240,
250
]
},
{
"type": "CallExpression",
@@ -539,74 +539,74 @@ Output:
"name": "console",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 252,
"end": 259
}
"range": [
252,
259
]
},
"property": {
"type": "Identifier",
"name": "log",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 260,
"end": 263
}
"range": [
260,
263
]
},
"computed": false,
"loc": null,
"range": {
"start": 252,
"end": 263
}
"range": [
252,
263
]
},
"arguments": [
{
"type": "StringLiteral",
"value": "arg",
"loc": null,
"range": {
"start": 264,
"end": 269
}
"range": [
264,
269
]
}
],
"loc": null,
"range": {
"start": 252,
"end": 270
}
"range": [
252,
270
]
},
{
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 272,
"end": 273
}
"range": [
272,
273
]
}
],
"loc": null,
"range": {
"start": 240,
"end": 273
}
"range": [
240,
273
]
}
],
"loc": null,
"range": {
"start": 187,
"end": 278
}
"range": [
187,
278
]
},
"directive": null,
"loc": null,
"range": {
"start": 187,
"end": 279
}
"range": [
187,
279
]
},
{
"type": "ReturnStatement",
@@ -615,42 +615,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 289,
"end": 290
}
"range": [
289,
290
]
},
"loc": null,
"range": {
"start": 282,
"end": 291
}
"range": [
282,
291
]
}
],
"loc": null,
"range": {
"start": 57,
"end": 293
}
"range": [
57,
293
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 36,
"end": 293
},
"range": [
36,
293
],
"loc": null,
"range": {
"start": 36,
"end": 293
}
"range": [
36,
293
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 36,
"end": 293
}
"range": [
36,
293
]
}
@@ -21,10 +21,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -32,10 +32,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -52,10 +52,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 36,
"end": 37
}
"range": [
36,
37
]
},
"init": {
"type": "CallExpression",
@@ -66,10 +66,10 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 40,
"end": 43
}
"range": [
40,
43
]
},
"property": {
"type": "MemberExpression",
@@ -78,34 +78,34 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 44,
"end": 49
}
"range": [
44,
49
]
},
"property": {
"type": "Identifier",
"name": "method",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 56
}
"range": [
50,
56
]
},
"computed": false,
"loc": null,
"range": {
"start": 44,
"end": 56
}
"range": [
44,
56
]
},
"computed": true,
"loc": null,
"range": {
"start": 40,
"end": 57
}
"range": [
40,
57
]
},
"arguments": [
{
@@ -117,41 +117,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 61,
"end": 66
}
"range": [
61,
66
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 67,
"end": 68
}
"range": [
67,
68
]
},
"computed": false,
"loc": null,
"range": {
"start": 61,
"end": 68
}
"range": [
61,
68
]
},
"loc": null,
"range": {
"start": 58,
"end": 68
}
"range": [
58,
68
]
},
{
"type": "NullLiteral",
"loc": null,
"range": {
"start": 70,
"end": 74
}
"range": [
70,
74
]
},
{
"type": "SpreadElement",
@@ -162,53 +162,53 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 79,
"end": 84
}
"range": [
79,
84
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 85,
"end": 86
}
"range": [
85,
86
]
},
"computed": false,
"loc": null,
"range": {
"start": 79,
"end": 86
}
"range": [
79,
86
]
},
"loc": null,
"range": {
"start": 76,
"end": 86
}
"range": [
76,
86
]
}
],
"loc": null,
"range": {
"start": 40,
"end": 87
}
"range": [
40,
87
]
},
"loc": null,
"range": {
"start": 36,
"end": 87
}
"range": [
36,
87
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 88
}
"range": [
30,
88
]
},
{
"type": "ReturnStatement",
@@ -217,42 +217,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 98,
"end": 99
}
"range": [
98,
99
]
},
"loc": null,
"range": {
"start": 91,
"end": 100
}
"range": [
91,
100
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 102
}
"range": [
26,
102
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 102
},
"range": [
0,
102
],
"loc": null,
"range": {
"start": 0,
"end": 102
}
"range": [
0,
102
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 102
}
"range": [
0,
102
]
}
@@ -26,10 +26,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 24
}
"range": [
19,
24
]
}
],
"body": {
@@ -57,10 +57,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 34,
"end": 35
}
"range": [
34,
35
]
},
"init": {
"type": "CallExpression",
@@ -69,30 +69,30 @@ Output:
"name": "foo",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 38,
"end": 41
}
"range": [
38,
41
]
},
"arguments": [],
"loc": null,
"range": {
"start": 38,
"end": 43
}
"range": [
38,
43
]
},
"loc": null,
"range": {
"start": 34,
"end": 43
}
"range": [
34,
43
]
}
],
"loc": null,
"range": {
"start": 30,
"end": 44
}
"range": [
30,
44
]
},
{
"type": "ExpressionStatement",
@@ -104,18 +104,18 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 106,
"end": 109
}
"range": [
106,
109
]
},
"attributes": [],
"selfClosing": false,
"loc": null,
"range": {
"start": 105,
"end": 110
}
"range": [
105,
110
]
},
"children": [
{
@@ -125,16 +125,16 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 112
}
"range": [
111,
112
]
},
"loc": null,
"range": {
"start": 110,
"end": 113
}
"range": [
110,
113
]
}
],
"closingElement": {
@@ -143,29 +143,29 @@ Output:
"type": "JSXIdentifier",
"name": "div",
"loc": null,
"range": {
"start": 115,
"end": 118
}
"range": [
115,
118
]
},
"loc": null,
"range": {
"start": 113,
"end": 119
}
"range": [
113,
119
]
},
"loc": null,
"range": {
"start": 105,
"end": 119
}
"range": [
105,
119
]
},
"directive": null,
"loc": null,
"range": {
"start": 105,
"end": 120
}
"range": [
105,
120
]
},
{
"type": "VariableDeclaration",
@@ -178,10 +178,10 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 168,
"end": 169
}
"range": [
168,
169
]
},
"init": {
"type": "CallExpression",
@@ -190,10 +190,10 @@ Output:
"name": "bar",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 172,
"end": 175
}
"range": [
172,
175
]
},
"arguments": [
{
@@ -205,10 +205,10 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 176,
"end": 177
}
"range": [
176,
177
]
},
"property": {
"type": "MemberExpression",
@@ -217,70 +217,70 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 178,
"end": 183
}
"range": [
178,
183
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 184,
"end": 185
}
"range": [
184,
185
]
},
"computed": false,
"loc": null,
"range": {
"start": 178,
"end": 185
}
"range": [
178,
185
]
},
"computed": true,
"loc": null,
"range": {
"start": 176,
"end": 186
}
"range": [
176,
186
]
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 1.0,
"loc": null,
"range": {
"start": 189,
"end": 190
}
"range": [
189,
190
]
},
"loc": null,
"range": {
"start": 176,
"end": 190
}
"range": [
176,
190
]
}
],
"loc": null,
"range": {
"start": 172,
"end": 191
}
"range": [
172,
191
]
},
"loc": null,
"range": {
"start": 168,
"end": 191
}
"range": [
168,
191
]
}
],
"loc": null,
"range": {
"start": 164,
"end": 192
}
"range": [
164,
192
]
},
{
"type": "ReturnStatement",
@@ -289,42 +289,42 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 202,
"end": 203
}
"range": [
202,
203
]
},
"loc": null,
"range": {
"start": 195,
"end": 204
}
"range": [
195,
204
]
}
],
"loc": null,
"range": {
"start": 26,
"end": 206
}
"range": [
26,
206
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 206
},
"range": [
0,
206
],
"loc": null,
"range": {
"start": 0,
"end": 206
}
"range": [
0,
206
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 206
}
"range": [
0,
206
]
}
@@ -24,10 +24,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [
{
@@ -35,20 +35,20 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 19,
"end": 20
}
"range": [
19,
20
]
},
{
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 22,
"end": 23
}
"range": [
22,
23
]
}
],
"body": {
@@ -65,10 +65,10 @@ Output:
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 34
}
"range": [
33,
34
]
},
"init": {
"type": "ObjectExpression",
@@ -80,50 +80,50 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"value": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 39,
"end": 40
}
"range": [
39,
40
]
}
],
"loc": null,
"range": {
"start": 37,
"end": 42
}
"range": [
37,
42
]
},
"loc": null,
"range": {
"start": 33,
"end": 42
}
"range": [
33,
42
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 43
}
"range": [
29,
43
]
},
{
"type": "VariableDeclaration",
@@ -136,10 +136,10 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
},
"init": {
"type": "ObjectExpression",
@@ -151,50 +151,50 @@ Output:
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"value": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
},
"kind": "init",
"method": false,
"shorthand": true,
"computed": false,
"loc": null,
"range": {
"start": 56,
"end": 57
}
"range": [
56,
57
]
}
],
"loc": null,
"range": {
"start": 54,
"end": 59
}
"range": [
54,
59
]
},
"loc": null,
"range": {
"start": 50,
"end": 59
}
"range": [
50,
59
]
}
],
"loc": null,
"range": {
"start": 46,
"end": 60
}
"range": [
46,
60
]
},
{
"type": "ExpressionStatement",
@@ -208,49 +208,49 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 63,
"end": 64
}
"range": [
63,
64
]
},
"property": {
"type": "StringLiteral",
"value": "y",
"loc": null,
"range": {
"start": 65,
"end": 68
}
"range": [
65,
68
]
},
"computed": true,
"loc": null,
"range": {
"start": 63,
"end": 69
}
"range": [
63,
69
]
},
"right": {
"type": "Identifier",
"name": "y",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 72,
"end": 73
}
"range": [
72,
73
]
},
"loc": null,
"range": {
"start": 63,
"end": 73
}
"range": [
63,
73
]
},
"directive": null,
"loc": null,
"range": {
"start": 63,
"end": 74
}
"range": [
63,
74
]
},
{
"type": "ExpressionStatement",
@@ -261,10 +261,10 @@ Output:
"name": "mutate",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 77,
"end": 83
}
"range": [
77,
83
]
},
"arguments": [
{
@@ -272,24 +272,24 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
}
],
"loc": null,
"range": {
"start": 77,
"end": 86
}
"range": [
77,
86
]
},
"directive": null,
"loc": null,
"range": {
"start": 77,
"end": 87
}
"range": [
77,
87
]
},
{
"type": "ReturnStatement",
@@ -298,42 +298,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 97,
"end": 98
}
"range": [
97,
98
]
},
"loc": null,
"range": {
"start": 90,
"end": 99
}
"range": [
90,
99
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 101
}
"range": [
25,
101
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 101
},
"range": [
0,
101
],
"loc": null,
"range": {
"start": 0,
"end": 101
}
"range": [
0,
101
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 101
}
"range": [
0,
101
]
}
@@ -22,10 +22,10 @@ Output:
"name": "component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 9,
"end": 18
}
"range": [
9,
18
]
},
"params": [],
"body": {
@@ -45,27 +45,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 30,
"end": 31
}
"range": [
30,
31
]
},
{
"type": "Identifier",
"name": "setX",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 33,
"end": 37
}
"range": [
33,
37
]
}
],
"loc": null,
"range": {
"start": 29,
"end": 38
}
"range": [
29,
38
]
},
"init": {
"type": "CallExpression",
@@ -74,40 +74,40 @@ Output:
"name": "useState",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 41,
"end": 49
}
"range": [
41,
49
]
},
"arguments": [
{
"type": "NumericLiteral",
"value": 0.0,
"loc": null,
"range": {
"start": 50,
"end": 51
}
"range": [
50,
51
]
}
],
"loc": null,
"range": {
"start": 41,
"end": 52
}
"range": [
41,
52
]
},
"loc": null,
"range": {
"start": 29,
"end": 52
}
"range": [
29,
52
]
}
],
"loc": null,
"range": {
"start": 25,
"end": 53
}
"range": [
25,
53
]
},
{
"type": "VariableDeclaration",
@@ -120,10 +120,10 @@ Output:
"name": "handler",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 62,
"end": 69
}
"range": [
62,
69
]
},
"init": {
"type": "ArrowFunctionExpression",
@@ -134,10 +134,10 @@ Output:
"name": "v",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 73,
"end": 74
}
"range": [
73,
74
]
}
],
"body": {
@@ -147,10 +147,10 @@ Output:
"name": "setX",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 79,
"end": 83
}
"range": [
79,
83
]
},
"arguments": [
{
@@ -158,44 +158,44 @@ Output:
"name": "v",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 84,
"end": 85
}
"range": [
84,
85
]
}
],
"loc": null,
"range": {
"start": 79,
"end": 86
}
"range": [
79,
86
]
},
"generator": true,
"async": false,
"loc": null,
"range": {
"start": 72,
"end": 86
},
"range": [
72,
86
],
"expression": true,
"loc": null,
"range": {
"start": 72,
"end": 86
}
"range": [
72,
86
]
},
"loc": null,
"range": {
"start": 62,
"end": 86
}
"range": [
62,
86
]
}
],
"loc": null,
"range": {
"start": 56,
"end": 87
}
"range": [
56,
87
]
},
{
"type": "ReturnStatement",
@@ -207,10 +207,10 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 98,
"end": 101
}
"range": [
98,
101
]
},
"attributes": [
{
@@ -219,10 +219,10 @@ Output:
"type": "JSXIdentifier",
"name": "handler",
"loc": null,
"range": {
"start": 102,
"end": 109
}
"range": [
102,
109
]
},
"value": {
"type": "JSXExpressionContainer",
@@ -231,30 +231,30 @@ Output:
"name": "handler",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 111,
"end": 118
}
"range": [
111,
118
]
},
"loc": null,
"range": {
"start": 110,
"end": 119
}
"range": [
110,
119
]
},
"loc": null,
"range": {
"start": 102,
"end": 119
}
"range": [
102,
119
]
}
],
"selfClosing": false,
"loc": null,
"range": {
"start": 97,
"end": 120
}
"range": [
97,
120
]
},
"children": [],
"closingElement": {
@@ -263,54 +263,54 @@ Output:
"type": "JSXIdentifier",
"name": "Foo",
"loc": null,
"range": {
"start": 122,
"end": 125
}
"range": [
122,
125
]
},
"loc": null,
"range": {
"start": 120,
"end": 126
}
"range": [
120,
126
]
},
"loc": null,
"range": {
"start": 97,
"end": 126
}
"range": [
97,
126
]
},
"loc": null,
"range": {
"start": 90,
"end": 127
}
"range": [
90,
127
]
}
],
"loc": null,
"range": {
"start": 21,
"end": 129
}
"range": [
21,
129
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 0,
"end": 129
},
"range": [
0,
129
],
"loc": null,
"range": {
"start": 0,
"end": 129
}
"range": [
0,
129
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 0,
"end": 129
}
"range": [
0,
129
]
}
@@ -26,10 +26,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 213,
"end": 222
}
"range": [
213,
222
]
},
"params": [
{
@@ -37,10 +37,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 223,
"end": 228
}
"range": [
223,
228
]
}
],
"body": {
@@ -57,32 +57,32 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 238,
"end": 239
}
"range": [
238,
239
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 242,
"end": 244
}
"range": [
242,
244
]
},
"loc": null,
"range": {
"start": 238,
"end": 244
}
"range": [
238,
244
]
}
],
"loc": null,
"range": {
"start": 234,
"end": 245
}
"range": [
234,
245
]
},
{
"type": "ExpressionStatement",
@@ -95,27 +95,27 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 248,
"end": 249
}
"range": [
248,
249
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 250,
"end": 254
}
"range": [
250,
254
]
},
"computed": false,
"loc": null,
"range": {
"start": 248,
"end": 254
}
"range": [
248,
254
]
},
"arguments": [
{
@@ -127,59 +127,59 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 255,
"end": 260
}
"range": [
255,
260
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 261,
"end": 262
}
"range": [
261,
262
]
},
"computed": false,
"loc": null,
"range": {
"start": 255,
"end": 262
}
"range": [
255,
262
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 264,
"end": 265
}
"range": [
264,
265
]
},
"computed": false,
"optional": true,
"loc": null,
"range": {
"start": 255,
"end": 265
}
"range": [
255,
265
]
}
],
"loc": null,
"range": {
"start": 248,
"end": 266
}
"range": [
248,
266
]
},
"directive": null,
"loc": null,
"range": {
"start": 248,
"end": 267
}
"range": [
248,
267
]
},
{
"type": "ReturnStatement",
@@ -188,42 +188,42 @@ Output:
"name": "x",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 277,
"end": 278
}
"range": [
277,
278
]
},
"loc": null,
"range": {
"start": 270,
"end": 279
}
"range": [
270,
279
]
}
],
"loc": null,
"range": {
"start": 230,
"end": 281
}
"range": [
230,
281
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 204,
"end": 281
},
"range": [
204,
281
],
"loc": null,
"range": {
"start": 204,
"end": 281
}
"range": [
204,
281
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 204,
"end": 281
}
"range": [
204,
281
]
}
@@ -32,10 +32,10 @@ Output:
"name": "Component",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 49,
"end": 58
}
"range": [
49,
58
]
},
"params": [
{
@@ -43,10 +43,10 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 59,
"end": 64
}
"range": [
59,
64
]
}
],
"body": {
@@ -63,32 +63,32 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 76,
"end": 77
}
"range": [
76,
77
]
},
"init": {
"type": "ArrayExpression",
"elements": [],
"loc": null,
"range": {
"start": 80,
"end": 82
}
"range": [
80,
82
]
},
"loc": null,
"range": {
"start": 76,
"end": 82
}
"range": [
76,
82
]
}
],
"loc": null,
"range": {
"start": 70,
"end": 83
}
"range": [
70,
83
]
},
{
"type": "ExpressionStatement",
@@ -101,27 +101,27 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 86,
"end": 87
}
"range": [
86,
87
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 88,
"end": 92
}
"range": [
88,
92
]
},
"computed": false,
"loc": null,
"range": {
"start": 86,
"end": 92
}
"range": [
86,
92
]
},
"arguments": [
{
@@ -131,41 +131,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 93,
"end": 98
}
"range": [
93,
98
]
},
"property": {
"type": "Identifier",
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 99,
"end": 100
}
"range": [
99,
100
]
},
"computed": false,
"loc": null,
"range": {
"start": 93,
"end": 100
}
"range": [
93,
100
]
}
],
"loc": null,
"range": {
"start": 86,
"end": 101
}
"range": [
86,
101
]
},
"directive": null,
"loc": null,
"range": {
"start": 86,
"end": 102
}
"range": [
86,
102
]
},
{
"type": "LabeledStatement",
@@ -174,10 +174,10 @@ Output:
"name": "label",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 105,
"end": 110
}
"range": [
105,
110
]
},
"body": {
"type": "BlockStatement",
@@ -191,27 +191,27 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 122,
"end": 127
}
"range": [
122,
127
]
},
"property": {
"type": "Identifier",
"name": "b",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 128,
"end": 129
}
"range": [
128,
129
]
},
"computed": false,
"loc": null,
"range": {
"start": 122,
"end": 129
}
"range": [
122,
129
]
},
"consequent": {
"type": "BlockStatement",
@@ -223,30 +223,30 @@ Output:
"name": "label",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 145,
"end": 150
}
"range": [
145,
150
]
},
"loc": null,
"range": {
"start": 139,
"end": 151
}
"range": [
139,
151
]
}
],
"loc": null,
"range": {
"start": 131,
"end": 157
}
"range": [
131,
157
]
},
"alternate": null,
"loc": null,
"range": {
"start": 118,
"end": 157
}
"range": [
118,
157
]
},
{
"type": "ExpressionStatement",
@@ -259,27 +259,27 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 162,
"end": 163
}
"range": [
162,
163
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 164,
"end": 168
}
"range": [
164,
168
]
},
"computed": false,
"loc": null,
"range": {
"start": 162,
"end": 168
}
"range": [
162,
168
]
},
"arguments": [
{
@@ -289,54 +289,54 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 169,
"end": 174
}
"range": [
169,
174
]
},
"property": {
"type": "Identifier",
"name": "c",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 175,
"end": 176
}
"range": [
175,
176
]
},
"computed": false,
"loc": null,
"range": {
"start": 169,
"end": 176
}
"range": [
169,
176
]
}
],
"loc": null,
"range": {
"start": 162,
"end": 177
}
"range": [
162,
177
]
},
"directive": null,
"loc": null,
"range": {
"start": 162,
"end": 178
}
"range": [
162,
178
]
}
],
"loc": null,
"range": {
"start": 112,
"end": 182
}
"range": [
112,
182
]
},
"loc": null,
"range": {
"start": 105,
"end": 182
}
"range": [
105,
182
]
},
{
"type": "ExpressionStatement",
@@ -349,27 +349,27 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 185,
"end": 186
}
"range": [
185,
186
]
},
"property": {
"type": "Identifier",
"name": "push",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 187,
"end": 191
}
"range": [
187,
191
]
},
"computed": false,
"loc": null,
"range": {
"start": 185,
"end": 191
}
"range": [
185,
191
]
},
"arguments": [
{
@@ -379,41 +379,41 @@ Output:
"name": "props",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 192,
"end": 197
}
"range": [
192,
197
]
},
"property": {
"type": "Identifier",
"name": "d",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 198,
"end": 199
}
"range": [
198,
199
]
},
"computed": false,
"loc": null,
"range": {
"start": 192,
"end": 199
}
"range": [
192,
199
]
}
],
"loc": null,
"range": {
"start": 185,
"end": 200
}
"range": [
185,
200
]
},
"directive": null,
"loc": null,
"range": {
"start": 185,
"end": 201
}
"range": [
185,
201
]
},
{
"type": "ReturnStatement",
@@ -422,42 +422,42 @@ Output:
"name": "a",
"typeAnnotation": null,
"loc": null,
"range": {
"start": 211,
"end": 212
}
"range": [
211,
212
]
},
"loc": null,
"range": {
"start": 204,
"end": 213
}
"range": [
204,
213
]
}
],
"loc": null,
"range": {
"start": 66,
"end": 215
}
"range": [
66,
215
]
},
"generator": false,
"async": false,
"loc": null,
"range": {
"start": 40,
"end": 215
},
"range": [
40,
215
],
"loc": null,
"range": {
"start": 40,
"end": 215
}
"range": [
40,
215
]
}
],
"sourceType": "script",
"loc": null,
"range": {
"start": 40,
"end": 215
}
"range": [
40,
215
]
}

Some files were not shown because too many files have changed in this diff Show More