Skip to content

Commit c3c7504

Browse files
committed
regenerate parser
1 parent eb49f02 commit c3c7504

File tree

6 files changed

+412145
-390768
lines changed

6 files changed

+412145
-390768
lines changed

tsx/src/grammar.json

+43
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,49 @@
215215
"name": "function_signature"
216216
}
217217
]
218+
},
219+
{
220+
"type": "SEQ",
221+
"members": [
222+
{
223+
"type": "STRING",
224+
"value": "export"
225+
},
226+
{
227+
"type": "STRING",
228+
"value": "default"
229+
},
230+
{
231+
"type": "CHOICE",
232+
"members": [
233+
{
234+
"type": "SEQ",
235+
"members": [
236+
{
237+
"type": "CHOICE",
238+
"members": [
239+
{
240+
"type": "STRING",
241+
"value": "abstract"
242+
},
243+
{
244+
"type": "BLANK"
245+
}
246+
]
247+
},
248+
{
249+
"type": "SYMBOL",
250+
"name": "class"
251+
}
252+
]
253+
},
254+
{
255+
"type": "SYMBOL",
256+
"name": "interface_declaration"
257+
}
258+
]
259+
}
260+
]
218261
}
219262
]
220263
},

tsx/src/node-types.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -1955,6 +1955,10 @@
19551955
"multiple": false,
19561956
"required": false,
19571957
"types": [
1958+
{
1959+
"type": "class",
1960+
"named": true
1961+
},
19581962
{
19591963
"type": "export_clause",
19601964
"named": true
@@ -1966,6 +1970,10 @@
19661970
{
19671971
"type": "identifier",
19681972
"named": true
1973+
},
1974+
{
1975+
"type": "interface_declaration",
1976+
"named": true
19691977
}
19701978
]
19711979
}
@@ -5852,11 +5860,11 @@
58525860
},
58535861
{
58545862
"type": "number",
5855-
"named": true
5863+
"named": false
58565864
},
58575865
{
58585866
"type": "number",
5859-
"named": false
5867+
"named": true
58605868
},
58615869
{
58625870
"type": "of",

0 commit comments

Comments
 (0)