diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast new file mode 100644 index 000000000..025faf5ca --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast | |||
@@ -0,0 +1,55 @@ | |||
1 | SOURCE_FILE@[0; 46) | ||
2 | TYPE_ALIAS_DEF@[0; 45) | ||
3 | TYPE_KW@[0; 4) "type" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "A" | ||
7 | WHITESPACE@[6; 7) " " | ||
8 | EQ@[7; 8) "=" | ||
9 | WHITESPACE@[8; 9) " " | ||
10 | PATH_TYPE@[9; 44) | ||
11 | PATH@[9; 44) | ||
12 | PATH_SEGMENT@[9; 44) | ||
13 | NAME_REF@[9; 10) | ||
14 | IDENT@[9; 10) "B" | ||
15 | TYPE_ARG_LIST@[10; 44) | ||
16 | L_ANGLE@[10; 11) "<" | ||
17 | LIFETIME_ARG@[11; 18) | ||
18 | LIFETIME@[11; 18) "\'static" | ||
19 | COMMA@[18; 19) "," | ||
20 | WHITESPACE@[19; 20) " " | ||
21 | TYPE_ARG@[20; 23) | ||
22 | PATH_TYPE@[20; 23) | ||
23 | PATH@[20; 23) | ||
24 | PATH_SEGMENT@[20; 23) | ||
25 | NAME_REF@[20; 23) | ||
26 | IDENT@[20; 23) "i32" | ||
27 | COMMA@[23; 24) "," | ||
28 | WHITESPACE@[24; 25) " " | ||
29 | CONST_ARG@[25; 26) | ||
30 | INT_NUMBER@[25; 26) "1" | ||
31 | COMMA@[26; 27) "," | ||
32 | WHITESPACE@[27; 28) " " | ||
33 | CONST_ARG@[28; 33) | ||
34 | BLOCK_EXPR@[28; 33) | ||
35 | BLOCK@[28; 33) | ||
36 | L_CURLY@[28; 29) "{" | ||
37 | WHITESPACE@[29; 30) " " | ||
38 | LITERAL@[30; 31) | ||
39 | INT_NUMBER@[30; 31) "2" | ||
40 | WHITESPACE@[31; 32) " " | ||
41 | R_CURLY@[32; 33) "}" | ||
42 | COMMA@[33; 34) "," | ||
43 | WHITESPACE@[34; 35) " " | ||
44 | ASSOC_TYPE_ARG@[35; 43) | ||
45 | NAME_REF@[35; 39) | ||
46 | IDENT@[35; 39) "Item" | ||
47 | EQ@[39; 40) "=" | ||
48 | PATH_TYPE@[40; 43) | ||
49 | PATH@[40; 43) | ||
50 | PATH_SEGMENT@[40; 43) | ||
51 | NAME_REF@[40; 43) | ||
52 | IDENT@[40; 43) "u64" | ||
53 | R_ANGLE@[43; 44) ">" | ||
54 | SEMI@[44; 45) ";" | ||
55 | WHITESPACE@[45; 46) "\n" | ||