Skip to content

Commit 27319bd

Browse files
committed
regenerate parser for exports
1 parent cb1e9c6 commit 27319bd

File tree

6 files changed

+189513
-181281
lines changed

6 files changed

+189513
-181281
lines changed

tsx/src/grammar.json

+43
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,49 @@
201201
"name": "_semicolon"
202202
}
203203
]
204+
},
205+
{
206+
"type": "SEQ",
207+
"members": [
208+
{
209+
"type": "STRING",
210+
"value": "export"
211+
},
212+
{
213+
"type": "STRING",
214+
"value": "default"
215+
},
216+
{
217+
"type": "CHOICE",
218+
"members": [
219+
{
220+
"type": "SEQ",
221+
"members": [
222+
{
223+
"type": "CHOICE",
224+
"members": [
225+
{
226+
"type": "STRING",
227+
"value": "abstract"
228+
},
229+
{
230+
"type": "BLANK"
231+
}
232+
]
233+
},
234+
{
235+
"type": "SYMBOL",
236+
"name": "class"
237+
}
238+
]
239+
},
240+
{
241+
"type": "SYMBOL",
242+
"name": "interface_declaration"
243+
}
244+
]
245+
}
246+
]
204247
}
205248
]
206249
}

tsx/src/node-types.json

+8
Original file line numberDiff line numberDiff line change
@@ -2373,13 +2373,21 @@
23732373
"multiple": false,
23742374
"required": false,
23752375
"types": [
2376+
{
2377+
"type": "class",
2378+
"named": true
2379+
},
23762380
{
23772381
"type": "export_clause",
23782382
"named": true
23792383
},
23802384
{
23812385
"type": "identifier",
23822386
"named": true
2387+
},
2388+
{
2389+
"type": "interface_declaration",
2390+
"named": true
23832391
}
23842392
]
23852393
}

0 commit comments

Comments
 (0)