File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ module.exports = grammar({
5454 decl_stmt : $ => $ . _decl_stmt ,
5555 _decl_stmt : $ => choice (
5656 $ . fn_def ,
57- $ . binding_decl ,
57+ $ . binding ,
5858 ) ,
5959
6060 fn_def : $ => $ . _fn_def ,
@@ -104,14 +104,14 @@ module.exports = grammar({
104104 $ . _expr_stmt ,
105105 ) ,
106106
107- binding_decl : $ => $ . _binding_decl ,
108- _binding_decl : $ => choice (
109- $ . _typed_binding_decl ,
110- $ . _auto_binding_decl ,
107+ binding : $ => $ . _binding ,
108+ _binding : $ => choice (
109+ $ . _typed_binding ,
110+ $ . _auto_binding ,
111111 ) ,
112112
113- typed_binding_decl : $ => $ . _typed_binding_decl ,
114- _typed_binding_decl : $ => seq (
113+ typed_binding : $ => $ . _typed_binding ,
114+ _typed_binding : $ => seq (
115115 field ( 'pat' , $ . _pattern ) ,
116116 ':' ,
117117 field ( 'ty' , $ . _type ) ,
@@ -122,8 +122,8 @@ module.exports = grammar({
122122 ';' ,
123123 ) ,
124124
125- auto_binding_decl : $ => $ . _auto_binding_decl ,
126- _auto_binding_decl : $ => seq (
125+ auto_binding : $ => $ . _auto_binding ,
126+ _auto_binding : $ => seq (
127127 field ( 'pat' , $ . _pattern ) ,
128128 ':' ,
129129 '=' ,
You can’t perform that action at this time.
0 commit comments