rust/crates/syntax/test_data/parser/ok/0063_variadic_fun.rast

134 lines
3.9 KiB
Plaintext
Raw Normal View History

2020-04-24 16:51:02 -05:00
SOURCE_FILE@0..126
EXTERN_BLOCK@0..125
ABI@0..10
EXTERN_KW@0..6 "extern"
WHITESPACE@6..7 " "
STRING@7..10 "\"C\""
WHITESPACE@10..11 " "
EXTERN_ITEM_LIST@11..125
L_CURLY@11..12 "{"
WHITESPACE@12..17 "\n "
2020-07-30 07:51:08 -05:00
FN@17..40
2020-04-24 16:51:02 -05:00
FN_KW@17..19 "fn"
WHITESPACE@19..20 " "
NAME@20..21
IDENT@20..21 "a"
PARAM_LIST@21..39
L_PAREN@21..22 "("
PARAM@22..32
2020-07-31 13:07:21 -05:00
WILDCARD_PAT@22..23
2020-04-24 16:51:02 -05:00
UNDERSCORE@22..23 "_"
COLON@23..24 ":"
WHITESPACE@24..25 " "
2020-08-01 06:47:19 -05:00
PTR_TYPE@25..32
2020-04-24 16:51:02 -05:00
STAR@25..26 "*"
MUT_KW@26..29 "mut"
WHITESPACE@29..30 " "
PATH_TYPE@30..32
PATH@30..32
PATH_SEGMENT@30..32
NAME_REF@30..32
IDENT@30..32 "u8"
COMMA@32..33 ","
WHITESPACE@33..34 " "
PARAM@34..37
DOT3@34..37 "..."
COMMA@37..38 ","
R_PAREN@38..39 ")"
SEMICOLON@39..40 ";"
WHITESPACE@40..45 "\n "
2020-07-30 07:51:08 -05:00
FN@45..70
2020-04-24 16:51:02 -05:00
FN_KW@45..47 "fn"
WHITESPACE@47..48 " "
NAME@48..49
IDENT@48..49 "b"
PARAM_LIST@49..69
L_PAREN@49..50 "("
PARAM@50..60
2020-07-31 13:07:21 -05:00
WILDCARD_PAT@50..51
2020-04-24 16:51:02 -05:00
UNDERSCORE@50..51 "_"
COLON@51..52 ":"
WHITESPACE@52..53 " "
2020-08-01 06:47:19 -05:00
PTR_TYPE@53..60
2020-04-24 16:51:02 -05:00
STAR@53..54 "*"
MUT_KW@54..57 "mut"
WHITESPACE@57..58 " "
PATH_TYPE@58..60
PATH@58..60
PATH_SEGMENT@58..60
NAME_REF@58..60
IDENT@58..60 "u8"
COMMA@60..61 ","
WHITESPACE@61..62 " "
PARAM@62..68
2020-07-31 13:07:21 -05:00
WILDCARD_PAT@62..63
2020-04-24 16:51:02 -05:00
UNDERSCORE@62..63 "_"
COLON@63..64 ":"
WHITESPACE@64..65 " "
DOT3@65..68 "..."
R_PAREN@68..69 ")"
SEMICOLON@69..70 ";"
WHITESPACE@70..75 "\n "
2020-07-30 07:51:08 -05:00
FN@75..123
2020-04-24 16:51:02 -05:00
FN_KW@75..77 "fn"
WHITESPACE@77..78 " "
NAME@78..79
IDENT@78..79 "c"
PARAM_LIST@79..122
L_PAREN@79..80 "("
PARAM@80..90
2020-07-31 13:07:21 -05:00
WILDCARD_PAT@80..81
2020-04-24 16:51:02 -05:00
UNDERSCORE@80..81 "_"
COLON@81..82 ":"
WHITESPACE@82..83 " "
2020-08-01 06:47:19 -05:00
PTR_TYPE@83..90
2020-04-24 16:51:02 -05:00
STAR@83..84 "*"
MUT_KW@84..87 "mut"
WHITESPACE@87..88 " "
PATH_TYPE@88..90
PATH@88..90
PATH_SEGMENT@88..90
NAME_REF@88..90
IDENT@88..90 "u8"
COMMA@90..91 ","
WHITESPACE@91..92 " "
PARAM@92..120
ATTR@92..105
POUND@92..93 "#"
L_BRACK@93..94 "["
PATH@94..97
PATH_SEGMENT@94..97
NAME_REF@94..97
IDENT@94..97 "cfg"
TOKEN_TREE@97..104
L_PAREN@97..98 "("
IDENT@98..103 "never"
R_PAREN@103..104 ")"
R_BRACK@104..105 "]"
WHITESPACE@105..106 " "
2020-04-24 16:51:02 -05:00
SLICE_PAT@106..115
L_BRACK@106..107 "["
2020-07-31 13:09:09 -05:00
IDENT_PAT@107..108
2020-04-24 16:51:02 -05:00
NAME@107..108
IDENT@107..108 "w"
COMMA@108..109 ","
WHITESPACE@109..110 " "
2020-07-31 13:09:09 -05:00
IDENT_PAT@110..111
2020-04-24 16:51:02 -05:00
NAME@110..111
IDENT@110..111 "t"
COMMA@111..112 ","
WHITESPACE@112..113 " "
2020-07-31 13:09:09 -05:00
IDENT_PAT@113..114
2020-04-24 16:51:02 -05:00
NAME@113..114
IDENT@113..114 "f"
R_BRACK@114..115 "]"
COLON@115..116 ":"
WHITESPACE@116..117 " "
DOT3@117..120 "..."
COMMA@120..121 ","
R_PAREN@121..122 ")"
SEMICOLON@122..123 ";"
WHITESPACE@123..124 "\n"
R_CURLY@124..125 "}"
WHITESPACE@125..126 "\n"