rust/crates/syntax/test_data/parser/ok/0024_const_item.rast
2021-01-24 02:17:41 +01:00

39 lines
884 B
Plaintext

SOURCE_FILE@0..39
CONST@0..17
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"
CONST@18..38
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"