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/test_data/parser/inline/ok/0007_type_param_bounds.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.txt b/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.txt new file mode 100644 index 000000000..a7186c7a8 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | SOURCE_FILE@[0; 35) | ||
2 | STRUCT_DEF@[0; 34) | ||
3 | STRUCT_KW@[0; 6) "struct" | ||
4 | WHITESPACE@[6; 7) " " | ||
5 | NAME@[7; 8) | ||
6 | IDENT@[7; 8) "S" | ||
7 | TYPE_PARAM_LIST@[8; 33) | ||
8 | L_ANGLE@[8; 9) "<" | ||
9 | TYPE_PARAM@[9; 32) | ||
10 | NAME@[9; 10) | ||
11 | IDENT@[9; 10) "T" | ||
12 | COLON@[10; 11) ":" | ||
13 | WHITESPACE@[11; 12) " " | ||
14 | TYPE_BOUND_LIST@[12; 32) | ||
15 | TYPE_BOUND@[12; 14) | ||
16 | LIFETIME@[12; 14) "\'a" | ||
17 | WHITESPACE@[14; 15) " " | ||
18 | PLUS@[15; 16) "+" | ||
19 | WHITESPACE@[16; 17) " " | ||
20 | TYPE_BOUND@[17; 23) | ||
21 | QUESTION@[17; 18) "?" | ||
22 | PATH_TYPE@[18; 23) | ||
23 | PATH@[18; 23) | ||
24 | PATH_SEGMENT@[18; 23) | ||
25 | NAME_REF@[18; 23) | ||
26 | IDENT@[18; 23) "Sized" | ||
27 | WHITESPACE@[23; 24) " " | ||
28 | PLUS@[24; 25) "+" | ||
29 | WHITESPACE@[25; 26) " " | ||
30 | TYPE_BOUND@[26; 32) | ||
31 | L_PAREN@[26; 27) "(" | ||
32 | PATH_TYPE@[27; 31) | ||
33 | PATH@[27; 31) | ||
34 | PATH_SEGMENT@[27; 31) | ||
35 | NAME_REF@[27; 31) | ||
36 | IDENT@[27; 31) "Copy" | ||
37 | R_PAREN@[31; 32) ")" | ||
38 | R_ANGLE@[32; 33) ">" | ||
39 | SEMI@[33; 34) ";" | ||
40 | WHITESPACE@[34; 35) "\n" | ||