Skip to content

Commit d92f219

Browse files
committed
regenerate parser for exports
1 parent ce30b89 commit d92f219

File tree

6 files changed

+218312
-210078
lines changed

6 files changed

+218312
-210078
lines changed

tsx/src/grammar.json

+43
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,49 @@
226226
"name": "function_signature"
227227
}
228228
]
229+
},
230+
{
231+
"type": "SEQ",
232+
"members": [
233+
{
234+
"type": "STRING",
235+
"value": "export"
236+
},
237+
{
238+
"type": "STRING",
239+
"value": "default"
240+
},
241+
{
242+
"type": "CHOICE",
243+
"members": [
244+
{
245+
"type": "SEQ",
246+
"members": [
247+
{
248+
"type": "CHOICE",
249+
"members": [
250+
{
251+
"type": "STRING",
252+
"value": "abstract"
253+
},
254+
{
255+
"type": "BLANK"
256+
}
257+
]
258+
},
259+
{
260+
"type": "SYMBOL",
261+
"name": "class"
262+
}
263+
]
264+
},
265+
{
266+
"type": "SYMBOL",
267+
"name": "interface_declaration"
268+
}
269+
]
270+
}
271+
]
229272
}
230273
]
231274
}

tsx/src/node-types.json

+8
Original file line numberDiff line numberDiff line change
@@ -2499,6 +2499,10 @@
24992499
"multiple": false,
25002500
"required": false,
25012501
"types": [
2502+
{
2503+
"type": "class",
2504+
"named": true
2505+
},
25022506
{
25032507
"type": "export_clause",
25042508
"named": true
@@ -2510,6 +2514,10 @@
25102514
{
25112515
"type": "identifier",
25122516
"named": true
2517+
},
2518+
{
2519+
"type": "interface_declaration",
2520+
"named": true
25132521
}
25142522
]
25152523
}

0 commit comments

Comments
 (0)