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
25 changes: 25 additions & 0 deletions data/fixtures/scopes/java/interior.class.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class Foo { }
---

[#1 Content] =
[#1 Removal] = 0:11-0:12
>-<
0| class Foo { }

[#1 Domain] = 0:0-0:13
>-------------<
0| class Foo { }

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:11-0:12
>-<
0| class Foo { }

[#2 Domain] = 0:10-0:13
>---<
0| class Foo { }

[#2 Insertion delimiter] = " "
25 changes: 25 additions & 0 deletions data/fixtures/scopes/java/interior.class2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
public class Foo { }
---

[#1 Content] =
[#1 Removal] = 0:18-0:19
>-<
0| public class Foo { }

[#1 Domain] = 0:0-0:20
>--------------------<
0| public class Foo { }

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:18-0:19
>-<
0| public class Foo { }

[#2 Domain] = 0:17-0:20
>---<
0| public class Foo { }

[#2 Insertion delimiter] = " "
81 changes: 81 additions & 0 deletions data/fixtures/scopes/java/interior.function.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
class Foo {
void bar() { }
}
---

[#1 Content] = 1:4-1:18
>--------------<
1| void bar() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| void bar() { }
2| }
<

[#1 Domain] = 0:0-2:1
>-----------
0| class Foo {
1| void bar() { }
2| }
-<

[#1 Insertion delimiter] = " "


[#2 Content] = 1:4-1:18
>--------------<
1| void bar() { }

[#2 Removal] = 0:11-2:0
>
0| class Foo {
1| void bar() { }
2| }
<

[#2 Domain] = 0:10-2:1
>-
0| class Foo {
1| void bar() { }
2| }
-<

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Removal] = 1:16-1:17
>-<
1| void bar() { }

[#3 Domain] = 1:4-1:18
>--------------<
1| void bar() { }

[#3 Insertion delimiter] = " "


[#4 Content] =
[#4 Removal] = 1:13-1:13
><
1| void bar() { }

[#4 Domain] = 1:12-1:14
>--<
1| void bar() { }

[#4 Insertion delimiter] = " "


[#5 Content] =
[#5 Removal] = 1:16-1:17
>-<
1| void bar() { }

[#5 Domain] = 1:15-1:18
>---<
1| void bar() { }

[#5 Insertion delimiter] = " "
81 changes: 81 additions & 0 deletions data/fixtures/scopes/java/interior.function2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
class Foo {
public void bar() { }
}
---

[#1 Content] = 1:4-1:25
>---------------------<
1| public void bar() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| public void bar() { }
2| }
<

[#1 Domain] = 0:0-2:1
>-----------
0| class Foo {
1| public void bar() { }
2| }
-<

[#1 Insertion delimiter] = " "


[#2 Content] = 1:4-1:25
>---------------------<
1| public void bar() { }

[#2 Removal] = 0:11-2:0
>
0| class Foo {
1| public void bar() { }
2| }
<

[#2 Domain] = 0:10-2:1
>-
0| class Foo {
1| public void bar() { }
2| }
-<

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Removal] = 1:23-1:24
>-<
1| public void bar() { }

[#3 Domain] = 1:4-1:25
>---------------------<
1| public void bar() { }

[#3 Insertion delimiter] = " "


[#4 Content] =
[#4 Removal] = 1:20-1:20
><
1| public void bar() { }

[#4 Domain] = 1:19-1:21
>--<
1| public void bar() { }

[#4 Insertion delimiter] = " "


[#5 Content] =
[#5 Removal] = 1:23-1:24
>-<
1| public void bar() { }

[#5 Domain] = 1:22-1:25
>---<
1| public void bar() { }

[#5 Insertion delimiter] = " "
99 changes: 99 additions & 0 deletions data/fixtures/scopes/java/interior.if.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
if (true) { }
else if (false) { }
else { }
---

[#1 Content] =
[#1 Removal] = 0:11-0:12
>-<
0| if (true) { }

[#1 Domain] = 0:0-0:13
>-------------<
0| if (true) { }

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:4-0:8
>----<
0| if (true) { }

[#2 Domain] = 0:3-0:9
>------<
0| if (true) { }

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Removal] = 0:11-0:12
>-<
0| if (true) { }

[#3 Domain] = 0:10-0:13
>---<
0| if (true) { }

[#3 Insertion delimiter] = " "


[#4 Content] =
[#4 Removal] = 1:17-1:18
>-<
1| else if (false) { }

[#4 Domain] = 1:0-1:19
>-------------------<
1| else if (false) { }

[#4 Insertion delimiter] = " "


[#5 Content] =
[#5 Removal] = 1:9-1:14
>-----<
1| else if (false) { }

[#5 Domain] = 1:8-1:15
>-------<
1| else if (false) { }

[#5 Insertion delimiter] = " "


[#6 Content] =
[#6 Removal] = 1:17-1:18
>-<
1| else if (false) { }

[#6 Domain] = 1:16-1:19
>---<
1| else if (false) { }

[#6 Insertion delimiter] = " "


[#7 Content] =
[#7 Removal] = 2:6-2:7
>-<
2| else { }

[#7 Domain] = 2:0-2:8
>--------<
2| else { }

[#7 Insertion delimiter] = " "


[#8 Content] =
[#8 Removal] = 2:6-2:7
>-<
2| else { }

[#8 Domain] = 2:5-2:8
>---<
2| else { }

[#8 Insertion delimiter] = " "
37 changes: 37 additions & 0 deletions data/fixtures/scopes/java/interior.lambda.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
() -> { }
---

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

[#1 Domain] = 0:0-0:2
>--<
0| () -> { }

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:7-0:8
>-<
0| () -> { }

[#2 Domain] = 0:0-0:9
>---------<
0| () -> { }

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Removal] = 0:7-0:8
>-<
0| () -> { }

[#3 Domain] = 0:6-0:9
>---<
0| () -> { }

[#3 Insertion delimiter] = " "
25 changes: 25 additions & 0 deletions data/fixtures/scopes/java/interior.lambda2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
() -> 0;
---

[#1 Content] =
[#1 Removal] = 0:1-0:1
><
0| () -> 0;

[#1 Domain] = 0:0-0:2
>--<
0| () -> 0;

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:6-0:7
>-<
0| () -> 0;

[#2 Domain] = 0:0-0:7
>-------<
0| () -> 0;

[#2 Insertion delimiter] = " "
Loading
Loading