diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast new file mode 100644 index 000000000..6c3b17868 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast | |||
@@ -0,0 +1,50 @@ | |||
1 | SOURCE_FILE@[0; 57) | ||
2 | EXTERN_BLOCK@[0; 56) | ||
3 | ABI@[0; 10) | ||
4 | EXTERN_KW@[0; 6) "extern" | ||
5 | WHITESPACE@[6; 7) " " | ||
6 | STRING@[7; 10) "\"C\"" | ||
7 | WHITESPACE@[10; 11) " " | ||
8 | EXTERN_ITEM_LIST@[11; 56) | ||
9 | L_CURLY@[11; 12) "{" | ||
10 | WHITESPACE@[12; 13) " " | ||
11 | FN_DEF@[13; 54) | ||
12 | FN_KW@[13; 15) "fn" | ||
13 | WHITESPACE@[15; 16) " " | ||
14 | NAME@[16; 22) | ||
15 | IDENT@[16; 22) "printf" | ||
16 | PARAM_LIST@[22; 46) | ||
17 | L_PAREN@[22; 23) "(" | ||
18 | PARAM@[23; 40) | ||
19 | BIND_PAT@[23; 29) | ||
20 | NAME@[23; 29) | ||
21 | IDENT@[23; 29) "format" | ||
22 | COLON@[29; 30) ":" | ||
23 | WHITESPACE@[30; 31) " " | ||
24 | POINTER_TYPE@[31; 40) | ||
25 | STAR@[31; 32) "*" | ||
26 | CONST_KW@[32; 37) "const" | ||
27 | WHITESPACE@[37; 38) " " | ||
28 | PATH_TYPE@[38; 40) | ||
29 | PATH@[38; 40) | ||
30 | PATH_SEGMENT@[38; 40) | ||
31 | NAME_REF@[38; 40) | ||
32 | IDENT@[38; 40) "i8" | ||
33 | COMMA@[40; 41) "," | ||
34 | WHITESPACE@[41; 42) " " | ||
35 | PARAM@[42; 45) | ||
36 | DOTDOTDOT@[42; 45) "..." | ||
37 | R_PAREN@[45; 46) ")" | ||
38 | WHITESPACE@[46; 47) " " | ||
39 | RET_TYPE@[47; 53) | ||
40 | THIN_ARROW@[47; 49) "->" | ||
41 | WHITESPACE@[49; 50) " " | ||
42 | PATH_TYPE@[50; 53) | ||
43 | PATH@[50; 53) | ||
44 | PATH_SEGMENT@[50; 53) | ||
45 | NAME_REF@[50; 53) | ||
46 | IDENT@[50; 53) "i32" | ||
47 | SEMI@[53; 54) ";" | ||
48 | WHITESPACE@[54; 55) " " | ||
49 | R_CURLY@[55; 56) "}" | ||
50 | WHITESPACE@[56; 57) "\n" | ||