From a6e45c6c69bf258118940941c12d057deb79e60c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 13:22:47 +0200 Subject: Reame PlaceholderType -> InferType --- xtask/src/ast_src.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 114898e38..38b60b2a5 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -117,7 +117,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "ARRAY_TYPE", "SLICE_TYPE", "REFERENCE_TYPE", - "PLACEHOLDER_TYPE", + "INFER_TYPE", "FN_POINTER_TYPE", "FOR_TYPE", "IMPL_TRAIT_TYPE", -- cgit v1.2.3 From 633aace41108b74fe6c93c5ab04272067db033f9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 17:08:58 +0200 Subject: Rename LambdaExpr -> ClosureExpr --- xtask/src/ast_src.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 38b60b2a5..427406249 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -144,7 +144,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "ARRAY_EXPR", "PAREN_EXPR", "PATH_EXPR", - "LAMBDA_EXPR", + "CLOSURE_EXPR", "IF_EXPR", "WHILE_EXPR", "CONDITION", -- cgit v1.2.3 From 91781c7ce8201b28afd56b4e35eba47e076a8498 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 18:29:29 +0200 Subject: Rename TypeArgList -> GenericArgList --- xtask/src/ast_src.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 427406249..762d9265e 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -208,7 +208,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "LIFETIME_PARAM", "TYPE_PARAM", "CONST_PARAM", - "TYPE_ARG_LIST", + "GENERIC_ARG_LIST", "LIFETIME_ARG", "TYPE_ARG", "ASSOC_TYPE_ARG", -- cgit v1.2.3 From 14cb96ec0e6be3b99bfe4ea373c058dcbd2a4f79 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 19:54:16 +0200 Subject: Allign RecordPat with RecordExpr --- xtask/src/ast_src.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 762d9265e..869bdaa0d 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -131,8 +131,8 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "DOT_DOT_PAT", "PATH_PAT", "RECORD_PAT", - "RECORD_FIELD_PAT_LIST", - "RECORD_FIELD_PAT", + "RECORD_PAT_FIELD_LIST", + "RECORD_PAT_FIELD", "TUPLE_STRUCT_PAT", "TUPLE_PAT", "SLICE_PAT", -- cgit v1.2.3 From 6791eb9685375da94556bb910ea71f78b08be5ec Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 20:07:21 +0200 Subject: Rename PalceholderPat -> WildcardPat --- xtask/src/ast_src.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 869bdaa0d..fbe36d2f5 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -127,7 +127,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "REF_PAT", "BOX_PAT", "BIND_PAT", - "PLACEHOLDER_PAT", + "WILDCARD_PAT", "DOT_DOT_PAT", "PATH_PAT", "RECORD_PAT", -- cgit v1.2.3 From 98181087984157e27faba0b969e384f3c62c39d5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 20:09:09 +0200 Subject: Rename BindPat -> IdentPat --- xtask/src/ast_src.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index fbe36d2f5..2ff029158 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -126,7 +126,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "PAREN_PAT", "REF_PAT", "BOX_PAT", - "BIND_PAT", + "IDENT_PAT", "WILDCARD_PAT", "DOT_DOT_PAT", "PATH_PAT", -- cgit v1.2.3 From 22d295ceaaee76dbd555cdeedc0ed7578e66279d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 21:45:29 +0200 Subject: Rename DotDotPat -> RestPat --- xtask/src/ast_src.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 2ff029158..1386fc4e7 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -128,7 +128,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "BOX_PAT", "IDENT_PAT", "WILDCARD_PAT", - "DOT_DOT_PAT", + "REST_PAT", "PATH_PAT", "RECORD_PAT", "RECORD_PAT_FIELD_LIST", -- cgit v1.2.3 From bff8dd094958f1abe2fcfe8fe9f15dc7a7e6b53e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 1 Aug 2020 13:47:19 +0200 Subject: Update grammar --- xtask/src/ast_src.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xtask/src/ast_src.rs') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 1386fc4e7..adc191254 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -113,12 +113,12 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "TUPLE_TYPE", "NEVER_TYPE", "PATH_TYPE", - "POINTER_TYPE", + "PTR_TYPE", "ARRAY_TYPE", "SLICE_TYPE", - "REFERENCE_TYPE", + "REF_TYPE", "INFER_TYPE", - "FN_POINTER_TYPE", + "FN_PTR_TYPE", "FOR_TYPE", "IMPL_TRAIT_TYPE", "DYN_TRAIT_TYPE", -- cgit v1.2.3