diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0076_function_where_clause.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0076_function_where_clause.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0076_function_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0076_function_where_clause.txt new file mode 100644 index 000000000..b58d09e35 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0076_function_where_clause.txt | |||
@@ -0,0 +1,37 @@ | |||
1 | SOURCE_FILE@[0; 29) | ||
2 | FN_DEF@[0; 28) | ||
3 | FN_KW@[0; 2) | ||
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) | ||
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 | PATH_TYPE@[21; 25) | ||
29 | PATH@[21; 25) | ||
30 | PATH_SEGMENT@[21; 25) | ||
31 | NAME_REF@[21; 25) | ||
32 | IDENT@[21; 25) "Copy" | ||
33 | WHITESPACE@[25; 26) | ||
34 | BLOCK@[26; 28) | ||
35 | L_CURLY@[26; 27) | ||
36 | R_CURLY@[27; 28) | ||
37 | WHITESPACE@[28; 29) | ||