From d82a21ab202b2f5e8c96847802d806735ec74ad3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 23:13:08 +0300 Subject: lambda expressions --- src/syntax_kinds/generated.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/syntax_kinds') diff --git a/src/syntax_kinds/generated.rs b/src/syntax_kinds/generated.rs index 156d42db4..93a3250a4 100644 --- a/src/syntax_kinds/generated.rs +++ b/src/syntax_kinds/generated.rs @@ -122,6 +122,7 @@ pub enum SyntaxKind { FIELD_EXPR, REF_EXPR, DEREF_EXPR, + LAMBDA_EXPR, STRUCT_LIT, STRUCT_LIT_FIELD, EXTERN_BLOCK, @@ -140,7 +141,6 @@ pub enum SyntaxKind { ABI, NAME, NAME_REF, - VALUE_PARAMETER, BLOCK, LET_STMT, EXPR_STMT, @@ -152,6 +152,7 @@ pub enum SyntaxKind { TYPE_ARG, ASSOC_TYPE_ARG, PARAM_LIST, + VALUE_PARAMETER, SELF_PARAM, ARG_LIST, // Technical SyntaxKinds: they appear temporally during parsing, @@ -283,6 +284,7 @@ impl SyntaxKind { FIELD_EXPR => &SyntaxInfo { name: "FIELD_EXPR" }, REF_EXPR => &SyntaxInfo { name: "REF_EXPR" }, DEREF_EXPR => &SyntaxInfo { name: "DEREF_EXPR" }, + LAMBDA_EXPR => &SyntaxInfo { name: "LAMBDA_EXPR" }, STRUCT_LIT => &SyntaxInfo { name: "STRUCT_LIT" }, STRUCT_LIT_FIELD => &SyntaxInfo { name: "STRUCT_LIT_FIELD" }, EXTERN_BLOCK => &SyntaxInfo { name: "EXTERN_BLOCK" }, @@ -301,7 +303,6 @@ impl SyntaxKind { ABI => &SyntaxInfo { name: "ABI" }, NAME => &SyntaxInfo { name: "NAME" }, NAME_REF => &SyntaxInfo { name: "NAME_REF" }, - VALUE_PARAMETER => &SyntaxInfo { name: "VALUE_PARAMETER" }, BLOCK => &SyntaxInfo { name: "BLOCK" }, LET_STMT => &SyntaxInfo { name: "LET_STMT" }, EXPR_STMT => &SyntaxInfo { name: "EXPR_STMT" }, @@ -313,6 +314,7 @@ impl SyntaxKind { TYPE_ARG => &SyntaxInfo { name: "TYPE_ARG" }, ASSOC_TYPE_ARG => &SyntaxInfo { name: "ASSOC_TYPE_ARG" }, PARAM_LIST => &SyntaxInfo { name: "PARAM_LIST" }, + VALUE_PARAMETER => &SyntaxInfo { name: "VALUE_PARAMETER" }, SELF_PARAM => &SyntaxInfo { name: "SELF_PARAM" }, ARG_LIST => &SyntaxInfo { name: "ARG_LIST" }, TOMBSTONE => &SyntaxInfo { name: "TOMBSTONE" }, -- cgit v1.2.3