Skip to content

Commit edeee14

Browse files
Add missing php scope facets (#3195)
1 parent cf70ad0 commit edeee14

200 files changed

Lines changed: 5205 additions & 149 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

data/fixtures/scopes/java/type/type.return.scope

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
function() {};
3+
---
4+
5+
[Content] =
6+
[Removal] =
7+
[Domain] = 1:0-1:13
8+
>-------------<
9+
1| function() {};
10+
11+
[Insertion delimiter] = "\n"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
fn() => 0;
3+
---
4+
5+
[Content] =
6+
[Removal] =
7+
[Domain] = 1:0-1:9
8+
>---------<
9+
1| fn() => 0;
10+
11+
[Insertion delimiter] = "\n"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
try {}
3+
catch (Exception $e) {}
4+
---
5+
6+
[Content] =
7+
[Removal] =
8+
[Domain] = 2:7-2:19
9+
>------------<
10+
2| catch (Exception $e) {}
11+
12+
[Insertion delimiter] = " "
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
function($aaa, $bbb) {};
3+
---
4+
5+
[Content] = 1:9-1:19
6+
>----------<
7+
1| function($aaa, $bbb) {};
8+
9+
[Domain] = 1:0-1:23
10+
>-----------------------<
11+
1| function($aaa, $bbb) {};
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
function(
3+
$aaa,
4+
$bbb
5+
) {};
6+
---
7+
8+
[#1 Content] =
9+
[#1 Domain] = 2:4-2:8
10+
>----<
11+
2| $aaa,
12+
13+
[#1 Removal] = 2:4-3:4
14+
>-----
15+
2| $aaa,
16+
3| $bbb
17+
----<
18+
19+
[#1 Trailing delimiter] = 2:8-3:4
20+
>-
21+
2| $aaa,
22+
3| $bbb
23+
----<
24+
25+
[#1 Insertion delimiter] = ",\n"
26+
27+
28+
[#2 Content] =
29+
[#2 Domain] = 3:4-3:8
30+
>----<
31+
3| $bbb
32+
33+
[#2 Removal] = 2:8-3:8
34+
>-
35+
2| $aaa,
36+
3| $bbb
37+
--------<
38+
39+
[#2 Leading delimiter] = 2:8-3:4
40+
>-
41+
2| $aaa,
42+
3| $bbb
43+
----<
44+
45+
[#2 Insertion delimiter] = ",\n"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
function($aaa, $bbb) {};
3+
---
4+
5+
[#1 Content] =
6+
[#1 Domain] = 1:9-1:13
7+
>----<
8+
1| function($aaa, $bbb) {};
9+
10+
[#1 Removal] = 1:9-1:15
11+
>------<
12+
1| function($aaa, $bbb) {};
13+
14+
[#1 Trailing delimiter] = 1:13-1:15
15+
>--<
16+
1| function($aaa, $bbb) {};
17+
18+
[#1 Insertion delimiter] = ", "
19+
20+
21+
[#2 Content] =
22+
[#2 Domain] = 1:15-1:19
23+
>----<
24+
1| function($aaa, $bbb) {};
25+
26+
[#2 Removal] = 1:13-1:19
27+
>------<
28+
1| function($aaa, $bbb) {};
29+
30+
[#2 Leading delimiter] = 1:13-1:15
31+
>--<
32+
1| function($aaa, $bbb) {};
33+
34+
[#2 Insertion delimiter] = ", "
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
new Foo();
3+
---
4+
5+
[Content] =
6+
[Removal] = 1:8-1:8
7+
><
8+
1| new Foo();
9+
10+
[Domain] = 1:0-1:9
11+
>---------<
12+
1| new Foo();
13+
14+
[Insertion delimiter] = ""
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
new Foo(
3+
aaa,
4+
bbb
5+
);
6+
---
7+
8+
[Content] = 2:4-3:7
9+
>----
10+
2| aaa,
11+
3| bbb
12+
-------<
13+
14+
[Removal] = 1:8-4:0
15+
>
16+
1| new Foo(
17+
2| aaa,
18+
3| bbb
19+
4| );
20+
<
21+
22+
[Leading delimiter] = 2:0-2:4
23+
>----<
24+
2| aaa,
25+
26+
[Domain] = 1:0-4:1
27+
>--------
28+
1| new Foo(
29+
2| aaa,
30+
3| bbb
31+
4| );
32+
-<
33+
34+
[Insertion delimiter] = ",\n"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
new Foo(aaa, bbb);
3+
---
4+
5+
[Content] =
6+
[Removal] = 1:8-1:16
7+
>--------<
8+
1| new Foo(aaa, bbb);
9+
10+
[Domain] = 1:0-1:17
11+
>-----------------<
12+
1| new Foo(aaa, bbb);
13+
14+
[Insertion delimiter] = ", "

0 commit comments

Comments
 (0)