From a1c187eef3ba08076aedb5154929f7eda8d1b424 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 12 Aug 2020 18:26:51 +0200 Subject: Rename ra_syntax -> syntax --- .../syntax/test_data/parser/ok/0015_use_tree.rast | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 crates/syntax/test_data/parser/ok/0015_use_tree.rast (limited to 'crates/syntax/test_data/parser/ok/0015_use_tree.rast') diff --git a/crates/syntax/test_data/parser/ok/0015_use_tree.rast b/crates/syntax/test_data/parser/ok/0015_use_tree.rast new file mode 100644 index 000000000..d7e93f7eb --- /dev/null +++ b/crates/syntax/test_data/parser/ok/0015_use_tree.rast @@ -0,0 +1,65 @@ +SOURCE_FILE@0..55 + USE@0..15 + USE_KW@0..3 "use" + WHITESPACE@3..4 " " + USE_TREE@4..14 + PATH@4..7 + PATH_SEGMENT@4..7 + NAME_REF@4..7 + IDENT@4..7 "foo" + WHITESPACE@7..8 " " + RENAME@8..14 + AS_KW@8..10 "as" + WHITESPACE@10..11 " " + NAME@11..14 + IDENT@11..14 "bar" + SEMICOLON@14..15 ";" + WHITESPACE@15..16 "\n" + USE@16..54 + USE_KW@16..19 "use" + WHITESPACE@19..20 " " + USE_TREE@20..53 + PATH@20..23 + PATH_SEGMENT@20..23 + NAME_REF@20..23 + IDENT@20..23 "foo" + COLON2@23..25 "::" + USE_TREE_LIST@25..53 + L_CURLY@25..26 "{" + USE_TREE@26..32 + PATH@26..27 + PATH_SEGMENT@26..27 + NAME_REF@26..27 + IDENT@26..27 "a" + WHITESPACE@27..28 " " + RENAME@28..32 + AS_KW@28..30 "as" + WHITESPACE@30..31 " " + NAME@31..32 + IDENT@31..32 "b" + COMMA@32..33 "," + WHITESPACE@33..34 " " + USE_TREE@34..35 + STAR@34..35 "*" + COMMA@35..36 "," + WHITESPACE@36..37 " " + USE_TREE@37..40 + COLON2@37..39 "::" + STAR@39..40 "*" + COMMA@40..41 "," + WHITESPACE@41..42 " " + USE_TREE@42..52 + PATH@42..47 + PATH_SEGMENT@42..47 + COLON2@42..44 "::" + NAME_REF@44..47 + IDENT@44..47 "foo" + WHITESPACE@47..48 " " + RENAME@48..52 + AS_KW@48..50 "as" + WHITESPACE@50..51 " " + NAME@51..52 + IDENT@51..52 "x" + R_CURLY@52..53 "}" + SEMICOLON@53..54 ";" + WHITESPACE@54..55 "\n" -- cgit v1.2.3