Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions data/fixtures/scopes/csharp/argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
try {}
catch(MyException ex) {}
catch(Exception ex) {}
---

[#1 Content] =
[#1 Removal] =
[#1 Domain] = 1:6-1:20
>--------------<
1| catch(MyException ex) {}

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] =
[#2 Domain] = 2:6-2:18
>------------<
2| catch(Exception ex) {}

[#2 Insertion delimiter] = " "
41 changes: 41 additions & 0 deletions data/fixtures/scopes/csharp/name.argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
try {}
catch(MyException ex) {}
catch(Exception ex) {}
---

[#1 Content] = 1:18-1:20
>--<
1| catch(MyException ex) {}

[#1 Removal] = 1:17-1:20
>---<
1| catch(MyException ex) {}

[#1 Leading delimiter] = 1:17-1:18
>-<
1| catch(MyException ex) {}

[#1 Domain] = 1:6-1:20
>--------------<
1| catch(MyException ex) {}

[#1 Insertion delimiter] = " "


[#2 Content] = 2:16-2:18
>--<
2| catch(Exception ex) {}

[#2 Removal] = 2:15-2:18
>---<
2| catch(Exception ex) {}

[#2 Leading delimiter] = 2:15-2:16
>-<
2| catch(Exception ex) {}

[#2 Domain] = 2:6-2:18
>------------<
2| catch(Exception ex) {}

[#2 Insertion delimiter] = " "
41 changes: 41 additions & 0 deletions data/fixtures/scopes/csharp/type.argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
try {}
catch(MyException ex) {}
catch(Exception ex) {}
---

[#1 Content] = 1:6-1:17
>-----------<
1| catch(MyException ex) {}

[#1 Removal] = 1:6-1:18
>------------<
1| catch(MyException ex) {}

[#1 Trailing delimiter] = 1:17-1:18
>-<
1| catch(MyException ex) {}

[#1 Domain] = 1:6-1:20
>--------------<
1| catch(MyException ex) {}

[#1 Insertion delimiter] = " "


[#2 Content] = 2:6-2:15
>---------<
2| catch(Exception ex) {}

[#2 Removal] = 2:6-2:16
>----------<
2| catch(Exception ex) {}

[#2 Trailing delimiter] = 2:15-2:16
>-<
2| catch(Exception ex) {}

[#2 Domain] = 2:6-2:18
>------------<
2| catch(Exception ex) {}

[#2 Insertion delimiter] = " "
21 changes: 21 additions & 0 deletions data/fixtures/scopes/java/argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
try {}
catch(final MyException ex) {}
catch(final Exception ex) {}
---

[#1 Content] =
[#1 Removal] =
[#1 Domain] = 1:6-1:26
>--------------------<
1| catch(final MyException ex) {}

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] =
[#2 Domain] = 2:6-2:24
>------------------<
2| catch(final Exception ex) {}

[#2 Insertion delimiter] = " "
41 changes: 41 additions & 0 deletions data/fixtures/scopes/java/name.argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
try {}
catch(final MyException ex) {}
catch(final Exception ex) {}
---

[#1 Content] = 1:24-1:26
>--<
1| catch(final MyException ex) {}

[#1 Removal] = 1:23-1:26
>---<
1| catch(final MyException ex) {}

[#1 Leading delimiter] = 1:23-1:24
>-<
1| catch(final MyException ex) {}

[#1 Domain] = 1:6-1:26
>--------------------<
1| catch(final MyException ex) {}

[#1 Insertion delimiter] = " "


[#2 Content] = 2:22-2:24
>--<
2| catch(final Exception ex) {}

[#2 Removal] = 2:21-2:24
>---<
2| catch(final Exception ex) {}

[#2 Leading delimiter] = 2:21-2:22
>-<
2| catch(final Exception ex) {}

[#2 Domain] = 2:6-2:24
>------------------<
2| catch(final Exception ex) {}

[#2 Insertion delimiter] = " "
49 changes: 49 additions & 0 deletions data/fixtures/scopes/java/type.argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
try {}
catch(final MyException ex) {}
catch(final Exception ex) {}
---

[#1 Content] = 1:12-1:23
>-----------<
1| catch(final MyException ex) {}

[#1 Removal] = 1:12-1:24
>------------<
1| catch(final MyException ex) {}

[#1 Leading delimiter] = 1:11-1:12
>-<
1| catch(final MyException ex) {}

[#1 Trailing delimiter] = 1:23-1:24
>-<
1| catch(final MyException ex) {}

[#1 Domain] = 1:6-1:26
>--------------------<
1| catch(final MyException ex) {}

[#1 Insertion delimiter] = " "


[#2 Content] = 2:12-2:21
>---------<
2| catch(final Exception ex) {}

[#2 Removal] = 2:12-2:22
>----------<
2| catch(final Exception ex) {}

[#2 Leading delimiter] = 2:11-2:12
>-<
2| catch(final Exception ex) {}

[#2 Trailing delimiter] = 2:21-2:22
>-<
2| catch(final Exception ex) {}

[#2 Domain] = 2:6-2:24
>------------------<
2| catch(final Exception ex) {}

[#2 Insertion delimiter] = " "
11 changes: 11 additions & 0 deletions data/fixtures/scopes/javascript.core/argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
try {}
catch(error) {}
---

[Content] =
[Removal] =
[Domain] = 1:6-1:11
>-----<
1| catch(error) {}

[Insertion delimiter] = " "
30 changes: 9 additions & 21 deletions data/fixtures/scopes/javascript.core/branch.try.iteration.scope
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
try {
a
}
catch (e) {
b
}
finally {
c
}
try {}
catch(error) {}
finally {}
---

[Range] =
[Domain] = 0:0-8:1
>-----
0| try {
1| a
2| }
3| catch (e) {
4| b
5| }
6| finally {
7| c
8| }
-<
[Domain] = 0:0-2:10
>------
0| try {}
1| catch(error) {}
2| finally {}
----------<
77 changes: 28 additions & 49 deletions data/fixtures/scopes/javascript.core/branch.try.scope
Original file line number Diff line number Diff line change
@@ -1,66 +1,45 @@
try {

}
catch(error) {

}
finally {

}
try {}
catch(error) {}
finally {}
---

[#1 Content] =
[#1 Domain] = 0:0-2:1
>-----
0| try {
1|
2| }
-<

[#1 Removal] = 0:0-3:0
>-----
0| try {
1|
2| }
3| catch(error) {
[#1 Domain] = 0:0-0:6
>------<
0| try {}

[#1 Removal] = 0:0-1:0
>------
0| try {}
1| catch(error) {}
<

[#1 Insertion delimiter] = "\n"


[#2 Content] =
[#2 Domain] = 3:0-5:1
>--------------
3| catch(error) {
4|
5| }
-<

[#2 Removal] = 3:0-6:0
>--------------
3| catch(error) {
4|
5| }
6| finally {
[#2 Domain] = 1:0-1:15
>---------------<
1| catch(error) {}

[#2 Removal] = 1:0-2:0
>---------------
1| catch(error) {}
2| finally {}
<

[#2 Insertion delimiter] = "\n"


[#3 Content] =
[#3 Domain] = 6:0-8:1
>---------
6| finally {
7|
8| }
-<

[#3 Removal] = 5:1-8:1
>
5| }
6| finally {
7|
8| }
-<
[#3 Domain] = 2:0-2:10
>----------<
2| finally {}

[#3 Removal] = 1:15-2:10
>
1| catch(error) {}
2| finally {}
----------<

[#3 Insertion delimiter] = "\n"
11 changes: 11 additions & 0 deletions data/fixtures/scopes/javascript.core/name.argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
try {}
catch(error) {}
---

[Content] =
[Removal] =
[Domain] = 1:6-1:11
>-----<
1| catch(error) {}

[Insertion delimiter] = " "
Loading
Loading