File tree Expand file tree Collapse file tree 7 files changed +124
-14
lines changed
data/fixtures/scopes/javascript.core Expand file tree Collapse file tree 7 files changed +124
-14
lines changed Original file line number Diff line number Diff line change
1
+ const foo = function bar() {};
2
+ ---
3
+
4
+ [#1 Content] = 0:6-0:9
5
+ >---<
6
+ 0| const foo = function bar() {};
7
+
8
+ [#1 Removal] = 0:0-0:12
9
+ >------------<
10
+ 0| const foo = function bar() {};
11
+
12
+ [#1 Leading delimiter] = 0:5-0:6
13
+ >-<
14
+ 0| const foo = function bar() {};
15
+
16
+ [#1 Trailing delimiter] = 0:9-0:10
17
+ >-<
18
+ 0| const foo = function bar() {};
19
+
20
+ [#1 Domain] = 0:0-0:30
21
+ >------------------------------<
22
+ 0| const foo = function bar() {};
23
+
24
+ [#1 Insertion delimiter] = " "
25
+
26
+
27
+ [#2 Content] =
28
+ [#2 Removal] = 0:21-0:24
29
+ >---<
30
+ 0| const foo = function bar() {};
31
+
32
+ [#2 Leading delimiter] = 0:20-0:21
33
+ >-<
34
+ 0| const foo = function bar() {};
35
+
36
+ [#2 Domain] = 0:12-0:29
37
+ >-----------------<
38
+ 0| const foo = function bar() {};
39
+
40
+ [#2 Insertion delimiter] = " "
Original file line number Diff line number Diff line change
1
+ const foo = function *bar() {};
2
+ ---
3
+
4
+ [#1 Content] = 0:6-0:9
5
+ >---<
6
+ 0| const foo = function *bar() {};
7
+
8
+ [#1 Removal] = 0:0-0:12
9
+ >------------<
10
+ 0| const foo = function *bar() {};
11
+
12
+ [#1 Leading delimiter] = 0:5-0:6
13
+ >-<
14
+ 0| const foo = function *bar() {};
15
+
16
+ [#1 Trailing delimiter] = 0:9-0:10
17
+ >-<
18
+ 0| const foo = function *bar() {};
19
+
20
+ [#1 Domain] = 0:0-0:31
21
+ >-------------------------------<
22
+ 0| const foo = function *bar() {};
23
+
24
+ [#1 Insertion delimiter] = " "
25
+
26
+
27
+ [#2 Content] =
28
+ [#2 Removal] = 0:22-0:25
29
+ >---<
30
+ 0| const foo = function *bar() {};
31
+
32
+ [#2 Domain] = 0:12-0:30
33
+ >------------------<
34
+ 0| const foo = function *bar() {};
35
+
36
+ [#2 Insertion delimiter] = " "
Original file line number Diff line number Diff line change 1
- export default function() {}
1
+ const foo = function bar () {};
2
2
---
3
3
4
4
[Content] =
5
- [Removal] =
6
- [Domain] = 0:0-0:28
7
- >----------------------------<
8
- 0| export default function() {}
5
+ [Domain] = 0:12-0:29
6
+ >-----------------<
7
+ 0| const foo = function bar() {};
8
+
9
+ [Removal] = 0:11-0:29
10
+ >------------------<
11
+ 0| const foo = function bar() {};
12
+
13
+ [Leading delimiter] = 0:11-0:12
14
+ >-<
15
+ 0| const foo = function bar() {};
9
16
10
17
[Insertion delimiter] = "\n\n"
Original file line number Diff line number Diff line change 1
- export default function *() {}
1
+ const foo = function *bar () {};
2
2
---
3
3
4
4
[Content] =
5
- [Removal] =
6
- [Domain] = 0:0-0:30
7
- >------------------------------<
8
- 0| export default function *() {}
5
+ [Domain] = 0:12-0:30
6
+ >------------------<
7
+ 0| const foo = function *bar() {};
8
+
9
+ [Removal] = 0:11-0:30
10
+ >-------------------<
11
+ 0| const foo = function *bar() {};
12
+
13
+ [Leading delimiter] = 0:11-0:12
14
+ >-<
15
+ 0| const foo = function *bar() {};
9
16
10
17
[Insertion delimiter] = "\n\n"
Original file line number Diff line number Diff line change 1
- export default () => {};
1
+ export default function () {}
2
2
---
3
3
4
4
[Content] =
5
5
[Removal] =
6
- [Domain] = 0:0-0:24
7
- >------------------------<
8
- 0| export default () => {};
6
+ [Domain] = 0:0-0:28
7
+ >---------------------------- <
8
+ 0| export default function () {}
9
9
10
10
[Insertion delimiter] = "\n\n"
Original file line number Diff line number Diff line change
1
+ export default function *() {}
2
+ ---
3
+
4
+ [Content] =
5
+ [Removal] =
6
+ [Domain] = 0:0-0:30
7
+ >------------------------------<
8
+ 0| export default function *() {}
9
+
10
+ [Insertion delimiter] = "\n\n"
Original file line number Diff line number Diff line change
1
+ export default () => {};
2
+ ---
3
+
4
+ [Content] =
5
+ [Removal] =
6
+ [Domain] = 0:0-0:24
7
+ >------------------------<
8
+ 0| export default () => {};
9
+
10
+ [Insertion delimiter] = "\n\n"
You can’t perform that action at this time.
0 commit comments