-
Notifications
You must be signed in to change notification settings - Fork 60
/
combobulate-rules.el
2266 lines (2250 loc) · 295 KB
/
combobulate-rules.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;; -*- lexical-binding: t -*-
;; This file is generated by build-relationships.py
;; Do not edit this file directly.
;; START Production rules for yaml
(defconst combobulate-rules-yaml
'(("alias" (:*unnamed* ("alias_name")))
("alias_name" (:*unnamed* nil))
("anchor" (:*unnamed* ("anchor_name")))
("anchor_name" (:*unnamed* nil))
("block_mapping" (:*unnamed* ("block_mapping_pair")))
("block_mapping_pair" (:*unnamed* nil :key ("flow_node" "block_node") :value ("flow_node" "block_node")))
("block_node" (:*unnamed* ("block_sequence" "tag" "block_mapping" "anchor" "block_scalar")))
("block_scalar" (:*unnamed* nil))
("block_sequence" (:*unnamed* ("block_sequence_item")))
("block_sequence_item" (:*unnamed* ("flow_node" "block_node")))
("boolean_scalar" (:*unnamed* nil))
("comment" (:*unnamed* nil))
("directive_name" (:*unnamed* nil))
("directive_parameter" (:*unnamed* nil))
("document" (:*unnamed* ("flow_node" "tag_directive" "yaml_directive" "reserved_directive" "block_node")))
("double_quote_scalar" (:*unnamed* ("escape_sequence")))
("escape_sequence" (:*unnamed* nil))
("float_scalar" (:*unnamed* nil))
("flow_mapping" (:*unnamed* ("flow_node" "flow_pair")))
("flow_node" (:*unnamed* ("tag" "anchor" "alias" "flow_sequence" "plain_scalar" "flow_mapping" "single_quote_scalar" "double_quote_scalar")))
("flow_pair" (:*unnamed* nil :key ("flow_node") :value ("flow_node")))
("flow_sequence" (:*unnamed* ("flow_node" "flow_pair")))
("integer_scalar" (:*unnamed* nil))
("null_scalar" (:*unnamed* nil))
("plain_scalar" (:*unnamed* ("integer_scalar" "boolean_scalar" "string_scalar" "null_scalar" "float_scalar")))
("reserved_directive" (:*unnamed* ("directive_name" "directive_parameter")))
("single_quote_scalar" (:*unnamed* ("escape_sequence")))
("stream" (:*unnamed* ("document")))
("string_scalar" (:*unnamed* nil))
("tag" (:*unnamed* nil))
("tag_directive" (:*unnamed* ("tag_handle" "tag_prefix")))
("tag_handle" (:*unnamed* nil))
("tag_prefix" (:*unnamed* nil))
("yaml_directive" (:*unnamed* ("yaml_version")))
("yaml_version" (:*unnamed* nil))
))
;; END Production rules for yaml
;; START Inverse production rules for yaml
(defconst combobulate-rules-yaml-inverse
'(("alias" ("flow_node"))
("alias_name" ("alias"))
("anchor" ("flow_node" "block_node"))
("anchor_name" ("anchor"))
("block_mapping" ("block_node"))
("block_mapping_pair" ("block_mapping"))
("block_node" ("block_sequence_item" "document" "block_mapping_pair"))
("block_scalar" ("block_node"))
("block_sequence" ("block_node"))
("block_sequence_item" ("block_sequence"))
("boolean_scalar" ("plain_scalar"))
("directive_name" ("reserved_directive"))
("directive_parameter" ("reserved_directive"))
("document" ("stream"))
("double_quote_scalar" ("flow_node"))
("escape_sequence" ("single_quote_scalar" "double_quote_scalar"))
("float_scalar" ("plain_scalar"))
("flow_mapping" ("flow_node"))
("flow_node" ("block_sequence_item" "document" "flow_sequence" "block_mapping_pair" "flow_pair" "flow_mapping"))
("flow_pair" ("flow_mapping" "flow_sequence"))
("flow_sequence" ("flow_node"))
("integer_scalar" ("plain_scalar"))
("null_scalar" ("plain_scalar"))
("plain_scalar" ("flow_node"))
("reserved_directive" ("document"))
("single_quote_scalar" ("flow_node"))
("string_scalar" ("plain_scalar"))
("tag" ("flow_node" "block_node"))
("tag_directive" ("document"))
("tag_handle" ("tag_directive"))
("tag_prefix" ("tag_directive"))
("yaml_directive" ("document"))
("yaml_version" ("yaml_directive"))
)
)
;; END Inverse production rules for yaml
;; START All node types in yaml
(defconst combobulate-rules-yaml-types
'("alias" "alias_name" "anchor" "anchor_name" "block_mapping" "block_mapping_pair" "block_node" "block_scalar" "block_sequence" "block_sequence_item" "boolean_scalar" "comment" "directive_name" "directive_parameter" "document" "double_quote_scalar" "escape_sequence" "float_scalar" "flow_mapping" "flow_node" "flow_pair" "flow_sequence" "integer_scalar" "null_scalar" "plain_scalar" "reserved_directive" "single_quote_scalar" "stream" "string_scalar" "tag" "tag_directive" "tag_handle" "tag_prefix" "yaml_directive" "yaml_version")
)
;; END All node types in yaml
;; START All supertypes in yaml
(defconst combobulate-rules-yaml-supertypes
nil
)
;; END All supertypes in yaml
;; START Production rules for tsx
(defconst combobulate-rules-tsx
'(("_primary_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("abstract_class_declaration" (:*unnamed* ("class_heritage") :body ("class_body") :decorator ("decorator") :name ("type_identifier") :type_parameters ("type_parameters")))
("abstract_method_signature" (:*unnamed* ("accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("accessibility_modifier" (:*unnamed* nil))
("ambient_declaration" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "property_identifier" "array_type" "intersection_type" "declaration" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "statement_block" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("arguments" (:*unnamed* ("spread_element" "expression")))
("array" (:*unnamed* ("spread_element" "expression")))
("array_pattern" (:*unnamed* ("assignment_pattern" "pattern")))
("array_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("arrow_function" (:*unnamed* nil :body ("expression" "statement_block") :parameter ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("as_expression" (:*unnamed* ("union_type" "expression" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("asserts" (:*unnamed* ("this" "type_predicate" "identifier")))
("asserts_annotation" (:*unnamed* ("asserts")))
("assignment_expression" (:*unnamed* nil :left ("object_pattern" "subscript_expression" "member_expression" "identifier" "parenthesized_expression" "non_null_expression" "undefined" "array_pattern") :right ("expression")))
("assignment_pattern" (:*unnamed* nil :left ("pattern") :right ("expression")))
("augmented_assignment_expression" (:*unnamed* nil :left ("parenthesized_expression" "non_null_expression" "subscript_expression" "identifier" "member_expression") :operator nil :right ("expression")))
("await_expression" (:*unnamed* ("expression")))
("binary_expression" (:*unnamed* nil :left ("expression") :operator nil :right ("expression")))
("break_statement" (:*unnamed* nil :label ("statement_identifier")))
("call_expression" (:*unnamed* nil :arguments ("template_string" "arguments") :function ("expression") :type_arguments ("type_arguments")))
("call_signature" (:*unnamed* nil :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("catch_clause" (:*unnamed* nil :body ("statement_block") :parameter ("array_pattern" "object_pattern" "identifier") :type ("type_annotation")))
("class" (:*unnamed* ("class_heritage") :body ("class_body") :decorator ("decorator") :name ("type_identifier") :type_parameters ("type_parameters")))
("class_body" (:*unnamed* ("index_signature" "method_signature" "decorator" "class_static_block" "public_field_definition" "method_definition" "abstract_method_signature")))
("class_declaration" (:*unnamed* ("class_heritage") :body ("class_body") :decorator ("decorator") :name ("type_identifier") :type_parameters ("type_parameters")))
("class_heritage" (:*unnamed* ("implements_clause" "extends_clause")))
("class_static_block" (:*unnamed* nil :body ("statement_block")))
("comment" (:*unnamed* nil))
("computed_property_name" (:*unnamed* ("expression")))
("conditional_type" (:*unnamed* nil :alternative ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :consequence ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :left ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :right ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("constraint" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("construct_signature" (:*unnamed* nil :parameters ("formal_parameters") :type ("type_annotation") :type_parameters ("type_parameters")))
("constructor_type" (:*unnamed* nil :parameters ("formal_parameters") :type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :type_parameters ("type_parameters")))
("continue_statement" (:*unnamed* nil :label ("statement_identifier")))
("debugger_statement" (:*unnamed* nil))
("declaration" (:*unnamed* ("generator_function_declaration" "interface_declaration" "abstract_class_declaration" "function_declaration" "internal_module" "ambient_declaration" "enum_declaration" "module" "function_signature" "type_alias_declaration" "class_declaration" "import_alias" "variable_declaration" "lexical_declaration")))
("decorator" (:*unnamed* ("member_expression" "identifier" "call_expression")))
("default_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("do_statement" (:*unnamed* nil :body ("statement") :condition ("parenthesized_expression")))
("else_clause" (:*unnamed* ("statement")))
("empty_statement" (:*unnamed* nil))
("enum_assignment" (:*unnamed* nil :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :value ("expression")))
("enum_body" (:*unnamed* ("enum_assignment") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number")))
("enum_declaration" (:*unnamed* nil :body ("enum_body") :name ("identifier")))
("escape_sequence" (:*unnamed* nil))
("existential_type" (:*unnamed* nil))
("export_clause" (:*unnamed* ("export_specifier")))
("export_specifier" (:*unnamed* nil :alias ("string" "identifier") :name ("string" "identifier")))
("export_statement" (:*unnamed* ("namespace_export" "expression" "identifier" "export_clause") :declaration ("declaration") :decorator ("decorator") :source ("string") :value ("expression")))
("expression" (:*unnamed* ("yield_expression" "primary_expression" "await_expression" "update_expression" "glimmer_template" "ternary_expression" "unary_expression" "instantiation_expression" "assignment_expression" "as_expression" "augmented_assignment_expression" "internal_module" "jsx_element" "binary_expression" "new_expression" "jsx_self_closing_element" "satisfies_expression")))
("expression_statement" (:*unnamed* ("sequence_expression" "expression")))
("extends_clause" (:*unnamed* nil :type_arguments ("type_arguments") :value ("expression")))
("extends_type_clause" (:*unnamed* nil :type ("type_identifier" "generic_type" "nested_type_identifier")))
("false" (:*unnamed* nil))
("finally_clause" (:*unnamed* nil :body ("statement_block")))
("flow_maybe_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("for_in_statement" (:*unnamed* nil :body ("statement") :kind nil :left ("object_pattern" "subscript_expression" "member_expression" "identifier" "parenthesized_expression" "non_null_expression" "undefined" "array_pattern") :operator nil :right ("sequence_expression" "expression") :value ("expression")))
("for_statement" (:*unnamed* nil :body ("statement") :condition ("expression_statement" "empty_statement") :increment ("sequence_expression" "expression") :initializer ("lexical_declaration" "expression_statement" "empty_statement" "variable_declaration")))
("formal_parameters" (:*unnamed* ("optional_parameter" "required_parameter")))
("function" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("function_declaration" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("function_signature" (:*unnamed* nil :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("function_type" (:*unnamed* nil :parameters ("formal_parameters") :return_type ("union_type" "asserts" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "type_predicate" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :type_parameters ("type_parameters")))
("generator_function" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("generator_function_declaration" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("generic_type" (:*unnamed* nil :name ("type_identifier" "nested_type_identifier") :type_arguments ("type_arguments")))
("glimmer_closing_tag" (:*unnamed* nil))
("glimmer_opening_tag" (:*unnamed* nil))
("glimmer_template" (:*unnamed* nil :close_tag ("glimmer_closing_tag") :open_tag ("glimmer_opening_tag")))
("hash_bang_line" (:*unnamed* nil))
("identifier" (:*unnamed* nil))
("if_statement" (:*unnamed* nil :alternative ("else_clause") :condition ("parenthesized_expression") :consequence ("statement")))
("implements_clause" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("import" (:*unnamed* nil))
("import_alias" (:*unnamed* ("nested_identifier" "identifier")))
("import_clause" (:*unnamed* ("namespace_import" "named_imports" "identifier")))
("import_require_clause" (:*unnamed* ("identifier") :source ("string")))
("import_specifier" (:*unnamed* nil :alias ("identifier") :name ("string" "identifier")))
("import_statement" (:*unnamed* ("import_clause" "import_require_clause") :source ("string")))
("index_signature" (:*unnamed* ("mapped_type_clause") :index_type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :name ("identifier") :sign nil :type ("type_annotation" "opting_type_annotation" "omitting_type_annotation")))
("index_type_query" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("infer_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("instantiation_expression" (:*unnamed* ("expression") :function ("import" "member_expression" "subscript_expression" "identifier") :type_arguments ("type_arguments")))
("interface_declaration" (:*unnamed* ("extends_type_clause") :body ("object_type") :name ("type_identifier") :type_parameters ("type_parameters")))
("internal_module" (:*unnamed* nil :body ("statement_block") :name ("string" "nested_identifier" "identifier")))
("intersection_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("jsx_attribute" (:*unnamed* ("jsx_expression" "string" "jsx_namespace_name" "property_identifier" "jsx_self_closing_element" "jsx_element")))
("jsx_closing_element" (:*unnamed* nil :name ("member_expression" "jsx_namespace_name" "identifier")))
("jsx_element" (:*unnamed* ("jsx_text" "jsx_expression" "jsx_self_closing_element" "jsx_element") :close_tag ("jsx_closing_element") :open_tag ("jsx_opening_element")))
("jsx_expression" (:*unnamed* ("spread_element" "sequence_expression" "expression")))
("jsx_namespace_name" (:*unnamed* ("identifier")))
("jsx_opening_element" (:*unnamed* nil :attribute ("jsx_expression" "jsx_attribute") :name ("member_expression" "jsx_namespace_name" "identifier") :type_arguments ("type_arguments")))
("jsx_self_closing_element" (:*unnamed* nil :attribute ("jsx_expression" "jsx_attribute") :name ("member_expression" "jsx_namespace_name" "identifier") :type_arguments ("type_arguments")))
("jsx_text" (:*unnamed* nil))
("labeled_statement" (:*unnamed* nil :body ("statement") :label ("statement_identifier")))
("lexical_declaration" (:*unnamed* ("variable_declarator") :kind nil))
("literal_type" (:*unnamed* ("null" "true" "number" "string" "unary_expression" "undefined" "false")))
("lookup_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("mapped_type_clause" (:*unnamed* nil :alias ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :name ("type_identifier") :type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("member_expression" (:*unnamed* ("member_expression" "identifier" "property_identifier") :object ("expression") :optional_chain ("optional_chain") :property ("property_identifier" "private_property_identifier")))
("meta_property" (:*unnamed* nil))
("method_definition" (:*unnamed* ("override_modifier" "accessibility_modifier") :body ("statement_block") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("method_signature" (:*unnamed* ("override_modifier" "accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("module" (:*unnamed* nil :body ("statement_block") :name ("string" "nested_identifier" "identifier")))
("named_imports" (:*unnamed* ("import_specifier")))
("namespace_export" (:*unnamed* ("string" "identifier")))
("namespace_import" (:*unnamed* ("identifier")))
("nested_identifier" (:*unnamed* ("member_expression" "identifier" "property_identifier")))
("nested_type_identifier" (:*unnamed* nil :module ("nested_identifier" "identifier") :name ("type_identifier")))
("new_expression" (:*unnamed* nil :arguments ("arguments") :constructor ("primary_expression") :type_arguments ("type_arguments")))
("non_null_expression" (:*unnamed* ("expression")))
("null" (:*unnamed* nil))
("number" (:*unnamed* nil))
("object" (:*unnamed* ("pair" "spread_element" "method_definition" "shorthand_property_identifier")))
("object_assignment_pattern" (:*unnamed* nil :left ("shorthand_property_identifier_pattern" "array_pattern" "object_pattern") :right ("expression")))
("object_pattern" (:*unnamed* ("rest_pattern" "shorthand_property_identifier_pattern" "object_assignment_pattern" "pair_pattern")))
("object_type" (:*unnamed* ("call_signature" "index_signature" "method_signature" "export_statement" "construct_signature" "property_signature")))
("omitting_type_annotation" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("opting_type_annotation" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("optional_chain" (:*unnamed* nil))
("optional_parameter" (:*unnamed* ("override_modifier" "accessibility_modifier") :decorator ("decorator") :name ("identifier") :pattern ("this" "pattern") :type ("type_annotation") :value ("expression")))
("optional_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("override_modifier" (:*unnamed* nil))
("pair" (:*unnamed* nil :key ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :value ("expression")))
("pair_pattern" (:*unnamed* nil :key ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :value ("assignment_pattern" "pattern")))
("parenthesized_expression" (:*unnamed* ("sequence_expression" "expression") :type ("type_annotation")))
("parenthesized_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("pattern" (:*unnamed* ("object_pattern" "subscript_expression" "member_expression" "identifier" "rest_pattern" "non_null_expression" "undefined" "array_pattern")))
("predefined_type" (:*unnamed* nil))
("primary_expression" (:*unnamed* ("true" "member_expression" "generator_function" "null" "parenthesized_expression" "template_string" "number" "meta_property" "array" "call_expression" "arrow_function" "this" "function" "string" "import" "subscript_expression" "regex" "identifier" "false" "super" "non_null_expression" "undefined" "class" "object")))
("private_property_identifier" (:*unnamed* nil))
("program" (:*unnamed* ("hash_bang_line" "statement")))
("property_identifier" (:*unnamed* nil))
("property_signature" (:*unnamed* ("override_modifier" "accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :type ("type_annotation")))
("public_field_definition" (:*unnamed* ("override_modifier" "accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :type ("type_annotation") :value ("expression")))
("readonly_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("regex" (:*unnamed* nil :flags ("regex_flags") :pattern ("regex_pattern")))
("regex_flags" (:*unnamed* nil))
("regex_pattern" (:*unnamed* nil))
("required_parameter" (:*unnamed* ("override_modifier" "accessibility_modifier") :decorator ("decorator") :name ("rest_pattern" "identifier") :pattern ("this" "pattern") :type ("type_annotation") :value ("expression")))
("rest_pattern" (:*unnamed* ("identifier" "non_null_expression" "undefined" "subscript_expression" "object_pattern" "array_pattern" "member_expression")))
("rest_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("return_statement" (:*unnamed* ("sequence_expression" "expression")))
("satisfies_expression" (:*unnamed* ("union_type" "expression" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("sequence_expression" (:*unnamed* nil :left ("expression") :right ("sequence_expression" "expression")))
("shorthand_property_identifier" (:*unnamed* nil))
("shorthand_property_identifier_pattern" (:*unnamed* nil))
("spread_element" (:*unnamed* ("expression")))
("statement" (:*unnamed* ("if_statement" "with_statement" "throw_statement" "empty_statement" "return_statement" "while_statement" "import_statement" "break_statement" "continue_statement" "for_in_statement" "declaration" "for_statement" "switch_statement" "do_statement" "statement_block" "debugger_statement" "export_statement" "expression_statement" "labeled_statement" "try_statement")))
("statement_block" (:*unnamed* ("statement")))
("statement_identifier" (:*unnamed* nil))
("string" (:*unnamed* ("escape_sequence" "string_fragment")))
("string_fragment" (:*unnamed* nil))
("subscript_expression" (:*unnamed* nil :index ("predefined_type" "string" "expression" "number" "sequence_expression") :object ("expression") :optional_chain ("optional_chain")))
("super" (:*unnamed* nil))
("switch_body" (:*unnamed* ("switch_default" "switch_case")))
("switch_case" (:*unnamed* nil :body ("statement") :value ("sequence_expression" "expression")))
("switch_default" (:*unnamed* nil :body ("statement")))
("switch_statement" (:*unnamed* nil :body ("switch_body") :value ("parenthesized_expression")))
("template_literal_type" (:*unnamed* ("template_type")))
("template_string" (:*unnamed* ("escape_sequence" "template_substitution")))
("template_substitution" (:*unnamed* ("sequence_expression" "expression")))
("template_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("ternary_expression" (:*unnamed* nil :alternative ("expression") :condition ("expression") :consequence ("expression")))
("this" (:*unnamed* nil))
("this_type" (:*unnamed* nil))
("throw_statement" (:*unnamed* ("sequence_expression" "expression")))
("true" (:*unnamed* nil))
("try_statement" (:*unnamed* nil :body ("statement_block") :finalizer ("finally_clause") :handler ("catch_clause")))
("tuple_type" (:*unnamed* ("union_type" "optional_parameter" "template_literal_type" "lookup_type" "conditional_type" "optional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "rest_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "required_parameter" "tuple_type" "readonly_type")))
("type_alias_declaration" (:*unnamed* nil :name ("type_identifier") :type_parameters ("type_parameters") :value ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_annotation" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_arguments" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_identifier" (:*unnamed* nil))
("type_parameter" (:*unnamed* nil :constraint ("constraint") :name ("type_identifier") :value ("default_type")))
("type_parameters" (:*unnamed* ("type_parameter")))
("type_predicate" (:*unnamed* nil :name ("this" "identifier") :type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_predicate_annotation" (:*unnamed* ("type_predicate")))
("type_query" (:*unnamed* ("instantiation_expression" "subscript_expression" "identifier" "member_expression" "call_expression")))
("unary_expression" (:*unnamed* nil :argument ("expression" "number") :operator nil))
("undefined" (:*unnamed* nil))
("union_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("update_expression" (:*unnamed* nil :argument ("expression") :operator nil))
("variable_declaration" (:*unnamed* ("variable_declarator")))
("variable_declarator" (:*unnamed* nil :name ("array_pattern" "object_pattern" "identifier") :type ("type_annotation") :value ("expression")))
("while_statement" (:*unnamed* nil :body ("statement") :condition ("parenthesized_expression")))
("with_statement" (:*unnamed* nil :body ("statement") :object ("parenthesized_expression")))
("yield_expression" (:*unnamed* ("expression")))
))
;; END Production rules for tsx
;; START Inverse production rules for tsx
(defconst combobulate-rules-tsx-inverse
'(("abstract_class_declaration" ("declaration"))
("abstract_method_signature" ("class_body"))
("accessibility_modifier" ("method_signature" "method_definition" "abstract_method_signature" "public_field_definition" "optional_parameter" "required_parameter" "property_signature"))
("ambient_declaration" ("declaration"))
("arguments" ("new_expression" "call_expression"))
("array" ("primary_expression"))
("array_pattern" ("pattern" "catch_clause" "assignment_expression" "variable_declarator" "rest_pattern" "for_in_statement" "object_assignment_pattern"))
("array_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("arrow_function" ("primary_expression"))
("as_expression" ("expression"))
("asserts" ("function_type" "asserts_annotation"))
("asserts_annotation" ("arrow_function" "call_signature" "function" "generator_function_declaration" "function_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "function_signature"))
("assignment_expression" ("expression"))
("assignment_pattern" ("array_pattern" "pair_pattern"))
("augmented_assignment_expression" ("expression"))
("await_expression" ("expression"))
("binary_expression" ("expression"))
("break_statement" ("statement"))
("call_expression" ("decorator" "primary_expression" "type_query"))
("call_signature" ("object_type"))
("catch_clause" ("try_statement"))
("class" ("primary_expression"))
("class_body" ("abstract_class_declaration" "class" "class_declaration"))
("class_declaration" ("declaration"))
("class_heritage" ("abstract_class_declaration" "class" "class_declaration"))
("class_static_block" ("class_body"))
("computed_property_name" ("method_signature" "enum_body" "enum_assignment" "method_definition" "abstract_method_signature" "pair_pattern" "pair" "public_field_definition" "property_signature"))
("conditional_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("constraint" ("type_parameter"))
("construct_signature" ("object_type"))
("constructor_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("continue_statement" ("statement"))
("debugger_statement" ("statement"))
("declaration" ("export_statement" "ambient_declaration" "statement"))
("decorator" ("abstract_class_declaration" "class_body" "export_statement" "class_declaration" "optional_parameter" "required_parameter" "class"))
("default_type" ("type_parameter"))
("do_statement" ("statement"))
("else_clause" ("if_statement"))
("empty_statement" ("for_statement" "statement"))
("enum_assignment" ("enum_body"))
("enum_body" ("enum_declaration"))
("enum_declaration" ("declaration"))
("escape_sequence" ("string" "template_string"))
("existential_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("export_clause" ("export_statement"))
("export_specifier" ("export_clause"))
("export_statement" ("object_type" "statement"))
("expression" ("member_expression" "update_expression" "parenthesized_expression" "template_substitution" "instantiation_expression" "call_expression" "enum_assignment" "computed_property_name" "augmented_assignment_expression" "binary_expression" "non_null_expression" "spread_element" "optional_parameter" "required_parameter" "expression_statement" "switch_case" "yield_expression" "throw_statement" "return_statement" "await_expression" "pair" "variable_declarator" "assignment_pattern" "jsx_expression" "for_in_statement" "ternary_expression" "array" "public_field_definition" "unary_expression" "object_assignment_pattern" "arrow_function" "for_statement" "assignment_expression" "as_expression" "export_statement" "extends_clause" "arguments" "sequence_expression" "subscript_expression" "satisfies_expression"))
("expression_statement" ("for_statement" "statement"))
("extends_clause" ("class_heritage"))
("extends_type_clause" ("interface_declaration"))
("false" ("primary_expression" "literal_type"))
("finally_clause" ("try_statement"))
("flow_maybe_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("for_in_statement" ("statement"))
("for_statement" ("statement"))
("formal_parameters" ("arrow_function" "call_signature" "function" "generator_function_declaration" "function_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "constructor_type" "function_signature" "function_type" "construct_signature"))
("function" ("primary_expression"))
("function_declaration" ("declaration"))
("function_signature" ("declaration"))
("function_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("generator_function" ("primary_expression"))
("generator_function_declaration" ("declaration"))
("generic_type" ("union_type" "lookup_type" "optional_type" "extends_type_clause" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "mapped_type_clause" "conditional_type" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("glimmer_closing_tag" ("glimmer_template"))
("glimmer_opening_tag" ("glimmer_template"))
("glimmer_template" ("expression"))
("hash_bang_line" ("program"))
("identifier" ("generator_function_declaration" "import_require_clause" "namespace_export" "member_expression" "generator_function" "import_clause" "import_specifier" "instantiation_expression" "namespace_import" "pattern" "augmented_assignment_expression" "internal_module" "enum_declaration" "rest_pattern" "function_signature" "optional_parameter" "required_parameter" "function_declaration" "primary_expression" "asserts" "catch_clause" "export_specifier" "jsx_closing_element" "module" "variable_declarator" "for_in_statement" "decorator" "import_alias" "nested_identifier" "arrow_function" "function" "index_signature" "jsx_opening_element" "type_query" "assignment_expression" "nested_type_identifier" "type_predicate" "export_statement" "jsx_namespace_name" "jsx_self_closing_element"))
("if_statement" ("statement"))
("implements_clause" ("class_heritage"))
("import" ("instantiation_expression" "primary_expression"))
("import_alias" ("declaration"))
("import_clause" ("import_statement"))
("import_require_clause" ("import_statement"))
("import_specifier" ("named_imports"))
("import_statement" ("statement"))
("index_signature" ("object_type" "class_body"))
("index_type_query" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("infer_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("instantiation_expression" ("expression" "type_query"))
("interface_declaration" ("declaration"))
("internal_module" ("declaration" "expression"))
("intersection_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("jsx_attribute" ("jsx_self_closing_element" "jsx_opening_element"))
("jsx_closing_element" ("jsx_element"))
("jsx_element" ("jsx_element" "expression" "jsx_attribute"))
("jsx_expression" ("jsx_self_closing_element" "jsx_element" "jsx_opening_element" "jsx_attribute"))
("jsx_namespace_name" ("jsx_closing_element" "jsx_self_closing_element" "jsx_opening_element" "jsx_attribute"))
("jsx_opening_element" ("jsx_element"))
("jsx_self_closing_element" ("jsx_element" "expression" "jsx_attribute"))
("jsx_text" ("jsx_element"))
("labeled_statement" ("statement"))
("lexical_declaration" ("for_statement" "declaration"))
("literal_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("lookup_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("mapped_type_clause" ("index_signature"))
("member_expression" ("pattern" "primary_expression" "jsx_opening_element" "type_query" "augmented_assignment_expression" "assignment_expression" "member_expression" "jsx_closing_element" "rest_pattern" "for_in_statement" "decorator" "nested_identifier" "jsx_self_closing_element" "instantiation_expression"))
("meta_property" ("primary_expression"))
("method_definition" ("class_body" "object"))
("method_signature" ("object_type" "class_body"))
("module" ("declaration"))
("named_imports" ("import_clause"))
("namespace_export" ("export_statement"))
("namespace_import" ("import_clause"))
("nested_identifier" ("module" "internal_module" "import_alias" "nested_type_identifier"))
("nested_type_identifier" ("union_type" "lookup_type" "optional_type" "extends_type_clause" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "mapped_type_clause" "conditional_type" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "generic_type" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("new_expression" ("expression"))
("non_null_expression" ("pattern" "primary_expression" "augmented_assignment_expression" "assignment_expression" "rest_pattern" "for_in_statement"))
("null" ("primary_expression" "literal_type"))
("number" ("enum_body" "enum_assignment" "method_signature" "primary_expression" "literal_type" "method_definition" "abstract_method_signature" "pair_pattern" "pair" "unary_expression" "public_field_definition" "subscript_expression" "property_signature"))
("object" ("primary_expression"))
("object_assignment_pattern" ("object_pattern"))
("object_pattern" ("pattern" "catch_clause" "assignment_expression" "variable_declarator" "rest_pattern" "for_in_statement" "object_assignment_pattern"))
("object_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "interface_declaration" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("omitting_type_annotation" ("index_signature"))
("opting_type_annotation" ("index_signature"))
("optional_chain" ("subscript_expression" "member_expression"))
("optional_parameter" ("formal_parameters" "tuple_type"))
("optional_type" ("tuple_type"))
("override_modifier" ("method_signature" "method_definition" "public_field_definition" "optional_parameter" "required_parameter" "property_signature"))
("pair" ("object"))
("pair_pattern" ("object_pattern"))
("parenthesized_expression" ("if_statement" "with_statement" "primary_expression" "while_statement" "switch_statement" "augmented_assignment_expression" "assignment_expression" "do_statement" "for_in_statement"))
("parenthesized_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("pattern" ("pair_pattern" "assignment_pattern" "optional_parameter" "required_parameter" "array_pattern"))
("predefined_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "subscript_expression" "satisfies_expression"))
("primary_expression" ("expression" "new_expression"))
("private_property_identifier" ("enum_body" "enum_assignment" "method_signature" "method_definition" "member_expression" "abstract_method_signature" "pair_pattern" "pair" "public_field_definition" "property_signature"))
("property_identifier" ("enum_body" "enum_assignment" "method_signature" "jsx_attribute" "method_definition" "abstract_method_signature" "ambient_declaration" "member_expression" "pair" "pair_pattern" "nested_identifier" "public_field_definition" "property_signature"))
("property_signature" ("object_type"))
("public_field_definition" ("class_body"))
("readonly_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("regex" ("primary_expression"))
("regex_flags" ("regex"))
("regex_pattern" ("regex"))
("required_parameter" ("formal_parameters" "tuple_type"))
("rest_pattern" ("required_parameter" "object_pattern" "pattern"))
("rest_type" ("tuple_type"))
("return_statement" ("statement"))
("satisfies_expression" ("expression"))
("sequence_expression" ("for_statement" "throw_statement" "return_statement" "subscript_expression" "jsx_expression" "for_in_statement" "parenthesized_expression" "switch_case" "sequence_expression" "expression_statement" "template_substitution"))
("shorthand_property_identifier" ("object"))
("shorthand_property_identifier_pattern" ("object_pattern" "object_assignment_pattern"))
("spread_element" ("array" "jsx_expression" "object" "arguments"))
("statement" ("for_statement" "if_statement" "with_statement" "switch_default" "while_statement" "do_statement" "statement_block" "else_clause" "for_in_statement" "switch_case" "labeled_statement" "program"))
("statement_block" ("arrow_function" "function" "generator_function_declaration" "function_declaration" "class_static_block" "statement" "catch_clause" "internal_module" "method_definition" "ambient_declaration" "generator_function" "module" "finally_clause" "try_statement"))
("statement_identifier" ("break_statement" "continue_statement" "labeled_statement"))
("string" ("import_require_clause" "namespace_export" "import_specifier" "enum_body" "enum_assignment" "internal_module" "method_definition" "method_signature" "primary_expression" "jsx_attribute" "abstract_method_signature" "import_statement" "export_specifier" "module" "pair" "pair_pattern" "public_field_definition" "property_signature" "literal_type" "export_statement" "subscript_expression"))
("string_fragment" ("string"))
("subscript_expression" ("pattern" "primary_expression" "type_query" "augmented_assignment_expression" "assignment_expression" "rest_pattern" "for_in_statement" "instantiation_expression"))
("super" ("primary_expression"))
("switch_body" ("switch_statement"))
("switch_case" ("switch_body"))
("switch_default" ("switch_body"))
("switch_statement" ("statement"))
("template_literal_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("template_string" ("primary_expression" "call_expression"))
("template_substitution" ("template_string"))
("template_type" ("template_literal_type"))
("ternary_expression" ("expression"))
("this" ("primary_expression" "asserts" "type_predicate" "optional_parameter" "required_parameter"))
("this_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("throw_statement" ("statement"))
("true" ("primary_expression" "literal_type"))
("try_statement" ("statement"))
("tuple_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("type_alias_declaration" ("declaration"))
("type_annotation" ("call_signature" "generator_function_declaration" "generator_function" "parenthesized_expression" "construct_signature" "method_definition" "function_signature" "optional_parameter" "required_parameter" "method_signature" "function_declaration" "catch_clause" "abstract_method_signature" "variable_declarator" "public_field_definition" "property_signature" "arrow_function" "function" "index_signature"))
("type_arguments" ("jsx_opening_element" "extends_clause" "new_expression" "jsx_self_closing_element" "generic_type" "instantiation_expression" "call_expression"))
("type_identifier" ("union_type" "lookup_type" "optional_type" "extends_type_clause" "type_alias_declaration" "type_parameter" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "interface_declaration" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "generic_type" "index_signature" "abstract_class_declaration" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "nested_type_identifier" "constructor_type" "type_predicate" "class_declaration" "flow_maybe_type" "class" "satisfies_expression"))
("type_parameter" ("type_parameters"))
("type_parameters" ("arrow_function" "call_signature" "abstract_class_declaration" "function" "function_declaration" "generator_function_declaration" "interface_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "constructor_type" "function_signature" "function_type" "class_declaration" "type_alias_declaration" "class" "construct_signature"))
("type_predicate" ("asserts" "function_type" "type_predicate_annotation"))
("type_predicate_annotation" ("arrow_function" "call_signature" "function" "generator_function_declaration" "function_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "function_signature"))
("type_query" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("unary_expression" ("expression" "literal_type"))
("undefined" ("pattern" "primary_expression" "literal_type" "assignment_expression" "rest_pattern" "for_in_statement"))
("union_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("update_expression" ("expression"))
("variable_declaration" ("for_statement" "declaration"))
("variable_declarator" ("lexical_declaration" "variable_declaration"))
("while_statement" ("statement"))
("with_statement" ("statement"))
("yield_expression" ("expression"))
)
)
;; END Inverse production rules for tsx
;; START All node types in tsx
(defconst combobulate-rules-tsx-types
'("_primary_type" "abstract_class_declaration" "abstract_method_signature" "accessibility_modifier" "ambient_declaration" "arguments" "array" "array_pattern" "array_type" "arrow_function" "as_expression" "asserts" "asserts_annotation" "assignment_expression" "assignment_pattern" "augmented_assignment_expression" "await_expression" "binary_expression" "break_statement" "call_expression" "call_signature" "catch_clause" "class" "class_body" "class_declaration" "class_heritage" "class_static_block" "comment" "computed_property_name" "conditional_type" "constraint" "construct_signature" "constructor_type" "continue_statement" "debugger_statement" "declaration" "decorator" "default_type" "do_statement" "else_clause" "empty_statement" "enum_assignment" "enum_body" "enum_declaration" "escape_sequence" "existential_type" "export_clause" "export_specifier" "export_statement" "expression" "expression_statement" "extends_clause" "extends_type_clause" "false" "finally_clause" "flow_maybe_type" "for_in_statement" "for_statement" "formal_parameters" "function" "function_declaration" "function_signature" "function_type" "generator_function" "generator_function_declaration" "generic_type" "glimmer_closing_tag" "glimmer_opening_tag" "glimmer_template" "hash_bang_line" "identifier" "if_statement" "implements_clause" "import" "import_alias" "import_clause" "import_require_clause" "import_specifier" "import_statement" "index_signature" "index_type_query" "infer_type" "instantiation_expression" "interface_declaration" "internal_module" "intersection_type" "jsx_attribute" "jsx_closing_element" "jsx_element" "jsx_expression" "jsx_namespace_name" "jsx_opening_element" "jsx_self_closing_element" "jsx_text" "labeled_statement" "lexical_declaration" "literal_type" "lookup_type" "mapped_type_clause" "member_expression" "meta_property" "method_definition" "method_signature" "module" "named_imports" "namespace_export" "namespace_import" "nested_identifier" "nested_type_identifier" "new_expression" "non_null_expression" "null" "number" "object" "object_assignment_pattern" "object_pattern" "object_type" "omitting_type_annotation" "opting_type_annotation" "optional_chain" "optional_parameter" "optional_type" "override_modifier" "pair" "pair_pattern" "parenthesized_expression" "parenthesized_type" "pattern" "predefined_type" "primary_expression" "private_property_identifier" "program" "property_identifier" "property_signature" "public_field_definition" "readonly_type" "regex" "regex_flags" "regex_pattern" "required_parameter" "rest_pattern" "rest_type" "return_statement" "satisfies_expression" "sequence_expression" "shorthand_property_identifier" "shorthand_property_identifier_pattern" "spread_element" "statement" "statement_block" "statement_identifier" "string" "string_fragment" "subscript_expression" "super" "switch_body" "switch_case" "switch_default" "switch_statement" "template_literal_type" "template_string" "template_substitution" "template_type" "ternary_expression" "this" "this_type" "throw_statement" "true" "try_statement" "tuple_type" "type_alias_declaration" "type_annotation" "type_arguments" "type_identifier" "type_parameter" "type_parameters" "type_predicate" "type_predicate_annotation" "type_query" "unary_expression" "undefined" "union_type" "update_expression" "variable_declaration" "variable_declarator" "while_statement" "with_statement" "yield_expression")
)
;; END All node types in tsx
;; START All supertypes in tsx
(defconst combobulate-rules-tsx-supertypes
'("_primary_type" "declaration" "expression" "pattern" "primary_expression" "statement")
)
;; END All supertypes in tsx
;; START Production rules for css
(defconst combobulate-rules-css
'(("adjacent_sibling_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("arguments" (:*unnamed* ("parenthesized_value" "namespace_selector" "id_selector" "attribute_selector" "important" "pseudo_element_selector" "string_value" "call_expression" "grid_value" "pseudo_class_selector" "float_value" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "tag_name" "plain_value" "universal_selector" "binary_expression" "color_value" "sibling_selector" "child_selector" "integer_value")))
("at_keyword" (:*unnamed* nil))
("at_rule" (:*unnamed* ("binary_query" "at_keyword" "block" "selector_query" "unary_query" "feature_query" "parenthesized_query" "keyword_query")))
("attribute_name" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("attribute_selector" (:*unnamed* ("parenthesized_value" "namespace_selector" "id_selector" "attribute_selector" "important" "pseudo_element_selector" "string_value" "call_expression" "grid_value" "pseudo_class_selector" "float_value" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "tag_name" "plain_value" "universal_selector" "binary_expression" "color_value" "attribute_name" "sibling_selector" "child_selector" "integer_value")))
("binary_expression" (:*unnamed* ("parenthesized_value" "float_value" "important" "plain_value" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("binary_query" (:*unnamed* ("binary_query" "parenthesized_query" "selector_query" "unary_query" "feature_query" "keyword_query")))
("block" (:*unnamed* ("rule_set" "keyframes_statement" "supports_statement" "declaration" "import_statement" "media_statement" "at_rule" "charset_statement" "namespace_statement" "postcss_statement")))
("call_expression" (:*unnamed* ("function_name" "arguments")))
("charset_statement" (:*unnamed* ("parenthesized_value" "float_value" "important" "plain_value" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("child_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("class_name" (:*unnamed* nil))
("class_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector" "class_name")))
("color_value" (:*unnamed* nil))
("comment" (:*unnamed* nil))
("declaration" (:*unnamed* ("parenthesized_value" "float_value" "important" "property_name" "plain_value" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("descendant_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("feature_name" (:*unnamed* nil))
("feature_query" (:*unnamed* ("parenthesized_value" "float_value" "important" "plain_value" "feature_name" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("float_value" (:*unnamed* ("unit")))
("from" (:*unnamed* nil))
("function_name" (:*unnamed* nil))
("grid_value" (:*unnamed* ("parenthesized_value" "float_value" "important" "plain_value" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("id_name" (:*unnamed* nil))
("id_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector" "id_name")))
("import_statement" (:*unnamed* ("parenthesized_value" "binary_query" "unary_query" "important" "string_value" "parenthesized_query" "call_expression" "keyword_query" "grid_value" "selector_query" "float_value" "feature_query" "plain_value" "binary_expression" "color_value" "integer_value")))
("important" (:*unnamed* nil))
("integer_value" (:*unnamed* ("unit")))
("js_comment" (:*unnamed* nil))
("keyframe_block" (:*unnamed* ("from" "block" "to" "integer_value")))
("keyframe_block_list" (:*unnamed* ("keyframe_block")))
("keyframes_name" (:*unnamed* nil))
("keyframes_statement" (:*unnamed* ("at_keyword" "keyframes_name" "keyframe_block_list")))
("keyword_query" (:*unnamed* nil))
("media_statement" (:*unnamed* ("selector_query" "binary_query" "parenthesized_query" "block" "unary_query" "feature_query" "keyword_query")))
("namespace_name" (:*unnamed* nil))
("namespace_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("namespace_statement" (:*unnamed* ("string_value" "namespace_name" "call_expression")))
("nesting_selector" (:*unnamed* nil))
("parenthesized_query" (:*unnamed* ("binary_query" "parenthesized_query" "selector_query" "unary_query" "feature_query" "keyword_query")))
("parenthesized_value" (:*unnamed* ("parenthesized_value" "float_value" "important" "plain_value" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("plain_value" (:*unnamed* nil))
("postcss_statement" (:*unnamed* ("parenthesized_value" "at_keyword" "float_value" "important" "plain_value" "string_value" "binary_expression" "color_value" "integer_value" "call_expression" "grid_value")))
("property_name" (:*unnamed* nil))
("pseudo_class_selector" (:*unnamed* ("namespace_selector" "id_selector" "attribute_selector" "pseudo_element_selector" "string_value" "pseudo_class_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "tag_name" "universal_selector" "arguments" "sibling_selector" "child_selector" "class_name")))
("pseudo_element_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "arguments" "sibling_selector" "child_selector")))
("rule_set" (:*unnamed* ("block" "selectors")))
("selector_query" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("selectors" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("sibling_selector" (:*unnamed* ("pseudo_class_selector" "namespace_selector" "id_selector" "class_selector" "nesting_selector" "adjacent_sibling_selector" "descendant_selector" "attribute_selector" "pseudo_element_selector" "tag_name" "string_value" "universal_selector" "sibling_selector" "child_selector")))
("string_value" (:*unnamed* nil))
("stylesheet" (:*unnamed* ("rule_set" "keyframes_statement" "supports_statement" "declaration" "import_statement" "media_statement" "at_rule" "charset_statement" "namespace_statement")))
("supports_statement" (:*unnamed* ("selector_query" "binary_query" "parenthesized_query" "block" "unary_query" "feature_query" "keyword_query")))
("tag_name" (:*unnamed* nil))
("to" (:*unnamed* nil))
("unary_query" (:*unnamed* ("binary_query" "parenthesized_query" "selector_query" "unary_query" "feature_query" "keyword_query")))
("unit" (:*unnamed* nil))
("universal_selector" (:*unnamed* nil))
))
;; END Production rules for css
;; START Inverse production rules for css
(defconst combobulate-rules-css-inverse
'(("adjacent_sibling_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("arguments" ("pseudo_class_selector" "pseudo_element_selector" "call_expression"))
("at_keyword" ("at_rule" "postcss_statement" "keyframes_statement"))
("at_rule" ("block" "stylesheet"))
("attribute_name" ("attribute_selector"))
("attribute_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("binary_expression" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("binary_query" ("binary_query" "supports_statement" "unary_query" "import_statement" "media_statement" "at_rule" "parenthesized_query"))
("block" ("rule_set" "supports_statement" "media_statement" "at_rule" "keyframe_block"))
("call_expression" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "namespace_statement" "postcss_statement" "grid_value"))
("charset_statement" ("block" "stylesheet"))
("child_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("class_name" ("pseudo_class_selector" "class_selector"))
("class_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("color_value" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("declaration" ("block" "stylesheet"))
("descendant_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("feature_name" ("feature_query"))
("feature_query" ("binary_query" "supports_statement" "unary_query" "import_statement" "media_statement" "at_rule" "parenthesized_query"))
("float_value" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("from" ("keyframe_block"))
("function_name" ("call_expression"))
("grid_value" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("id_name" ("id_selector"))
("id_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("import_statement" ("block" "stylesheet"))
("important" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("integer_value" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "keyframe_block" "postcss_statement" "grid_value"))
("keyframe_block" ("keyframe_block_list"))
("keyframe_block_list" ("keyframes_statement"))
("keyframes_name" ("keyframes_statement"))
("keyframes_statement" ("block" "stylesheet"))
("keyword_query" ("binary_query" "supports_statement" "unary_query" "import_statement" "media_statement" "at_rule" "parenthesized_query"))
("media_statement" ("block" "stylesheet"))
("namespace_name" ("namespace_statement"))
("namespace_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("namespace_statement" ("block" "stylesheet"))
("nesting_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("parenthesized_query" ("binary_query" "supports_statement" "unary_query" "import_statement" "media_statement" "at_rule" "parenthesized_query"))
("parenthesized_value" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("plain_value" ("parenthesized_value" "declaration" "attribute_selector" "feature_query" "import_statement" "binary_expression" "arguments" "charset_statement" "postcss_statement" "grid_value"))
("postcss_statement" ("block"))
("property_name" ("declaration"))
("pseudo_class_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("pseudo_element_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("rule_set" ("block" "stylesheet"))
("selector_query" ("binary_query" "supports_statement" "unary_query" "import_statement" "media_statement" "at_rule" "parenthesized_query"))
("selectors" ("rule_set"))
("sibling_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("string_value" ("namespace_selector" "id_selector" "attribute_selector" "declaration" "postcss_statement" "grid_value" "pseudo_class_selector" "binary_expression" "charset_statement" "parenthesized_value" "import_statement" "pseudo_element_selector" "child_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "descendant_selector" "feature_query" "attribute_name" "arguments" "sibling_selector" "namespace_statement"))
("supports_statement" ("block" "stylesheet"))
("tag_name" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
("to" ("keyframe_block"))
("unary_query" ("binary_query" "supports_statement" "unary_query" "import_statement" "media_statement" "at_rule" "parenthesized_query"))
("unit" ("float_value" "integer_value"))
("universal_selector" ("pseudo_class_selector" "namespace_selector" "id_selector" "selectors" "selector_query" "class_selector" "adjacent_sibling_selector" "attribute_selector" "descendant_selector" "pseudo_element_selector" "attribute_name" "arguments" "sibling_selector" "child_selector"))
)
)
;; END Inverse production rules for css
;; START All node types in css
(defconst combobulate-rules-css-types
'("adjacent_sibling_selector" "arguments" "at_keyword" "at_rule" "attribute_name" "attribute_selector" "binary_expression" "binary_query" "block" "call_expression" "charset_statement" "child_selector" "class_name" "class_selector" "color_value" "comment" "declaration" "descendant_selector" "feature_name" "feature_query" "float_value" "from" "function_name" "grid_value" "id_name" "id_selector" "import_statement" "important" "integer_value" "js_comment" "keyframe_block" "keyframe_block_list" "keyframes_name" "keyframes_statement" "keyword_query" "media_statement" "namespace_name" "namespace_selector" "namespace_statement" "nesting_selector" "parenthesized_query" "parenthesized_value" "plain_value" "postcss_statement" "property_name" "pseudo_class_selector" "pseudo_element_selector" "rule_set" "selector_query" "selectors" "sibling_selector" "string_value" "stylesheet" "supports_statement" "tag_name" "to" "unary_query" "unit" "universal_selector")
)
;; END All node types in css
;; START All supertypes in css
(defconst combobulate-rules-css-supertypes
nil
)
;; END All supertypes in css
;; START Production rules for typescript
(defconst combobulate-rules-typescript
'(("_primary_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("abstract_class_declaration" (:*unnamed* ("class_heritage") :body ("class_body") :decorator ("decorator") :name ("type_identifier") :type_parameters ("type_parameters")))
("abstract_method_signature" (:*unnamed* ("accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("accessibility_modifier" (:*unnamed* nil))
("ambient_declaration" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "property_identifier" "array_type" "intersection_type" "declaration" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "statement_block" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("arguments" (:*unnamed* ("spread_element" "expression")))
("array" (:*unnamed* ("spread_element" "expression")))
("array_pattern" (:*unnamed* ("assignment_pattern" "pattern")))
("array_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("arrow_function" (:*unnamed* nil :body ("expression" "statement_block") :parameter ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("as_expression" (:*unnamed* ("union_type" "expression" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("asserts" (:*unnamed* ("this" "type_predicate" "identifier")))
("asserts_annotation" (:*unnamed* ("asserts")))
("assignment_expression" (:*unnamed* nil :left ("object_pattern" "subscript_expression" "member_expression" "identifier" "parenthesized_expression" "non_null_expression" "undefined" "array_pattern") :right ("expression")))
("assignment_pattern" (:*unnamed* nil :left ("pattern") :right ("expression")))
("augmented_assignment_expression" (:*unnamed* nil :left ("parenthesized_expression" "non_null_expression" "subscript_expression" "identifier" "member_expression") :operator nil :right ("expression")))
("await_expression" (:*unnamed* ("expression")))
("binary_expression" (:*unnamed* nil :left ("expression") :operator nil :right ("expression")))
("break_statement" (:*unnamed* nil :label ("statement_identifier")))
("call_expression" (:*unnamed* nil :arguments ("template_string" "arguments") :function ("expression") :type_arguments ("type_arguments")))
("call_signature" (:*unnamed* nil :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("catch_clause" (:*unnamed* nil :body ("statement_block") :parameter ("array_pattern" "object_pattern" "identifier") :type ("type_annotation")))
("class" (:*unnamed* ("class_heritage") :body ("class_body") :decorator ("decorator") :name ("type_identifier") :type_parameters ("type_parameters")))
("class_body" (:*unnamed* ("index_signature" "method_signature" "decorator" "class_static_block" "public_field_definition" "method_definition" "abstract_method_signature")))
("class_declaration" (:*unnamed* ("class_heritage") :body ("class_body") :decorator ("decorator") :name ("type_identifier") :type_parameters ("type_parameters")))
("class_heritage" (:*unnamed* ("implements_clause" "extends_clause")))
("class_static_block" (:*unnamed* nil :body ("statement_block")))
("comment" (:*unnamed* nil))
("computed_property_name" (:*unnamed* ("expression")))
("conditional_type" (:*unnamed* nil :alternative ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :consequence ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :left ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :right ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("constraint" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("construct_signature" (:*unnamed* nil :parameters ("formal_parameters") :type ("type_annotation") :type_parameters ("type_parameters")))
("constructor_type" (:*unnamed* nil :parameters ("formal_parameters") :type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :type_parameters ("type_parameters")))
("continue_statement" (:*unnamed* nil :label ("statement_identifier")))
("debugger_statement" (:*unnamed* nil))
("declaration" (:*unnamed* ("generator_function_declaration" "interface_declaration" "abstract_class_declaration" "function_declaration" "internal_module" "ambient_declaration" "enum_declaration" "module" "function_signature" "type_alias_declaration" "class_declaration" "import_alias" "variable_declaration" "lexical_declaration")))
("decorator" (:*unnamed* ("member_expression" "identifier" "call_expression")))
("default_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("do_statement" (:*unnamed* nil :body ("statement") :condition ("parenthesized_expression")))
("else_clause" (:*unnamed* ("statement")))
("empty_statement" (:*unnamed* nil))
("enum_assignment" (:*unnamed* nil :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :value ("expression")))
("enum_body" (:*unnamed* ("enum_assignment") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number")))
("enum_declaration" (:*unnamed* nil :body ("enum_body") :name ("identifier")))
("escape_sequence" (:*unnamed* nil))
("existential_type" (:*unnamed* nil))
("export_clause" (:*unnamed* ("export_specifier")))
("export_specifier" (:*unnamed* nil :alias ("string" "identifier") :name ("string" "identifier")))
("export_statement" (:*unnamed* ("namespace_export" "expression" "identifier" "export_clause") :declaration ("declaration") :decorator ("decorator") :source ("string") :value ("expression")))
("expression" (:*unnamed* ("yield_expression" "primary_expression" "await_expression" "update_expression" "glimmer_template" "ternary_expression" "type_assertion" "unary_expression" "instantiation_expression" "assignment_expression" "as_expression" "augmented_assignment_expression" "internal_module" "binary_expression" "new_expression" "satisfies_expression")))
("expression_statement" (:*unnamed* ("sequence_expression" "expression")))
("extends_clause" (:*unnamed* nil :type_arguments ("type_arguments") :value ("expression")))
("extends_type_clause" (:*unnamed* nil :type ("type_identifier" "generic_type" "nested_type_identifier")))
("false" (:*unnamed* nil))
("finally_clause" (:*unnamed* nil :body ("statement_block")))
("flow_maybe_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("for_in_statement" (:*unnamed* nil :body ("statement") :kind nil :left ("object_pattern" "subscript_expression" "member_expression" "identifier" "parenthesized_expression" "non_null_expression" "undefined" "array_pattern") :operator nil :right ("sequence_expression" "expression") :value ("expression")))
("for_statement" (:*unnamed* nil :body ("statement") :condition ("expression_statement" "empty_statement") :increment ("sequence_expression" "expression") :initializer ("lexical_declaration" "expression_statement" "empty_statement" "variable_declaration")))
("formal_parameters" (:*unnamed* ("optional_parameter" "required_parameter")))
("function" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("function_declaration" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("function_signature" (:*unnamed* nil :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("function_type" (:*unnamed* nil :parameters ("formal_parameters") :return_type ("union_type" "asserts" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "type_predicate" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :type_parameters ("type_parameters")))
("generator_function" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("generator_function_declaration" (:*unnamed* nil :body ("statement_block") :name ("identifier") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("generic_type" (:*unnamed* nil :name ("type_identifier" "nested_type_identifier") :type_arguments ("type_arguments")))
("glimmer_closing_tag" (:*unnamed* nil))
("glimmer_opening_tag" (:*unnamed* nil))
("glimmer_template" (:*unnamed* nil :close_tag ("glimmer_closing_tag") :open_tag ("glimmer_opening_tag")))
("hash_bang_line" (:*unnamed* nil))
("identifier" (:*unnamed* nil))
("if_statement" (:*unnamed* nil :alternative ("else_clause") :condition ("parenthesized_expression") :consequence ("statement")))
("implements_clause" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("import" (:*unnamed* nil))
("import_alias" (:*unnamed* ("nested_identifier" "identifier")))
("import_clause" (:*unnamed* ("namespace_import" "named_imports" "identifier")))
("import_require_clause" (:*unnamed* ("identifier") :source ("string")))
("import_specifier" (:*unnamed* nil :alias ("identifier") :name ("string" "identifier")))
("import_statement" (:*unnamed* ("import_clause" "import_require_clause") :source ("string")))
("index_signature" (:*unnamed* ("mapped_type_clause") :index_type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :name ("identifier") :sign nil :type ("type_annotation" "opting_type_annotation" "omitting_type_annotation")))
("index_type_query" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("infer_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("instantiation_expression" (:*unnamed* ("expression") :function ("import" "member_expression" "subscript_expression" "identifier") :type_arguments ("type_arguments")))
("interface_declaration" (:*unnamed* ("extends_type_clause") :body ("object_type") :name ("type_identifier") :type_parameters ("type_parameters")))
("internal_module" (:*unnamed* nil :body ("statement_block") :name ("string" "nested_identifier" "identifier")))
("intersection_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("jsx_attribute" (:*unnamed* ("jsx_expression" "string" "jsx_namespace_name" "property_identifier" "jsx_self_closing_element" "jsx_element")))
("jsx_closing_element" (:*unnamed* nil :name ("member_expression" "jsx_namespace_name" "identifier")))
("jsx_element" (:*unnamed* ("jsx_text" "jsx_expression" "jsx_self_closing_element" "jsx_element") :close_tag ("jsx_closing_element") :open_tag ("jsx_opening_element")))
("jsx_expression" (:*unnamed* ("spread_element" "sequence_expression" "expression")))
("jsx_namespace_name" (:*unnamed* ("identifier")))
("jsx_opening_element" (:*unnamed* nil :attribute ("jsx_expression" "jsx_attribute") :name ("member_expression" "jsx_namespace_name" "identifier") :type_arguments ("type_arguments")))
("jsx_self_closing_element" (:*unnamed* nil :attribute ("jsx_expression" "jsx_attribute") :name ("member_expression" "jsx_namespace_name" "identifier") :type_arguments ("type_arguments")))
("jsx_text" (:*unnamed* nil))
("labeled_statement" (:*unnamed* nil :body ("statement") :label ("statement_identifier")))
("lexical_declaration" (:*unnamed* ("variable_declarator") :kind nil))
("literal_type" (:*unnamed* ("null" "true" "number" "string" "unary_expression" "undefined" "false")))
("lookup_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("mapped_type_clause" (:*unnamed* nil :alias ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type") :name ("type_identifier") :type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("member_expression" (:*unnamed* ("member_expression" "identifier" "property_identifier") :object ("expression") :optional_chain ("optional_chain") :property ("property_identifier" "private_property_identifier")))
("meta_property" (:*unnamed* nil))
("method_definition" (:*unnamed* ("override_modifier" "accessibility_modifier") :body ("statement_block") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("method_signature" (:*unnamed* ("override_modifier" "accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :parameters ("formal_parameters") :return_type ("type_annotation" "asserts_annotation" "type_predicate_annotation") :type_parameters ("type_parameters")))
("module" (:*unnamed* nil :body ("statement_block") :name ("string" "nested_identifier" "identifier")))
("named_imports" (:*unnamed* ("import_specifier")))
("namespace_export" (:*unnamed* ("string" "identifier")))
("namespace_import" (:*unnamed* ("identifier")))
("nested_identifier" (:*unnamed* ("member_expression" "identifier" "property_identifier")))
("nested_type_identifier" (:*unnamed* nil :module ("nested_identifier" "identifier") :name ("type_identifier")))
("new_expression" (:*unnamed* nil :arguments ("arguments") :constructor ("primary_expression") :type_arguments ("type_arguments")))
("non_null_expression" (:*unnamed* ("expression")))
("null" (:*unnamed* nil))
("number" (:*unnamed* nil))
("object" (:*unnamed* ("pair" "spread_element" "method_definition" "shorthand_property_identifier")))
("object_assignment_pattern" (:*unnamed* nil :left ("shorthand_property_identifier_pattern" "array_pattern" "object_pattern") :right ("expression")))
("object_pattern" (:*unnamed* ("rest_pattern" "shorthand_property_identifier_pattern" "object_assignment_pattern" "pair_pattern")))
("object_type" (:*unnamed* ("call_signature" "index_signature" "method_signature" "export_statement" "construct_signature" "property_signature")))
("omitting_type_annotation" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("opting_type_annotation" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("optional_chain" (:*unnamed* nil))
("optional_parameter" (:*unnamed* ("override_modifier" "accessibility_modifier") :decorator ("decorator") :name ("identifier") :pattern ("this" "pattern") :type ("type_annotation") :value ("expression")))
("optional_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("override_modifier" (:*unnamed* nil))
("pair" (:*unnamed* nil :key ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :value ("expression")))
("pair_pattern" (:*unnamed* nil :key ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :value ("assignment_pattern" "pattern")))
("parenthesized_expression" (:*unnamed* ("sequence_expression" "expression") :type ("type_annotation")))
("parenthesized_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("pattern" (:*unnamed* ("object_pattern" "subscript_expression" "member_expression" "identifier" "rest_pattern" "non_null_expression" "undefined" "array_pattern")))
("predefined_type" (:*unnamed* nil))
("primary_expression" (:*unnamed* ("true" "member_expression" "generator_function" "null" "parenthesized_expression" "template_string" "number" "meta_property" "array" "call_expression" "arrow_function" "this" "function" "string" "import" "subscript_expression" "regex" "identifier" "false" "super" "non_null_expression" "undefined" "class" "object")))
("private_property_identifier" (:*unnamed* nil))
("program" (:*unnamed* ("hash_bang_line" "statement")))
("property_identifier" (:*unnamed* nil))
("property_signature" (:*unnamed* ("override_modifier" "accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :type ("type_annotation")))
("public_field_definition" (:*unnamed* ("override_modifier" "accessibility_modifier") :name ("computed_property_name" "string" "property_identifier" "private_property_identifier" "number") :type ("type_annotation") :value ("expression")))
("readonly_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("regex" (:*unnamed* nil :flags ("regex_flags") :pattern ("regex_pattern")))
("regex_flags" (:*unnamed* nil))
("regex_pattern" (:*unnamed* nil))
("required_parameter" (:*unnamed* ("override_modifier" "accessibility_modifier") :decorator ("decorator") :name ("rest_pattern" "identifier") :pattern ("this" "pattern") :type ("type_annotation") :value ("expression")))
("rest_pattern" (:*unnamed* ("identifier" "non_null_expression" "undefined" "subscript_expression" "object_pattern" "array_pattern" "member_expression")))
("rest_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("return_statement" (:*unnamed* ("sequence_expression" "expression")))
("satisfies_expression" (:*unnamed* ("union_type" "expression" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("sequence_expression" (:*unnamed* nil :left ("expression") :right ("sequence_expression" "expression")))
("shorthand_property_identifier" (:*unnamed* nil))
("shorthand_property_identifier_pattern" (:*unnamed* nil))
("spread_element" (:*unnamed* ("expression")))
("statement" (:*unnamed* ("if_statement" "with_statement" "throw_statement" "empty_statement" "return_statement" "while_statement" "import_statement" "break_statement" "continue_statement" "for_in_statement" "declaration" "for_statement" "switch_statement" "do_statement" "statement_block" "debugger_statement" "export_statement" "expression_statement" "labeled_statement" "try_statement")))
("statement_block" (:*unnamed* ("statement")))
("statement_identifier" (:*unnamed* nil))
("string" (:*unnamed* ("escape_sequence" "string_fragment")))
("string_fragment" (:*unnamed* nil))
("subscript_expression" (:*unnamed* nil :index ("predefined_type" "string" "expression" "number" "sequence_expression") :object ("expression") :optional_chain ("optional_chain")))
("super" (:*unnamed* nil))
("switch_body" (:*unnamed* ("switch_default" "switch_case")))
("switch_case" (:*unnamed* nil :body ("statement") :value ("sequence_expression" "expression")))
("switch_default" (:*unnamed* nil :body ("statement")))
("switch_statement" (:*unnamed* nil :body ("switch_body") :value ("parenthesized_expression")))
("template_literal_type" (:*unnamed* ("template_type")))
("template_string" (:*unnamed* ("escape_sequence" "template_substitution")))
("template_substitution" (:*unnamed* ("sequence_expression" "expression")))
("template_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "type_identifier" "object_type" "flow_maybe_type" "tuple_type")))
("ternary_expression" (:*unnamed* nil :alternative ("expression") :condition ("expression") :consequence ("expression")))
("this" (:*unnamed* nil))
("this_type" (:*unnamed* nil))
("throw_statement" (:*unnamed* ("sequence_expression" "expression")))
("true" (:*unnamed* nil))
("try_statement" (:*unnamed* nil :body ("statement_block") :finalizer ("finally_clause") :handler ("catch_clause")))
("tuple_type" (:*unnamed* ("union_type" "optional_parameter" "template_literal_type" "lookup_type" "conditional_type" "optional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "rest_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "required_parameter" "tuple_type" "readonly_type")))
("type_alias_declaration" (:*unnamed* nil :name ("type_identifier") :type_parameters ("type_parameters") :value ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_annotation" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_arguments" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_assertion" (:*unnamed* ("type_arguments" "expression")))
("type_identifier" (:*unnamed* nil))
("type_parameter" (:*unnamed* nil :constraint ("constraint") :name ("type_identifier") :value ("default_type")))
("type_parameters" (:*unnamed* ("type_parameter")))
("type_predicate" (:*unnamed* nil :name ("this" "identifier") :type ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("type_predicate_annotation" (:*unnamed* ("type_predicate")))
("type_query" (:*unnamed* ("instantiation_expression" "subscript_expression" "identifier" "member_expression" "call_expression")))
("unary_expression" (:*unnamed* nil :argument ("expression" "number") :operator nil))
("undefined" (:*unnamed* nil))
("union_type" (:*unnamed* ("union_type" "template_literal_type" "lookup_type" "conditional_type" "this_type" "array_type" "intersection_type" "generic_type" "parenthesized_type" "existential_type" "literal_type" "type_query" "infer_type" "index_type_query" "nested_type_identifier" "predefined_type" "constructor_type" "type_identifier" "function_type" "object_type" "flow_maybe_type" "tuple_type" "readonly_type")))
("update_expression" (:*unnamed* nil :argument ("expression") :operator nil))
("variable_declaration" (:*unnamed* ("variable_declarator")))
("variable_declarator" (:*unnamed* nil :name ("array_pattern" "object_pattern" "identifier") :type ("type_annotation") :value ("expression")))
("while_statement" (:*unnamed* nil :body ("statement") :condition ("parenthesized_expression")))
("with_statement" (:*unnamed* nil :body ("statement") :object ("parenthesized_expression")))
("yield_expression" (:*unnamed* ("expression")))
))
;; END Production rules for typescript
;; START Inverse production rules for typescript
(defconst combobulate-rules-typescript-inverse
'(("abstract_class_declaration" ("declaration"))
("abstract_method_signature" ("class_body"))
("accessibility_modifier" ("method_signature" "method_definition" "abstract_method_signature" "public_field_definition" "optional_parameter" "required_parameter" "property_signature"))
("ambient_declaration" ("declaration"))
("arguments" ("new_expression" "call_expression"))
("array" ("primary_expression"))
("array_pattern" ("pattern" "catch_clause" "assignment_expression" "variable_declarator" "rest_pattern" "for_in_statement" "object_assignment_pattern"))
("array_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("arrow_function" ("primary_expression"))
("as_expression" ("expression"))
("asserts" ("function_type" "asserts_annotation"))
("asserts_annotation" ("arrow_function" "call_signature" "function" "generator_function_declaration" "function_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "function_signature"))
("assignment_expression" ("expression"))
("assignment_pattern" ("array_pattern" "pair_pattern"))
("augmented_assignment_expression" ("expression"))
("await_expression" ("expression"))
("binary_expression" ("expression"))
("break_statement" ("statement"))
("call_expression" ("decorator" "primary_expression" "type_query"))
("call_signature" ("object_type"))
("catch_clause" ("try_statement"))
("class" ("primary_expression"))
("class_body" ("abstract_class_declaration" "class" "class_declaration"))
("class_declaration" ("declaration"))
("class_heritage" ("abstract_class_declaration" "class" "class_declaration"))
("class_static_block" ("class_body"))
("computed_property_name" ("method_signature" "enum_body" "enum_assignment" "method_definition" "abstract_method_signature" "pair_pattern" "pair" "public_field_definition" "property_signature"))
("conditional_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("constraint" ("type_parameter"))
("construct_signature" ("object_type"))
("constructor_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("continue_statement" ("statement"))
("debugger_statement" ("statement"))
("declaration" ("export_statement" "ambient_declaration" "statement"))
("decorator" ("abstract_class_declaration" "class_body" "export_statement" "class_declaration" "optional_parameter" "required_parameter" "class"))
("default_type" ("type_parameter"))
("do_statement" ("statement"))
("else_clause" ("if_statement"))
("empty_statement" ("for_statement" "statement"))
("enum_assignment" ("enum_body"))
("enum_body" ("enum_declaration"))
("enum_declaration" ("declaration"))
("escape_sequence" ("string" "template_string"))
("existential_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("export_clause" ("export_statement"))
("export_specifier" ("export_clause"))
("export_statement" ("object_type" "statement"))
("expression" ("member_expression" "update_expression" "parenthesized_expression" "template_substitution" "instantiation_expression" "call_expression" "enum_assignment" "computed_property_name" "augmented_assignment_expression" "binary_expression" "non_null_expression" "spread_element" "optional_parameter" "required_parameter" "expression_statement" "switch_case" "yield_expression" "throw_statement" "return_statement" "await_expression" "pair" "variable_declarator" "assignment_pattern" "jsx_expression" "for_in_statement" "ternary_expression" "type_assertion" "array" "public_field_definition" "unary_expression" "object_assignment_pattern" "arrow_function" "for_statement" "assignment_expression" "as_expression" "export_statement" "extends_clause" "arguments" "sequence_expression" "subscript_expression" "satisfies_expression"))
("expression_statement" ("for_statement" "statement"))
("extends_clause" ("class_heritage"))
("extends_type_clause" ("interface_declaration"))
("false" ("primary_expression" "literal_type"))
("finally_clause" ("try_statement"))
("flow_maybe_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("for_in_statement" ("statement"))
("for_statement" ("statement"))
("formal_parameters" ("arrow_function" "call_signature" "function" "generator_function_declaration" "function_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "constructor_type" "function_signature" "function_type" "construct_signature"))
("function" ("primary_expression"))
("function_declaration" ("declaration"))
("function_signature" ("declaration"))
("function_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("generator_function" ("primary_expression"))
("generator_function_declaration" ("declaration"))
("generic_type" ("union_type" "lookup_type" "optional_type" "extends_type_clause" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "mapped_type_clause" "conditional_type" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("glimmer_closing_tag" ("glimmer_template"))
("glimmer_opening_tag" ("glimmer_template"))
("glimmer_template" ("expression"))
("hash_bang_line" ("program"))
("identifier" ("generator_function_declaration" "import_require_clause" "namespace_export" "member_expression" "generator_function" "import_clause" "import_specifier" "instantiation_expression" "namespace_import" "pattern" "augmented_assignment_expression" "internal_module" "enum_declaration" "rest_pattern" "function_signature" "optional_parameter" "required_parameter" "function_declaration" "primary_expression" "asserts" "catch_clause" "export_specifier" "jsx_closing_element" "module" "variable_declarator" "for_in_statement" "decorator" "import_alias" "nested_identifier" "arrow_function" "function" "index_signature" "jsx_opening_element" "type_query" "assignment_expression" "nested_type_identifier" "type_predicate" "export_statement" "jsx_namespace_name" "jsx_self_closing_element"))
("if_statement" ("statement"))
("implements_clause" ("class_heritage"))
("import" ("instantiation_expression" "primary_expression"))
("import_alias" ("declaration"))
("import_clause" ("import_statement"))
("import_require_clause" ("import_statement"))
("import_specifier" ("named_imports"))
("import_statement" ("statement"))
("index_signature" ("object_type" "class_body"))
("index_type_query" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("infer_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("instantiation_expression" ("expression" "type_query"))
("interface_declaration" ("declaration"))
("internal_module" ("declaration" "expression"))
("intersection_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("jsx_attribute" ("jsx_self_closing_element" "jsx_opening_element"))
("jsx_closing_element" ("jsx_element"))
("jsx_element" ("jsx_element" "jsx_attribute"))
("jsx_expression" ("jsx_self_closing_element" "jsx_element" "jsx_opening_element" "jsx_attribute"))
("jsx_namespace_name" ("jsx_closing_element" "jsx_self_closing_element" "jsx_opening_element" "jsx_attribute"))
("jsx_opening_element" ("jsx_element"))
("jsx_self_closing_element" ("jsx_element" "jsx_attribute"))
("jsx_text" ("jsx_element"))
("labeled_statement" ("statement"))
("lexical_declaration" ("for_statement" "declaration"))
("literal_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("lookup_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("mapped_type_clause" ("index_signature"))
("member_expression" ("pattern" "primary_expression" "jsx_opening_element" "type_query" "augmented_assignment_expression" "assignment_expression" "member_expression" "jsx_closing_element" "rest_pattern" "for_in_statement" "decorator" "nested_identifier" "jsx_self_closing_element" "instantiation_expression"))
("meta_property" ("primary_expression"))
("method_definition" ("class_body" "object"))
("method_signature" ("object_type" "class_body"))
("module" ("declaration"))
("named_imports" ("import_clause"))
("namespace_export" ("export_statement"))
("namespace_import" ("import_clause"))
("nested_identifier" ("module" "internal_module" "import_alias" "nested_type_identifier"))
("nested_type_identifier" ("union_type" "lookup_type" "optional_type" "extends_type_clause" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "mapped_type_clause" "conditional_type" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "generic_type" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("new_expression" ("expression"))
("non_null_expression" ("pattern" "primary_expression" "augmented_assignment_expression" "assignment_expression" "rest_pattern" "for_in_statement"))
("null" ("primary_expression" "literal_type"))
("number" ("enum_body" "enum_assignment" "method_signature" "primary_expression" "literal_type" "method_definition" "abstract_method_signature" "pair_pattern" "pair" "unary_expression" "public_field_definition" "subscript_expression" "property_signature"))
("object" ("primary_expression"))
("object_assignment_pattern" ("object_pattern"))
("object_pattern" ("pattern" "catch_clause" "assignment_expression" "variable_declarator" "rest_pattern" "for_in_statement" "object_assignment_pattern"))
("object_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "interface_declaration" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("omitting_type_annotation" ("index_signature"))
("opting_type_annotation" ("index_signature"))
("optional_chain" ("subscript_expression" "member_expression"))
("optional_parameter" ("formal_parameters" "tuple_type"))
("optional_type" ("tuple_type"))
("override_modifier" ("method_signature" "method_definition" "public_field_definition" "optional_parameter" "required_parameter" "property_signature"))
("pair" ("object"))
("pair_pattern" ("object_pattern"))
("parenthesized_expression" ("if_statement" "with_statement" "primary_expression" "while_statement" "switch_statement" "augmented_assignment_expression" "assignment_expression" "do_statement" "for_in_statement"))
("parenthesized_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("pattern" ("pair_pattern" "assignment_pattern" "optional_parameter" "required_parameter" "array_pattern"))
("predefined_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "subscript_expression" "satisfies_expression"))
("primary_expression" ("expression" "new_expression"))
("private_property_identifier" ("enum_body" "enum_assignment" "method_signature" "method_definition" "member_expression" "abstract_method_signature" "pair_pattern" "pair" "public_field_definition" "property_signature"))
("property_identifier" ("enum_body" "enum_assignment" "method_signature" "jsx_attribute" "method_definition" "abstract_method_signature" "ambient_declaration" "member_expression" "pair" "pair_pattern" "nested_identifier" "public_field_definition" "property_signature"))
("property_signature" ("object_type"))
("public_field_definition" ("class_body"))
("readonly_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "satisfies_expression"))
("regex" ("primary_expression"))
("regex_flags" ("regex"))
("regex_pattern" ("regex"))
("required_parameter" ("formal_parameters" "tuple_type"))
("rest_pattern" ("required_parameter" "object_pattern" "pattern"))
("rest_type" ("tuple_type"))
("return_statement" ("statement"))
("satisfies_expression" ("expression"))
("sequence_expression" ("for_statement" "throw_statement" "return_statement" "subscript_expression" "jsx_expression" "for_in_statement" "parenthesized_expression" "switch_case" "sequence_expression" "expression_statement" "template_substitution"))
("shorthand_property_identifier" ("object"))
("shorthand_property_identifier_pattern" ("object_pattern" "object_assignment_pattern"))
("spread_element" ("array" "jsx_expression" "object" "arguments"))
("statement" ("for_statement" "if_statement" "with_statement" "switch_default" "while_statement" "do_statement" "statement_block" "else_clause" "for_in_statement" "switch_case" "labeled_statement" "program"))
("statement_block" ("arrow_function" "function" "generator_function_declaration" "function_declaration" "class_static_block" "statement" "catch_clause" "internal_module" "method_definition" "ambient_declaration" "generator_function" "module" "finally_clause" "try_statement"))
("statement_identifier" ("break_statement" "continue_statement" "labeled_statement"))
("string" ("import_require_clause" "namespace_export" "import_specifier" "enum_body" "enum_assignment" "internal_module" "method_definition" "method_signature" "primary_expression" "jsx_attribute" "abstract_method_signature" "import_statement" "export_specifier" "module" "pair" "pair_pattern" "public_field_definition" "property_signature" "literal_type" "export_statement" "subscript_expression"))
("string_fragment" ("string"))
("subscript_expression" ("pattern" "primary_expression" "type_query" "augmented_assignment_expression" "assignment_expression" "rest_pattern" "for_in_statement" "instantiation_expression"))
("super" ("primary_expression"))
("switch_body" ("switch_statement"))
("switch_case" ("switch_body"))
("switch_default" ("switch_body"))
("switch_statement" ("statement"))
("template_literal_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("template_string" ("primary_expression" "call_expression"))
("template_substitution" ("template_string"))
("template_type" ("template_literal_type"))
("ternary_expression" ("expression"))
("this" ("primary_expression" "asserts" "type_predicate" "optional_parameter" "required_parameter"))
("this_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("throw_statement" ("statement"))
("true" ("primary_expression" "literal_type"))
("try_statement" ("statement"))
("tuple_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("type_alias_declaration" ("declaration"))
("type_annotation" ("call_signature" "generator_function_declaration" "generator_function" "parenthesized_expression" "construct_signature" "method_definition" "function_signature" "optional_parameter" "required_parameter" "method_signature" "function_declaration" "catch_clause" "abstract_method_signature" "variable_declarator" "public_field_definition" "property_signature" "arrow_function" "function" "index_signature"))
("type_arguments" ("jsx_opening_element" "extends_clause" "new_expression" "type_assertion" "jsx_self_closing_element" "generic_type" "instantiation_expression" "call_expression"))
("type_assertion" ("expression"))
("type_identifier" ("union_type" "lookup_type" "optional_type" "extends_type_clause" "type_alias_declaration" "type_parameter" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "interface_declaration" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "generic_type" "index_signature" "abstract_class_declaration" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "nested_type_identifier" "constructor_type" "type_predicate" "class_declaration" "flow_maybe_type" "class" "satisfies_expression"))
("type_parameter" ("type_parameters"))
("type_parameters" ("arrow_function" "call_signature" "abstract_class_declaration" "function" "function_declaration" "generator_function_declaration" "interface_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "constructor_type" "function_signature" "function_type" "class_declaration" "type_alias_declaration" "class" "construct_signature"))
("type_predicate" ("asserts" "function_type" "type_predicate_annotation"))
("type_predicate_annotation" ("arrow_function" "call_signature" "function" "generator_function_declaration" "function_declaration" "method_signature" "method_definition" "abstract_method_signature" "generator_function" "function_signature"))
("type_query" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("unary_expression" ("expression" "literal_type"))
("undefined" ("pattern" "primary_expression" "literal_type" "assignment_expression" "rest_pattern" "for_in_statement"))
("union_type" ("union_type" "lookup_type" "optional_type" "type_alias_declaration" "array_type" "omitting_type_annotation" "parenthesized_type" "rest_type" "infer_type" "template_type" "index_type_query" "function_type" "implements_clause" "tuple_type" "readonly_type" "conditional_type" "mapped_type_clause" "type_arguments" "type_annotation" "_primary_type" "intersection_type" "constraint" "index_signature" "default_type" "opting_type_annotation" "as_expression" "ambient_declaration" "constructor_type" "type_predicate" "flow_maybe_type" "satisfies_expression"))
("update_expression" ("expression"))
("variable_declaration" ("for_statement" "declaration"))
("variable_declarator" ("lexical_declaration" "variable_declaration"))
("while_statement" ("statement"))
("with_statement" ("statement"))