|
|
|
@ -562,12 +562,7 @@ module.exports = grammar({
|
|
|
|
// - Expressions -
|
|
|
|
// - Expressions -
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
_expression: ($) =>
|
|
|
|
_expression: ($) => choice($._primary_expression, $.conditional_expression),
|
|
|
|
choice(
|
|
|
|
|
|
|
|
$._primary_expression,
|
|
|
|
|
|
|
|
$.conditional_expression,
|
|
|
|
|
|
|
|
$.await_expression,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_primary_expression: ($) =>
|
|
|
|
_primary_expression: ($) =>
|
|
|
|
choice(
|
|
|
|
choice(
|
|
|
|
@ -590,6 +585,7 @@ module.exports = grammar({
|
|
|
|
$.array,
|
|
|
|
$.array,
|
|
|
|
$.dictionary,
|
|
|
|
$.dictionary,
|
|
|
|
$.parenthesized_expression,
|
|
|
|
$.parenthesized_expression,
|
|
|
|
|
|
|
|
$.await_expression,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
_rhs_expression: ($) => choice($._expression, $.lambda),
|
|
|
|
_rhs_expression: ($) => choice($._expression, $.lambda),
|
|
|
|
|