Skip to content

Commit 9ba5183

Browse files
committed
regenerate parser for augmented_assignment_expression
1 parent e3bfb9c commit 9ba5183

File tree

3 files changed

+27753
-26537
lines changed

3 files changed

+27753
-26537
lines changed

src/grammar.json

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,29 +3101,17 @@
31013101
"type": "CHOICE",
31023102
"members": [
31033103
{
3104-
"type": "SYMBOL",
3105-
"name": "member_expression"
3106-
},
3107-
{
3108-
"type": "SYMBOL",
3109-
"name": "subscript_expression"
3110-
},
3111-
{
3112-
"type": "ALIAS",
3113-
"content": {
3114-
"type": "SYMBOL",
3115-
"name": "_reserved_identifier"
3116-
},
3117-
"named": true,
3118-
"value": "identifier"
3119-
},
3120-
{
3121-
"type": "SYMBOL",
3122-
"name": "identifier"
3123-
},
3124-
{
3125-
"type": "SYMBOL",
3126-
"name": "parenthesized_expression"
3104+
"type": "CHOICE",
3105+
"members": [
3106+
{
3107+
"type": "SYMBOL",
3108+
"name": "parenthesized_expression"
3109+
},
3110+
{
3111+
"type": "SYMBOL",
3112+
"name": "_lhs_expression"
3113+
}
3114+
]
31273115
}
31283116
]
31293117
}

src/node-types.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,10 @@
448448
"multiple": false,
449449
"required": true,
450450
"types": [
451+
{
452+
"type": "_destructuring_pattern",
453+
"named": true
454+
},
451455
{
452456
"type": "identifier",
453457
"named": true

0 commit comments

Comments
 (0)