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/0076_function_where_clause.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.txt b/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.txt new file mode 100644 index 000000000..32979c523 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | SOURCE_FILE@[0; 29) | ||
2 | FN_DEF@[0; 28) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | TYPE_PARAM_LIST@[6; 9) | ||
8 | L_ANGLE@[6; 7) "<" | ||
9 | TYPE_PARAM@[7; 8) | ||
10 | NAME@[7; 8) | ||
11 | IDENT@[7; 8) "T" | ||
12 | R_ANGLE@[8; 9) ">" | ||
13 | PARAM_LIST@[9; 11) | ||
14 | L_PAREN@[9; 10) "(" | ||
15 | R_PAREN@[10; 11) ")" | ||
16 | WHITESPACE@[11; 12) " " | ||
17 | WHERE_CLAUSE@[12; 25) | ||
18 | WHERE_KW@[12; 17) "where" | ||
19 | WHITESPACE@[17; 18) " " | ||
20 | WHERE_PRED@[18; 25) | ||
21 | PATH_TYPE@[18; 19) | ||
22 | PATH@[18; 19) | ||
23 | PATH_SEGMENT@[18; 19) | ||
24 | NAME_REF@[18; 19) | ||
25 | IDENT@[18; 19) "T" | ||
26 | COLON@[19; 20) ":" | ||
27 | WHITESPACE@[20; 21) " " | ||
28 | TYPE_BOUND_LIST@[21; 25) | ||
29 | TYPE_BOUND@[21; 25) | ||
30 | PATH_TYPE@[21; 25) | ||
31 | PATH@[21; 25) | ||
32 | PATH_SEGMENT@[21; 25) | ||
33 | NAME_REF@[21; 25) | ||
34 | IDENT@[21; 25) "Copy" | ||
35 | WHITESPACE@[25; 26) " " | ||
36 | BLOCK@[26; 28) | ||
37 | L_CURLY@[26; 27) "{" | ||
38 | R_CURLY@[27; 28) "}" | ||
39 | WHITESPACE@[28; 29) "\n" | ||