From c1a7b72fb7c9b69779e490e1d692ddfccec8b57a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 13 Aug 2018 18:27:26 +0300 Subject: renames --- crates/libsyntax2/src/syntax_kinds/generated.rs | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'crates/libsyntax2/src/syntax_kinds') diff --git a/crates/libsyntax2/src/syntax_kinds/generated.rs b/crates/libsyntax2/src/syntax_kinds/generated.rs index f5f8fe1ef..b04dfe55c 100644 --- a/crates/libsyntax2/src/syntax_kinds/generated.rs +++ b/crates/libsyntax2/src/syntax_kinds/generated.rs @@ -109,17 +109,17 @@ pub enum SyntaxKind { DOC_COMMENT, SHEBANG, FILE, - STRUCT, - ENUM, - FUNCTION, + STRUCT_DEF, + ENUM_DEF, + FN_DEF, EXTERN_CRATE_ITEM, MODULE, USE_ITEM, - STATIC_ITEM, - CONST_ITEM, - TRAIT, + STATIC_DEF, + CONST_DEF, + TRAIT_DEF, IMPL_ITEM, - TYPE_ITEM, + TYPE_DEF, MACRO_CALL, TOKEN_TREE, PAREN_TYPE, @@ -347,17 +347,17 @@ impl SyntaxKind { DOC_COMMENT => &SyntaxInfo { name: "DOC_COMMENT" }, SHEBANG => &SyntaxInfo { name: "SHEBANG" }, FILE => &SyntaxInfo { name: "FILE" }, - STRUCT => &SyntaxInfo { name: "STRUCT" }, - ENUM => &SyntaxInfo { name: "ENUM" }, - FUNCTION => &SyntaxInfo { name: "FUNCTION" }, + STRUCT_DEF => &SyntaxInfo { name: "STRUCT_DEF" }, + ENUM_DEF => &SyntaxInfo { name: "ENUM_DEF" }, + FN_DEF => &SyntaxInfo { name: "FN_DEF" }, EXTERN_CRATE_ITEM => &SyntaxInfo { name: "EXTERN_CRATE_ITEM" }, MODULE => &SyntaxInfo { name: "MODULE" }, USE_ITEM => &SyntaxInfo { name: "USE_ITEM" }, - STATIC_ITEM => &SyntaxInfo { name: "STATIC_ITEM" }, - CONST_ITEM => &SyntaxInfo { name: "CONST_ITEM" }, - TRAIT => &SyntaxInfo { name: "TRAIT" }, + STATIC_DEF => &SyntaxInfo { name: "STATIC_DEF" }, + CONST_DEF => &SyntaxInfo { name: "CONST_DEF" }, + TRAIT_DEF => &SyntaxInfo { name: "TRAIT_DEF" }, IMPL_ITEM => &SyntaxInfo { name: "IMPL_ITEM" }, - TYPE_ITEM => &SyntaxInfo { name: "TYPE_ITEM" }, + TYPE_DEF => &SyntaxInfo { name: "TYPE_DEF" }, MACRO_CALL => &SyntaxInfo { name: "MACRO_CALL" }, TOKEN_TREE => &SyntaxInfo { name: "TOKEN_TREE" }, PAREN_TYPE => &SyntaxInfo { name: "PAREN_TYPE" }, -- cgit v1.2.3