Skip to content

Commit 83bd251

Browse files
committed
Regenerate files
1 parent 8168089 commit 83bd251

File tree

6 files changed

+281
-229
lines changed

6 files changed

+281
-229
lines changed

tsx/src/grammar.json

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5117,15 +5117,13 @@
51175117
"type": "CHOICE",
51185118
"members": [
51195119
{
5120-
"type": "IMMEDIATE_TOKEN",
5120+
"type": "ALIAS",
51215121
"content": {
5122-
"type": "PREC",
5123-
"value": 1,
5124-
"content": {
5125-
"type": "PATTERN",
5126-
"value": "[^\"\\\\]+"
5127-
}
5128-
}
5122+
"type": "SYMBOL",
5123+
"name": "unescaped_double_string_fragment"
5124+
},
5125+
"named": true,
5126+
"value": "string_fragment"
51295127
},
51305128
{
51315129
"type": "SYMBOL",
@@ -5153,15 +5151,13 @@
51535151
"type": "CHOICE",
51545152
"members": [
51555153
{
5156-
"type": "IMMEDIATE_TOKEN",
5154+
"type": "ALIAS",
51575155
"content": {
5158-
"type": "PREC",
5159-
"value": 1,
5160-
"content": {
5161-
"type": "PATTERN",
5162-
"value": "[^'\\\\]+"
5163-
}
5164-
}
5156+
"type": "SYMBOL",
5157+
"name": "unescaped_single_string_fragment"
5158+
},
5159+
"named": true,
5160+
"value": "string_fragment"
51655161
},
51665162
{
51675163
"type": "SYMBOL",
@@ -5178,6 +5174,28 @@
51785174
}
51795175
]
51805176
},
5177+
"unescaped_double_string_fragment": {
5178+
"type": "IMMEDIATE_TOKEN",
5179+
"content": {
5180+
"type": "PREC",
5181+
"value": 1,
5182+
"content": {
5183+
"type": "PATTERN",
5184+
"value": "[^\"\\\\]+"
5185+
}
5186+
}
5187+
},
5188+
"unescaped_single_string_fragment": {
5189+
"type": "IMMEDIATE_TOKEN",
5190+
"content": {
5191+
"type": "PREC",
5192+
"value": 1,
5193+
"content": {
5194+
"type": "PATTERN",
5195+
"value": "[^'\\\\]+"
5196+
}
5197+
}
5198+
},
51815199
"escape_sequence": {
51825200
"type": "IMMEDIATE_TOKEN",
51835201
"content": {

tsx/src/node-types.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4666,6 +4666,10 @@
46664666
{
46674667
"type": "escape_sequence",
46684668
"named": true
4669+
},
4670+
{
4671+
"type": "string_fragment",
4672+
"named": true
46694673
}
46704674
]
46714675
}
@@ -5972,6 +5976,10 @@
59725976
"type": "string",
59735977
"named": false
59745978
},
5979+
{
5980+
"type": "string_fragment",
5981+
"named": true
5982+
},
59755983
{
59765984
"type": "super",
59775985
"named": true

0 commit comments

Comments
 (0)