From 609680ef97dbf82c07b6b06e21aa366423892304 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 17:52:53 +0200 Subject: Rename EnumDef -> Enum --- crates/ra_syntax/test_data/parser/ok/0019_enums.rast | 10 +++++----- .../test_data/parser/ok/0047_minus_in_inner_pattern.rast | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/ok') diff --git a/crates/ra_syntax/test_data/parser/ok/0019_enums.rast b/crates/ra_syntax/test_data/parser/ok/0019_enums.rast index 1a32d88fd..1ffcffc1a 100644 --- a/crates/ra_syntax/test_data/parser/ok/0019_enums.rast +++ b/crates/ra_syntax/test_data/parser/ok/0019_enums.rast @@ -1,5 +1,5 @@ SOURCE_FILE@0..182 - ENUM_DEF@0..11 + ENUM@0..11 ENUM_KW@0..4 "enum" WHITESPACE@4..5 " " NAME@5..7 @@ -10,7 +10,7 @@ SOURCE_FILE@0..182 WHITESPACE@9..10 "\n" R_CURLY@10..11 "}" WHITESPACE@11..13 "\n\n" - ENUM_DEF@13..27 + ENUM@13..27 ENUM_KW@13..17 "enum" WHITESPACE@17..18 " " NAME@18..20 @@ -27,7 +27,7 @@ SOURCE_FILE@0..182 WHITESPACE@25..26 "\n" R_CURLY@26..27 "}" WHITESPACE@27..29 "\n\n" - ENUM_DEF@29..46 + ENUM@29..46 ENUM_KW@29..33 "enum" WHITESPACE@33..34 " " NAME@34..36 @@ -42,7 +42,7 @@ SOURCE_FILE@0..182 WHITESPACE@44..45 "\n" R_CURLY@45..46 "}" WHITESPACE@46..48 "\n\n" - ENUM_DEF@48..66 + ENUM@48..66 ENUM_KW@48..52 "enum" WHITESPACE@52..53 " " NAME@53..55 @@ -58,7 +58,7 @@ SOURCE_FILE@0..182 WHITESPACE@64..65 "\n" R_CURLY@65..66 "}" WHITESPACE@66..68 "\n\n" - ENUM_DEF@68..181 + ENUM@68..181 ENUM_KW@68..72 "enum" WHITESPACE@72..73 " " NAME@73..75 diff --git a/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast b/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast index fcf605ec8..9db4f0aa1 100644 --- a/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast +++ b/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast @@ -256,7 +256,7 @@ SOURCE_FILE@0..395 WHITESPACE@339..340 "\n" R_CURLY@340..341 "}" WHITESPACE@341..343 "\n\n" - ENUM_DEF@343..367 + ENUM@343..367 ENUM_KW@343..347 "enum" WHITESPACE@347..348 " " NAME@348..349 -- cgit v1.2.3