Skip to content

Commit e2abf5f

Browse files
committed
Update with master
1 parent dea6206 commit e2abf5f

File tree

6 files changed

+1001
-1344
lines changed

6 files changed

+1001
-1344
lines changed

tsx/src/grammar.json

Lines changed: 16 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5095,13 +5095,15 @@
50955095
"type": "CHOICE",
50965096
"members": [
50975097
{
5098-
"type": "ALIAS",
5098+
"type": "IMMEDIATE_TOKEN",
50995099
"content": {
5100-
"type": "SYMBOL",
5101-
"name": "unescaped_double_string_fragment"
5102-
},
5103-
"named": true,
5104-
"value": "string_fragment"
5100+
"type": "PREC",
5101+
"value": 1,
5102+
"content": {
5103+
"type": "PATTERN",
5104+
"value": "[^\"\\\\]+"
5105+
}
5106+
}
51055107
},
51065108
{
51075109
"type": "SYMBOL",
@@ -5129,13 +5131,15 @@
51295131
"type": "CHOICE",
51305132
"members": [
51315133
{
5132-
"type": "ALIAS",
5134+
"type": "IMMEDIATE_TOKEN",
51335135
"content": {
5134-
"type": "SYMBOL",
5135-
"name": "unescaped_single_string_fragment"
5136-
},
5137-
"named": true,
5138-
"value": "string_fragment"
5136+
"type": "PREC",
5137+
"value": 1,
5138+
"content": {
5139+
"type": "PATTERN",
5140+
"value": "[^'\\\\]+"
5141+
}
5142+
}
51395143
},
51405144
{
51415145
"type": "SYMBOL",
@@ -5152,28 +5156,6 @@
51525156
}
51535157
]
51545158
},
5155-
"unescaped_double_string_fragment": {
5156-
"type": "IMMEDIATE_TOKEN",
5157-
"content": {
5158-
"type": "PREC",
5159-
"value": 1,
5160-
"content": {
5161-
"type": "PATTERN",
5162-
"value": "[^\"\\\\]+"
5163-
}
5164-
}
5165-
},
5166-
"unescaped_single_string_fragment": {
5167-
"type": "IMMEDIATE_TOKEN",
5168-
"content": {
5169-
"type": "PREC",
5170-
"value": 1,
5171-
"content": {
5172-
"type": "PATTERN",
5173-
"value": "[^'\\\\]+"
5174-
}
5175-
}
5176-
},
51775159
"escape_sequence": {
51785160
"type": "IMMEDIATE_TOKEN",
51795161
"content": {

tsx/src/node-types.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4643,10 +4643,6 @@
46434643
{
46444644
"type": "escape_sequence",
46454645
"named": true
4646-
},
4647-
{
4648-
"type": "string_fragment",
4649-
"named": true
46504646
}
46514647
]
46524648
}
@@ -5953,10 +5949,6 @@
59535949
"type": "string",
59545950
"named": false
59555951
},
5956-
{
5957-
"type": "string_fragment",
5958-
"named": true
5959-
},
59605952
{
59615953
"type": "super",
59625954
"named": true

0 commit comments

Comments
 (0)