diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0032_where_for.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0032_where_for.rast | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast b/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast new file mode 100644 index 000000000..3a333480e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast | |||
@@ -0,0 +1,91 @@ | |||
1 | SOURCE_FILE@[0; 116) | ||
2 | FN_DEF@[0; 115) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 21) | ||
6 | IDENT@[3; 21) "test_serialization" | ||
7 | TYPE_PARAM_LIST@[21; 26) | ||
8 | L_ANGLE@[21; 22) "<" | ||
9 | TYPE_PARAM@[22; 25) | ||
10 | NAME@[22; 25) | ||
11 | IDENT@[22; 25) "SER" | ||
12 | R_ANGLE@[25; 26) ">" | ||
13 | PARAM_LIST@[26; 28) | ||
14 | L_PAREN@[26; 27) "(" | ||
15 | R_PAREN@[27; 28) ")" | ||
16 | WHITESPACE@[28; 29) "\n" | ||
17 | WHERE_CLAUSE@[29; 112) | ||
18 | WHERE_KW@[29; 34) "where" | ||
19 | WHITESPACE@[34; 39) "\n " | ||
20 | WHERE_PRED@[39; 111) | ||
21 | PATH_TYPE@[39; 42) | ||
22 | PATH@[39; 42) | ||
23 | PATH_SEGMENT@[39; 42) | ||
24 | NAME_REF@[39; 42) | ||
25 | IDENT@[39; 42) "SER" | ||
26 | COLON@[42; 43) ":" | ||
27 | WHITESPACE@[43; 44) " " | ||
28 | TYPE_BOUND_LIST@[44; 111) | ||
29 | TYPE_BOUND@[44; 53) | ||
30 | PATH_TYPE@[44; 53) | ||
31 | PATH@[44; 53) | ||
32 | PATH_SEGMENT@[44; 53) | ||
33 | NAME_REF@[44; 53) | ||
34 | IDENT@[44; 53) "Serialize" | ||
35 | WHITESPACE@[53; 54) " " | ||
36 | PLUS@[54; 55) "+" | ||
37 | WHITESPACE@[55; 56) " " | ||
38 | TYPE_BOUND@[56; 81) | ||
39 | FOR_TYPE@[56; 81) | ||
40 | FOR_KW@[56; 59) "for" | ||
41 | TYPE_PARAM_LIST@[59; 64) | ||
42 | L_ANGLE@[59; 60) "<" | ||
43 | LIFETIME_PARAM@[60; 63) | ||
44 | LIFETIME@[60; 63) "\'de" | ||
45 | R_ANGLE@[63; 64) ">" | ||
46 | WHITESPACE@[64; 65) " " | ||
47 | PATH_TYPE@[65; 81) | ||
48 | PATH@[65; 81) | ||
49 | PATH_SEGMENT@[65; 81) | ||
50 | NAME_REF@[65; 76) | ||
51 | IDENT@[65; 76) "Deserialize" | ||
52 | TYPE_ARG_LIST@[76; 81) | ||
53 | L_ANGLE@[76; 77) "<" | ||
54 | LIFETIME_ARG@[77; 80) | ||
55 | LIFETIME@[77; 80) "\'de" | ||
56 | R_ANGLE@[80; 81) ">" | ||
57 | WHITESPACE@[81; 82) " " | ||
58 | PLUS@[82; 83) "+" | ||
59 | WHITESPACE@[83; 84) " " | ||
60 | TYPE_BOUND@[84; 93) | ||
61 | PATH_TYPE@[84; 93) | ||
62 | PATH@[84; 93) | ||
63 | PATH_SEGMENT@[84; 93) | ||
64 | NAME_REF@[84; 93) | ||
65 | IDENT@[84; 93) "PartialEq" | ||
66 | WHITESPACE@[93; 94) " " | ||
67 | PLUS@[94; 95) "+" | ||
68 | WHITESPACE@[95; 96) " " | ||
69 | TYPE_BOUND@[96; 111) | ||
70 | PATH_TYPE@[96; 111) | ||
71 | PATH@[96; 111) | ||
72 | PATH@[96; 104) | ||
73 | PATH@[96; 99) | ||
74 | PATH_SEGMENT@[96; 99) | ||
75 | NAME_REF@[96; 99) | ||
76 | IDENT@[96; 99) "std" | ||
77 | COLONCOLON@[99; 101) "::" | ||
78 | PATH_SEGMENT@[101; 104) | ||
79 | NAME_REF@[101; 104) | ||
80 | IDENT@[101; 104) "fmt" | ||
81 | COLONCOLON@[104; 106) "::" | ||
82 | PATH_SEGMENT@[106; 111) | ||
83 | NAME_REF@[106; 111) | ||
84 | IDENT@[106; 111) "Debug" | ||
85 | COMMA@[111; 112) "," | ||
86 | WHITESPACE@[112; 113) "\n" | ||
87 | BLOCK_EXPR@[113; 115) | ||
88 | BLOCK@[113; 115) | ||
89 | L_CURLY@[113; 114) "{" | ||
90 | R_CURLY@[114; 115) "}" | ||
91 | WHITESPACE@[115; 116) "\n" | ||