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
31 changes: 0 additions & 31 deletions data/fixtures/scopes/c/interior/interior.class5.scope

This file was deleted.

31 changes: 0 additions & 31 deletions data/fixtures/scopes/c/interior/interior.class6.scope

This file was deleted.

25 changes: 25 additions & 0 deletions data/fixtures/scopes/c/interior/interior.enum.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
enum Foo { };
---

[#1 Content] =
[#1 Removal] = 0:10-0:11
>-<
0| enum Foo { };

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

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:10-0:11
>-<
0| enum Foo { };

[#2 Domain] = 0:9-0:12
>---<
0| enum Foo { };

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

[#1 Content] =
[#1 Removal] = 0:14-0:15
>-<
0| typedef enum { } Foo;

[#1 Domain] = 0:0-0:21
>---------------------<
0| typedef enum { } Foo;

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:14-0:15
>-<
0| typedef enum { } Foo;

[#2 Domain] = 0:13-0:16
>---<
0| typedef enum { } Foo;

[#2 Insertion delimiter] = " "
24 changes: 24 additions & 0 deletions data/fixtures/scopes/c/name/name.enum.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
enum Foo {};
---

[Content] = 0:5-0:8
>---<
0| enum Foo {};

[Removal] = 0:5-0:9
>----<
0| enum Foo {};

[Leading delimiter] = 0:4-0:5
>-<
0| enum Foo {};

[Trailing delimiter] = 0:8-0:9
>-<
0| enum Foo {};

[Domain] = 0:0-0:12
>------------<
0| enum Foo {};

[Insertion delimiter] = " "
20 changes: 20 additions & 0 deletions data/fixtures/scopes/c/name/name.enum2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
typedef enum {} Foo;
---

[Content] = 0:16-0:19
>---<
0| typedef enum {} Foo;

[Removal] = 0:15-0:19
>----<
0| typedef enum {} Foo;

[Leading delimiter] = 0:15-0:16
>-<
0| typedef enum {} Foo;

[Domain] = 0:0-0:20
>--------------------<
0| typedef enum {} Foo;

[Insertion delimiter] = " "
97 changes: 97 additions & 0 deletions data/fixtures/scopes/c/name/name.field.enum.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
enum Foo {
bar = 0,
baz = 1,
bongo
}
---

[#1 Content] = 0:5-0:8
>---<
0| enum Foo {

[#1 Removal] = 0:5-0:9
>----<
0| enum Foo {

[#1 Leading delimiter] = 0:4-0:5
>-<
0| enum Foo {

[#1 Trailing delimiter] = 0:8-0:9
>-<
0| enum Foo {

[#1 Domain] = 0:0-4:1
>----------
0| enum Foo {
1| bar = 0,
2| baz = 1,
3| bongo
4| }
-<

[#1 Insertion delimiter] = " "


[#2 Content] = 1:4-1:7
>---<
1| bar = 0,

[#2 Removal] = 1:4-1:8
>----<
1| bar = 0,

[#2 Leading delimiter] = 1:0-1:4
>----<
1| bar = 0,

[#2 Trailing delimiter] = 1:7-1:8
>-<
1| bar = 0,

[#2 Domain] = 1:4-1:11
>-------<
1| bar = 0,

[#2 Insertion delimiter] = " "


[#3 Content] = 2:4-2:7
>---<
2| baz = 1,

[#3 Removal] = 2:4-2:8
>----<
2| baz = 1,

[#3 Leading delimiter] = 2:0-2:4
>----<
2| baz = 1,

[#3 Trailing delimiter] = 2:7-2:8
>-<
2| baz = 1,

[#3 Domain] = 2:4-2:11
>-------<
2| baz = 1,

[#3 Insertion delimiter] = " "


[#4 Content] =
[#4 Domain] = 3:4-3:9
>-----<
3| bongo

[#4 Removal] = 3:0-4:0
>---------
3| bongo
4| }
<

[#4 Leading delimiter] = 3:0-3:4
>----<
3| bongo

[#4 Insertion delimiter] = " "
13 changes: 13 additions & 0 deletions data/fixtures/scopes/c/name/name.iteration.enum.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
enum Foo { };
---

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


[#2 Range] =
[#2 Domain] = 0:10-0:11
>-<
0| enum Foo { };
10 changes: 10 additions & 0 deletions data/fixtures/scopes/c/statement.enum.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
enum Foo {};
---

[Content] =
[Removal] =
[Domain] = 0:0-0:12
>------------<
0| enum Foo {};

[Insertion delimiter] = "\n"
93 changes: 6 additions & 87 deletions data/fixtures/scopes/c/type/type.class.scope
Original file line number Diff line number Diff line change
@@ -1,91 +1,10 @@
struct aaa {};
union bbb {};
enum ccc {};

typedef struct {} ggg;
typedef union {} iii;
typedef enum {} lll;
struct Foo {};
---

[#1 Content] =
[#1 Domain] = 0:0-0:14
[Content] =
[Removal] =
[Domain] = 0:0-0:14
>--------------<
0| struct aaa {};

[#1 Removal] = 0:0-1:0
>--------------
0| struct aaa {};
1| union bbb {};
<

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Domain] = 1:0-1:13
>-------------<
1| union bbb {};

[#2 Removal] = 1:0-2:0
>-------------
1| union bbb {};
2| enum ccc {};
<

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Domain] = 2:0-2:12
>------------<
2| enum ccc {};

[#3 Removal] = 2:0-3:0
>------------
2| enum ccc {};
3|
<

[#3 Insertion delimiter] = " "


[#4 Content] =
[#4 Domain] = 4:0-4:22
>----------------------<
4| typedef struct {} ggg;

[#4 Removal] = 4:0-5:0
>----------------------
4| typedef struct {} ggg;
5| typedef union {} iii;
<

[#4 Insertion delimiter] = " "


[#5 Content] =
[#5 Domain] = 5:0-5:21
>---------------------<
5| typedef union {} iii;

[#5 Removal] = 5:0-6:0
>---------------------
5| typedef union {} iii;
6| typedef enum {} lll;
<

[#5 Insertion delimiter] = " "


[#6 Content] =
[#6 Domain] = 6:0-6:20
>--------------------<
6| typedef enum {} lll;

[#6 Removal] = 5:21-6:20
>
5| typedef union {} iii;
6| typedef enum {} lll;
--------------------<
0| struct Foo {};

[#6 Insertion delimiter] = " "
[Insertion delimiter] = " "
10 changes: 10 additions & 0 deletions data/fixtures/scopes/c/type/type.class2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
typedef struct {} Foo;
---

[Content] =
[Removal] =
[Domain] = 0:0-0:22
>----------------------<
0| typedef struct {} Foo;

[Insertion delimiter] = " "
Loading
Loading