rust/crates/syntax/test_data/parser/ok/0024_const_item.rast

60 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-04-24 16:51:02 -05:00
SOURCE_FILE@0..64
2020-07-30 11:02:20 -05:00
CONST@0..17
2020-04-24 16:51:02 -05:00
CONST_KW@0..5 "const"
WHITESPACE@5..6 " "
UNDERSCORE@6..7 "_"
COLON@7..8 ":"
WHITESPACE@8..9 " "
PATH_TYPE@9..12
PATH@9..12
PATH_SEGMENT@9..12
NAME_REF@9..12
IDENT@9..12 "u32"
WHITESPACE@12..13 " "
EQ@13..14 "="
WHITESPACE@14..15 " "
LITERAL@15..16
INT_NUMBER@15..16 "0"
SEMICOLON@16..17 ";"
WHITESPACE@17..18 "\n"
2020-07-30 11:02:20 -05:00
CONST@18..38
2020-04-24 16:51:02 -05:00
CONST_KW@18..23 "const"
WHITESPACE@23..24 " "
NAME@24..27
IDENT@24..27 "FOO"
COLON@27..28 ":"
WHITESPACE@28..29 " "
PATH_TYPE@29..32
PATH@29..32
PATH_SEGMENT@29..32
NAME_REF@29..32
IDENT@29..32 "u32"
WHITESPACE@32..33 " "
EQ@33..34 "="
WHITESPACE@34..35 " "
LITERAL@35..37
INT_NUMBER@35..37 "92"
SEMICOLON@37..38 ";"
WHITESPACE@38..39 "\n"
2020-07-30 11:02:20 -05:00
CONST@39..63
2020-04-24 16:51:02 -05:00
CONST_KW@39..44 "const"
WHITESPACE@44..45 " "
MUT_KW@45..48 "mut"
WHITESPACE@48..49 " "
NAME@49..52
IDENT@49..52 "BAR"
COLON@52..53 ":"
WHITESPACE@53..54 " "
PATH_TYPE@54..57
PATH@54..57
PATH_SEGMENT@54..57
NAME_REF@54..57
IDENT@54..57 "u32"
WHITESPACE@57..58 " "
EQ@58..59 "="
WHITESPACE@59..60 " "
LITERAL@60..62
INT_NUMBER@60..62 "62"
SEMICOLON@62..63 ";"
WHITESPACE@63..64 "\n"