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: 31 additions & 0 deletions data/fixtures/scopes/c/interior.class.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
struct aaa { int bbb; };
---

[#1 Content] = 0:13-0:21
>--------<
0| struct aaa { int bbb; };

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

[#1 Domain] = 0:0-0:24
>------------------------<
0| struct aaa { int bbb; };

[#1 Insertion delimiter] = " "


[#2 Content] = 0:13-0:21
>--------<
0| struct aaa { int bbb; };

[#2 Removal] = 0:12-0:22
>----------<
0| struct aaa { int bbb; };

[#2 Domain] = 0:11-0:23
>------------<
0| struct aaa { int bbb; };

[#2 Insertion delimiter] = " "
31 changes: 31 additions & 0 deletions data/fixtures/scopes/c/interior.class2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
typedef struct { int fff; } ggg;
---

[#1 Content] = 0:17-0:25
>--------<
0| typedef struct { int fff; } ggg;

[#1 Removal] = 0:16-0:26
>----------<
0| typedef struct { int fff; } ggg;

[#1 Domain] = 0:0-0:32
>--------------------------------<
0| typedef struct { int fff; } ggg;

[#1 Insertion delimiter] = " "


[#2 Content] = 0:17-0:25
>--------<
0| typedef struct { int fff; } ggg;

[#2 Removal] = 0:16-0:26
>----------<
0| typedef struct { int fff; } ggg;

[#2 Domain] = 0:15-0:27
>------------<
0| typedef struct { int fff; } ggg;

[#2 Insertion delimiter] = " "
31 changes: 31 additions & 0 deletions data/fixtures/scopes/c/interior.class3.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
union bbb { int ccc; };
---

[#1 Content] = 0:12-0:20
>--------<
0| union bbb { int ccc; };

[#1 Removal] = 0:11-0:21
>----------<
0| union bbb { int ccc; };

[#1 Domain] = 0:0-0:23
>-----------------------<
0| union bbb { int ccc; };

[#1 Insertion delimiter] = " "


[#2 Content] = 0:12-0:20
>--------<
0| union bbb { int ccc; };

[#2 Removal] = 0:11-0:21
>----------<
0| union bbb { int ccc; };

[#2 Domain] = 0:10-0:22
>------------<
0| union bbb { int ccc; };

[#2 Insertion delimiter] = " "
31 changes: 31 additions & 0 deletions data/fixtures/scopes/c/interior.class4.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
typedef union { int hhh; } iii;
---

[#1 Content] = 0:16-0:24
>--------<
0| typedef union { int hhh; } iii;

[#1 Removal] = 0:15-0:25
>----------<
0| typedef union { int hhh; } iii;

[#1 Domain] = 0:0-0:31
>-------------------------------<
0| typedef union { int hhh; } iii;

[#1 Insertion delimiter] = " "


[#2 Content] = 0:16-0:24
>--------<
0| typedef union { int hhh; } iii;

[#2 Removal] = 0:15-0:25
>----------<
0| typedef union { int hhh; } iii;

[#2 Domain] = 0:14-0:26
>------------<
0| typedef union { int hhh; } iii;

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

[#1 Content] = 0:11-0:19
>--------<
0| enum ccc { ddd, eee };

[#1 Removal] = 0:10-0:20
>----------<
0| enum ccc { ddd, eee };

[#1 Domain] = 0:0-0:22
>----------------------<
0| enum ccc { ddd, eee };

[#1 Insertion delimiter] = " "


[#2 Content] = 0:11-0:19
>--------<
0| enum ccc { ddd, eee };

[#2 Removal] = 0:10-0:20
>----------<
0| enum ccc { ddd, eee };

[#2 Domain] = 0:9-0:21
>------------<
0| enum ccc { ddd, eee };

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

[#1 Content] = 0:15-0:23
>--------<
0| typedef enum { jjj, kkk } lll;

[#1 Removal] = 0:14-0:24
>----------<
0| typedef enum { jjj, kkk } lll;

[#1 Domain] = 0:0-0:30
>------------------------------<
0| typedef enum { jjj, kkk } lll;

[#1 Insertion delimiter] = " "


[#2 Content] = 0:15-0:23
>--------<
0| typedef enum { jjj, kkk } lll;

[#2 Removal] = 0:14-0:24
>----------<
0| typedef enum { jjj, kkk } lll;

[#2 Domain] = 0:13-0:25
>------------<
0| typedef enum { jjj, kkk } lll;

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

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

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

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:9-0:9
><
0| void foo() { }

[#2 Domain] = 0:8-0:10
>--<
0| void foo() { }

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Removal] = 0:12-0:13
>-<
0| void foo() { }

[#3 Domain] = 0:11-0:14
>---<
0| void foo() { }

[#3 Insertion delimiter] = " "
37 changes: 37 additions & 0 deletions data/fixtures/scopes/c/interior.function2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
void NS::foo() { }
---

[#1 Content] =
[#1 Removal] = 0:16-0:17
>-<
0| void NS::foo() { }

[#1 Domain] = 0:0-0:18
>------------------<
0| void NS::foo() { }

[#1 Insertion delimiter] = " "


[#2 Content] =
[#2 Removal] = 0:13-0:13
><
0| void NS::foo() { }

[#2 Domain] = 0:12-0:14
>--<
0| void NS::foo() { }

[#2 Insertion delimiter] = " "


[#3 Content] =
[#3 Removal] = 0:16-0:17
>-<
0| void NS::foo() { }

[#3 Domain] = 0:15-0:18
>---<
0| void NS::foo() { }

[#3 Insertion delimiter] = " "
99 changes: 99 additions & 0 deletions data/fixtures/scopes/c/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] = " "
Loading
Loading