Reuse _conditional_expression

This commit is contained in:
Piotr Trojanek 2024-01-03 15:43:28 +01:00 committed by Emmanuel Briot
parent 07019a9929
commit 5a2bff7cea
3 changed files with 4154 additions and 4158 deletions

View File

@ -662,8 +662,7 @@ module.exports = grammar({
$.case_expression, $.case_expression,
), ),
_conditional_quantified_declare_expression: $ => choice( _conditional_quantified_declare_expression: $ => choice(
$.if_expression, $._conditional_expression,
$.case_expression,
$.quantified_expression, $.quantified_expression,
$.declare_expression, $.declare_expression,
), ),

View File

@ -3336,11 +3336,7 @@
"members": [ "members": [
{ {
"type": "SYMBOL", "type": "SYMBOL",
"name": "if_expression" "name": "_conditional_expression"
},
{
"type": "SYMBOL",
"name": "case_expression"
}, },
{ {
"type": "SYMBOL", "type": "SYMBOL",

File diff suppressed because it is too large Load Diff