Skip to content

Commit

Permalink
chore: generate
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jul 20, 2024
1 parent e0ffcd0 commit 198d035
Show file tree
Hide file tree
Showing 6 changed files with 300,783 additions and 300,153 deletions.
62 changes: 60 additions & 2 deletions tsx/src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,17 @@
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "with"
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "with"
},
{
"type": "STRING",
"value": "assert"
}
]
},
{
"type": "SYMBOL",
Expand Down Expand Up @@ -6445,6 +6454,15 @@
},
"named": true,
"value": "call_expression"
},
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "decorator_parenthesized_expression"
},
"named": true,
"value": "parenthesized_expression"
}
]
}
Expand Down Expand Up @@ -7828,6 +7846,46 @@
}
]
},
"decorator_parenthesized_expression": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "("
},
{
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "identifier"
},
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "decorator_member_expression"
},
"named": true,
"value": "member_expression"
},
{
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "decorator_call_expression"
},
"named": true,
"value": "call_expression"
}
]
},
{
"type": "STRING",
"value": ")"
}
]
},
"type_assertion": {
"type": "PREC_LEFT",
"value": "unary",
Expand Down
20 changes: 20 additions & 0 deletions tsx/src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -1729,6 +1729,10 @@
{
"type": "member_expression",
"named": true
},
{
"type": "parenthesized_expression",
"named": true
}
]
}
Expand Down Expand Up @@ -4399,10 +4403,22 @@
"multiple": false,
"required": true,
"types": [
{
"type": "call_expression",
"named": true
},
{
"type": "expression",
"named": true
},
{
"type": "identifier",
"named": true
},
{
"type": "member_expression",
"named": true
},
{
"type": "sequence_expression",
"named": true
Expand Down Expand Up @@ -5883,6 +5899,10 @@
"type": "as",
"named": false
},
{
"type": "assert",
"named": false
},
{
"type": "asserts",
"named": false
Expand Down
Loading

0 comments on commit 198d035

Please sign in to comment.