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 --- .../test_data/parser/ok/0001_struct_item.rast | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 crates/syntax/test_data/parser/ok/0001_struct_item.rast (limited to 'crates/syntax/test_data/parser/ok/0001_struct_item.rast') diff --git a/crates/syntax/test_data/parser/ok/0001_struct_item.rast b/crates/syntax/test_data/parser/ok/0001_struct_item.rast new file mode 100644 index 000000000..a171fe7a8 --- /dev/null +++ b/crates/syntax/test_data/parser/ok/0001_struct_item.rast @@ -0,0 +1,39 @@ +SOURCE_FILE@0..32 + STRUCT@0..31 + STRUCT_KW@0..6 "struct" + WHITESPACE@6..7 " " + NAME@7..8 + IDENT@7..8 "S" + GENERIC_PARAM_LIST@8..17 + L_ANGLE@8..9 "<" + TYPE_PARAM@9..16 + NAME@9..10 + IDENT@9..10 "T" + COLON@10..11 ":" + WHITESPACE@11..12 " " + TYPE_BOUND_LIST@12..16 + TYPE_BOUND@12..16 + PATH_TYPE@12..16 + PATH@12..16 + PATH_SEGMENT@12..16 + NAME_REF@12..16 + IDENT@12..16 "Copy" + R_ANGLE@16..17 ">" + WHITESPACE@17..18 " " + RECORD_FIELD_LIST@18..31 + L_CURLY@18..19 "{" + WHITESPACE@19..24 "\n " + RECORD_FIELD@24..28 + NAME@24..25 + IDENT@24..25 "f" + COLON@25..26 ":" + WHITESPACE@26..27 " " + PATH_TYPE@27..28 + PATH@27..28 + PATH_SEGMENT@27..28 + NAME_REF@27..28 + IDENT@27..28 "T" + COMMA@28..29 "," + WHITESPACE@29..30 "\n" + R_CURLY@30..31 "}" + WHITESPACE@31..32 "\n" -- cgit v1.2.3