diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/inline/ok/0006_self_param.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0006_self_param.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0006_self_param.txt | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0006_self_param.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0006_self_param.txt deleted file mode 100644 index 8e210a6ca..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0006_self_param.txt +++ /dev/null | |||
@@ -1,116 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 128) | ||
2 | IMPL_BLOCK@[0; 127) | ||
3 | IMPL_KW@[0; 4) "impl" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | PATH_TYPE@[5; 6) | ||
6 | PATH@[5; 6) | ||
7 | PATH_SEGMENT@[5; 6) | ||
8 | NAME_REF@[5; 6) | ||
9 | IDENT@[5; 6) "S" | ||
10 | WHITESPACE@[6; 7) " " | ||
11 | ITEM_LIST@[7; 127) | ||
12 | L_CURLY@[7; 8) "{" | ||
13 | WHITESPACE@[8; 13) "\n " | ||
14 | FN_DEF@[13; 26) | ||
15 | FN_KW@[13; 15) "fn" | ||
16 | WHITESPACE@[15; 16) " " | ||
17 | NAME@[16; 17) | ||
18 | IDENT@[16; 17) "a" | ||
19 | PARAM_LIST@[17; 23) | ||
20 | L_PAREN@[17; 18) "(" | ||
21 | SELF_PARAM@[18; 22) | ||
22 | SELF_KW@[18; 22) "self" | ||
23 | R_PAREN@[22; 23) ")" | ||
24 | WHITESPACE@[23; 24) " " | ||
25 | BLOCK@[24; 26) | ||
26 | L_CURLY@[24; 25) "{" | ||
27 | R_CURLY@[25; 26) "}" | ||
28 | WHITESPACE@[26; 31) "\n " | ||
29 | FN_DEF@[31; 46) | ||
30 | FN_KW@[31; 33) "fn" | ||
31 | WHITESPACE@[33; 34) " " | ||
32 | NAME@[34; 35) | ||
33 | IDENT@[34; 35) "b" | ||
34 | PARAM_LIST@[35; 43) | ||
35 | L_PAREN@[35; 36) "(" | ||
36 | SELF_PARAM@[36; 41) | ||
37 | AMP@[36; 37) "&" | ||
38 | SELF_KW@[37; 41) "self" | ||
39 | COMMA@[41; 42) "," | ||
40 | R_PAREN@[42; 43) ")" | ||
41 | WHITESPACE@[43; 44) " " | ||
42 | BLOCK@[44; 46) | ||
43 | L_CURLY@[44; 45) "{" | ||
44 | R_CURLY@[45; 46) "}" | ||
45 | WHITESPACE@[46; 51) "\n " | ||
46 | FN_DEF@[51; 69) | ||
47 | FN_KW@[51; 53) "fn" | ||
48 | WHITESPACE@[53; 54) " " | ||
49 | NAME@[54; 55) | ||
50 | IDENT@[54; 55) "c" | ||
51 | PARAM_LIST@[55; 66) | ||
52 | L_PAREN@[55; 56) "(" | ||
53 | SELF_PARAM@[56; 64) | ||
54 | AMP@[56; 57) "&" | ||
55 | LIFETIME@[57; 59) "\'a" | ||
56 | WHITESPACE@[59; 60) " " | ||
57 | SELF_KW@[60; 64) "self" | ||
58 | COMMA@[64; 65) "," | ||
59 | R_PAREN@[65; 66) ")" | ||
60 | WHITESPACE@[66; 67) " " | ||
61 | BLOCK@[67; 69) | ||
62 | L_CURLY@[67; 68) "{" | ||
63 | R_CURLY@[68; 69) "}" | ||
64 | WHITESPACE@[69; 74) "\n " | ||
65 | FN_DEF@[74; 103) | ||
66 | FN_KW@[74; 76) "fn" | ||
67 | WHITESPACE@[76; 77) " " | ||
68 | NAME@[77; 78) | ||
69 | IDENT@[77; 78) "d" | ||
70 | PARAM_LIST@[78; 100) | ||
71 | L_PAREN@[78; 79) "(" | ||
72 | SELF_PARAM@[79; 91) | ||
73 | AMP@[79; 80) "&" | ||
74 | LIFETIME@[80; 82) "\'a" | ||
75 | WHITESPACE@[82; 83) " " | ||
76 | MUT_KW@[83; 86) "mut" | ||
77 | WHITESPACE@[86; 87) " " | ||
78 | SELF_KW@[87; 91) "self" | ||
79 | COMMA@[91; 92) "," | ||
80 | WHITESPACE@[92; 93) " " | ||
81 | PARAM@[93; 99) | ||
82 | BIND_PAT@[93; 94) | ||
83 | NAME@[93; 94) | ||
84 | IDENT@[93; 94) "x" | ||
85 | COLON@[94; 95) ":" | ||
86 | WHITESPACE@[95; 96) " " | ||
87 | PATH_TYPE@[96; 99) | ||
88 | PATH@[96; 99) | ||
89 | PATH_SEGMENT@[96; 99) | ||
90 | NAME_REF@[96; 99) | ||
91 | IDENT@[96; 99) "i32" | ||
92 | R_PAREN@[99; 100) ")" | ||
93 | WHITESPACE@[100; 101) " " | ||
94 | BLOCK@[101; 103) | ||
95 | L_CURLY@[101; 102) "{" | ||
96 | R_CURLY@[102; 103) "}" | ||
97 | WHITESPACE@[103; 108) "\n " | ||
98 | FN_DEF@[108; 125) | ||
99 | FN_KW@[108; 110) "fn" | ||
100 | WHITESPACE@[110; 111) " " | ||
101 | NAME@[111; 112) | ||
102 | IDENT@[111; 112) "e" | ||
103 | PARAM_LIST@[112; 122) | ||
104 | L_PAREN@[112; 113) "(" | ||
105 | SELF_PARAM@[113; 121) | ||
106 | MUT_KW@[113; 116) "mut" | ||
107 | WHITESPACE@[116; 117) " " | ||
108 | SELF_KW@[117; 121) "self" | ||
109 | R_PAREN@[121; 122) ")" | ||
110 | WHITESPACE@[122; 123) " " | ||
111 | BLOCK@[123; 125) | ||
112 | L_CURLY@[123; 124) "{" | ||
113 | R_CURLY@[124; 125) "}" | ||
114 | WHITESPACE@[125; 126) "\n" | ||
115 | R_CURLY@[126; 127) "}" | ||
116 | WHITESPACE@[127; 128) "\n" | ||