Skip to content

Commit 7f98ac6

Browse files
committed
Check in generated files
1 parent 666c694 commit 7f98ac6

File tree

6 files changed

+289162
-249673
lines changed

6 files changed

+289162
-249673
lines changed

tsx/src/grammar.json

Lines changed: 145 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,13 @@
6767
"type": "SEQ",
6868
"members": [
6969
{
70-
"type": "SYMBOL",
71-
"name": "namespace_import"
70+
"type": "ALIAS",
71+
"content": {
72+
"type": "SYMBOL",
73+
"name": "namespace_import_export"
74+
},
75+
"named": true,
76+
"value": "namespace_export"
7277
},
7378
{
7479
"type": "SYMBOL",
@@ -530,8 +535,13 @@
530535
"type": "CHOICE",
531536
"members": [
532537
{
533-
"type": "SYMBOL",
534-
"name": "namespace_import"
538+
"type": "ALIAS",
539+
"content": {
540+
"type": "SYMBOL",
541+
"name": "namespace_import_export"
542+
},
543+
"named": true,
544+
"value": "namespace_import"
535545
},
536546
{
537547
"type": "SYMBOL",
@@ -558,8 +568,13 @@
558568
"type": "CHOICE",
559569
"members": [
560570
{
561-
"type": "SYMBOL",
562-
"name": "namespace_import"
571+
"type": "ALIAS",
572+
"content": {
573+
"type": "SYMBOL",
574+
"name": "namespace_import_export"
575+
},
576+
"named": true,
577+
"value": "namespace_import"
563578
},
564579
{
565580
"type": "SYMBOL",
@@ -595,7 +610,7 @@
595610
}
596611
]
597612
},
598-
"namespace_import": {
613+
"namespace_import_export": {
599614
"type": "SEQ",
600615
"members": [
601616
{
@@ -1219,13 +1234,51 @@
12191234
{
12201235
"type": "FIELD",
12211236
"name": "kind",
1237+
"content": {
1238+
"type": "STRING",
1239+
"value": "var"
1240+
}
1241+
},
1242+
{
1243+
"type": "FIELD",
1244+
"name": "left",
12221245
"content": {
12231246
"type": "CHOICE",
12241247
"members": [
12251248
{
1226-
"type": "STRING",
1227-
"value": "var"
1249+
"type": "SYMBOL",
1250+
"name": "identifier"
12281251
},
1252+
{
1253+
"type": "SYMBOL",
1254+
"name": "_destructuring_pattern"
1255+
}
1256+
]
1257+
}
1258+
},
1259+
{
1260+
"type": "CHOICE",
1261+
"members": [
1262+
{
1263+
"type": "SYMBOL",
1264+
"name": "_initializer"
1265+
},
1266+
{
1267+
"type": "BLANK"
1268+
}
1269+
]
1270+
}
1271+
]
1272+
},
1273+
{
1274+
"type": "SEQ",
1275+
"members": [
1276+
{
1277+
"type": "FIELD",
1278+
"name": "kind",
1279+
"content": {
1280+
"type": "CHOICE",
1281+
"members": [
12291282
{
12301283
"type": "STRING",
12311284
"value": "let"
@@ -4002,7 +4055,12 @@
40024055
}
40034056
},
40044057
{
4005-
"type": "STRING",
4058+
"type": "ALIAS",
4059+
"content": {
4060+
"type": "SYMBOL",
4061+
"name": "_ternary_qmark"
4062+
},
4063+
"named": false,
40064064
"value": "?"
40074065
},
40084066
{
@@ -5861,13 +5919,13 @@
58615919
"members": [
58625920
{
58635921
"type": "PATTERN",
5864-
"value": "[^\\x00-\\x1F\\s0-9:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B\\u00A0]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
5922+
"value": "[^\\x00-\\x1F\\s\\p{Zs}0-9:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
58655923
},
58665924
{
58675925
"type": "REPEAT",
58685926
"content": {
58695927
"type": "PATTERN",
5870-
"value": "[^\\x00-\\x1F\\s:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B\\u00A0]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
5928+
"value": "[^\\x00-\\x1F\\s\\p{Zs}:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
58715929
}
58725930
}
58735931
]
@@ -5884,13 +5942,13 @@
58845942
},
58855943
{
58865944
"type": "PATTERN",
5887-
"value": "[^\\x00-\\x1F\\s0-9:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B\\u00A0]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
5945+
"value": "[^\\x00-\\x1F\\s\\p{Zs}0-9:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
58885946
},
58895947
{
58905948
"type": "REPEAT",
58915949
"content": {
58925950
"type": "PATTERN",
5893-
"value": "[^\\x00-\\x1F\\s:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B\\u00A0]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
5951+
"value": "[^\\x00-\\x1F\\s\\p{Zs}:;`\"'@#.,|^&<=>+\\-*/\\\\%?!~()\\[\\]{}\\uFEFF\\u2060\\u200B]|\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}"
58945952
}
58955953
}
58965954
]
@@ -6366,20 +6424,7 @@
63666424
"members": [
63676425
{
63686426
"type": "SYMBOL",
6369-
"name": "identifier"
6370-
},
6371-
{
6372-
"type": "ALIAS",
6373-
"content": {
6374-
"type": "SYMBOL",
6375-
"name": "_reserved_identifier"
6376-
},
6377-
"named": true,
6378-
"value": "identifier"
6379-
},
6380-
{
6381-
"type": "SYMBOL",
6382-
"name": "_destructuring_pattern"
6427+
"name": "_lhs_expression"
63836428
},
63846429
{
63856430
"type": "SYMBOL",
@@ -6389,26 +6434,21 @@
63896434
}
63906435
},
63916436
"rest_pattern": {
6392-
"type": "SEQ",
6393-
"members": [
6394-
{
6395-
"type": "STRING",
6396-
"value": "..."
6397-
},
6398-
{
6399-
"type": "CHOICE",
6400-
"members": [
6401-
{
6402-
"type": "SYMBOL",
6403-
"name": "identifier"
6404-
},
6405-
{
6406-
"type": "SYMBOL",
6407-
"name": "_destructuring_pattern"
6408-
}
6409-
]
6410-
}
6411-
]
6437+
"type": "PREC_RIGHT",
6438+
"value": 0,
6439+
"content": {
6440+
"type": "SEQ",
6441+
"members": [
6442+
{
6443+
"type": "STRING",
6444+
"value": "..."
6445+
},
6446+
{
6447+
"type": "SYMBOL",
6448+
"name": "_lhs_expression"
6449+
}
6450+
]
6451+
}
64126452
},
64136453
"method_definition": {
64146454
"type": "PREC_LEFT",
@@ -10109,7 +10149,7 @@
1010910149
},
1011010150
{
1011110151
"type": "PATTERN",
10112-
"value": "[\\s\\uFEFF\\u2060\\u200B\\u00A0]"
10152+
"value": "[\\s\\p{Zs}\\uFEFF\\u2060\\u200B]"
1011310153
}
1011410154
],
1011510155
"conflicts": [
@@ -10166,6 +10206,10 @@
1016610206
"computed_property_name",
1016710207
"array"
1016810208
],
10209+
[
10210+
"binary_expression",
10211+
"_initializer"
10212+
],
1016910213
[
1017010214
"call_expression",
1017110215
"binary_expression"
@@ -10190,6 +10234,9 @@
1019010234
"binary_expression",
1019110235
"await_expression"
1019210236
],
10237+
[
10238+
"class"
10239+
],
1019310240
[
1019410241
"nested_identifier",
1019510242
"nested_type_identifier",
@@ -10265,6 +10312,21 @@
1026510312
"primary_expression",
1026610313
"literal_type"
1026710314
],
10315+
[
10316+
"primary_expression",
10317+
"literal_type",
10318+
"pattern"
10319+
],
10320+
[
10321+
"primary_expression",
10322+
"literal_type",
10323+
"rest_pattern"
10324+
],
10325+
[
10326+
"primary_expression",
10327+
"predefined_type",
10328+
"rest_pattern"
10329+
],
1026810330
[
1026910331
"primary_expression",
1027010332
"_primary_type"
@@ -10456,16 +10518,6 @@
1045610518
"name": "arrow_function"
1045710519
}
1045810520
],
10459-
[
10460-
{
10461-
"type": "SYMBOL",
10462-
"name": "rest_pattern"
10463-
},
10464-
{
10465-
"type": "STRING",
10466-
"value": "assign"
10467-
}
10468-
],
1046910521
[
1047010522
{
1047110523
"type": "STRING",
@@ -10827,6 +10879,36 @@
1082710879
"type": "SYMBOL",
1082810880
"name": "primary_expression"
1082910881
}
10882+
],
10883+
[
10884+
{
10885+
"type": "SYMBOL",
10886+
"name": "decorator_call_expression"
10887+
},
10888+
{
10889+
"type": "SYMBOL",
10890+
"name": "decorator"
10891+
}
10892+
],
10893+
[
10894+
{
10895+
"type": "SYMBOL",
10896+
"name": "literal_type"
10897+
},
10898+
{
10899+
"type": "SYMBOL",
10900+
"name": "pattern"
10901+
}
10902+
],
10903+
[
10904+
{
10905+
"type": "SYMBOL",
10906+
"name": "predefined_type"
10907+
},
10908+
{
10909+
"type": "SYMBOL",
10910+
"name": "pattern"
10911+
}
1083010912
]
1083110913
],
1083210914
"externals": [
@@ -10838,6 +10920,10 @@
1083810920
"type": "SYMBOL",
1083910921
"name": "_template_chars"
1084010922
},
10923+
{
10924+
"type": "SYMBOL",
10925+
"name": "_ternary_qmark"
10926+
},
1084110927
{
1084210928
"type": "STRING",
1084310929
"value": "||"

0 commit comments

Comments
 (0)