rust/crates/syntax/test_data/parser/ok/0007_extern_crate.rast

41 lines
978 B
Plaintext
Raw Normal View History

2020-04-24 16:51:02 -05:00
SOURCE_FILE@0..69
2020-07-30 05:33:05 -05:00
EXTERN_CRATE@0..17
2020-04-24 16:51:02 -05:00
EXTERN_KW@0..6 "extern"
WHITESPACE@6..7 " "
CRATE_KW@7..12 "crate"
WHITESPACE@12..13 " "
NAME_REF@13..16
IDENT@13..16 "foo"
SEMICOLON@16..17 ";"
WHITESPACE@17..18 "\n"
2020-07-30 05:33:05 -05:00
EXTERN_CRATE@18..42
2020-04-24 16:51:02 -05:00
EXTERN_KW@18..24 "extern"
WHITESPACE@24..25 " "
CRATE_KW@25..30 "crate"
WHITESPACE@30..31 " "
NAME_REF@31..34
IDENT@31..34 "foo"
WHITESPACE@34..35 " "
2020-07-30 05:01:14 -05:00
RENAME@35..41
2020-04-24 16:51:02 -05:00
AS_KW@35..37 "as"
WHITESPACE@37..38 " "
NAME@38..41
IDENT@38..41 "bar"
SEMICOLON@41..42 ";"
WHITESPACE@42..43 "\n"
2020-07-30 05:33:05 -05:00
EXTERN_CRATE@43..68
2020-04-24 16:51:02 -05:00
EXTERN_KW@43..49 "extern"
WHITESPACE@49..50 " "
CRATE_KW@50..55 "crate"
WHITESPACE@55..56 " "
NAME_REF@56..60
SELF_KW@56..60 "self"
2020-04-24 16:51:02 -05:00
WHITESPACE@60..61 " "
2020-07-30 05:01:14 -05:00
RENAME@61..67
2020-04-24 16:51:02 -05:00
AS_KW@61..63 "as"
WHITESPACE@63..64 " "
NAME@64..67
IDENT@64..67 "baz"
SEMICOLON@67..68 ";"
WHITESPACE@68..69 "\n"