@danielx/civet 0.5.42 → 0.5.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -529,6 +529,20 @@ ${input.slice(result.pos)}
529
529
  BindingElement,
530
530
  BindingRestElement,
531
531
  EmptyBindingPattern,
532
+ MatchingPattern,
533
+ ObjectMatchingPattern,
534
+ ObjectMatchingPatternContent,
535
+ NestedMatchingProperties,
536
+ NestedMatchingProperty,
537
+ MatchingProperty,
538
+ NestedMatchingRestProperty,
539
+ MatchingRestProperty,
540
+ ArrayMatchingPattern,
541
+ ArrayMatchingPatternContent,
542
+ NestedMatchingElements,
543
+ NestedMatchingElement,
544
+ MatchingElement,
545
+ MatchingRestElement,
532
546
  FunctionDeclaration,
533
547
  FunctionSignature,
534
548
  FunctionExpression,
@@ -4333,6 +4347,492 @@ ${input.slice(result.pos)}
4333
4347
  return result;
4334
4348
  }
4335
4349
  }
4350
+ var MatchingPattern$0 = ObjectMatchingPattern;
4351
+ var MatchingPattern$1 = ArrayMatchingPattern;
4352
+ var MatchingPattern$2 = Literal;
4353
+ var MatchingPattern$3 = RegularExpressionLiteral;
4354
+ function MatchingPattern(state) {
4355
+ let eventData;
4356
+ if (state.events) {
4357
+ const result = state.events.enter?.("MatchingPattern", state);
4358
+ if (result) {
4359
+ if (result.cache)
4360
+ return result.cache;
4361
+ eventData = result.data;
4362
+ }
4363
+ }
4364
+ if (state.tokenize) {
4365
+ const result = $TOKEN("MatchingPattern", state, MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state));
4366
+ if (state.events)
4367
+ state.events.exit?.("MatchingPattern", state, result, eventData);
4368
+ return result;
4369
+ } else {
4370
+ const result = MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state);
4371
+ if (state.events)
4372
+ state.events.exit?.("MatchingPattern", state, result, eventData);
4373
+ return result;
4374
+ }
4375
+ }
4376
+ var ObjectMatchingPattern$0 = $TS($S(OpenBrace, ObjectMatchingPatternContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
4377
+ var open = $1;
4378
+ var content = $2;
4379
+ var ws = $3;
4380
+ var close = $4;
4381
+ return {
4382
+ type: "ObjectMatchingPattern",
4383
+ children: [open, ...content.children, ...ws, close]
4384
+ };
4385
+ });
4386
+ function ObjectMatchingPattern(state) {
4387
+ let eventData;
4388
+ if (state.events) {
4389
+ const result = state.events.enter?.("ObjectMatchingPattern", state);
4390
+ if (result) {
4391
+ if (result.cache)
4392
+ return result.cache;
4393
+ eventData = result.data;
4394
+ }
4395
+ }
4396
+ if (state.tokenize) {
4397
+ const result = $TOKEN("ObjectMatchingPattern", state, ObjectMatchingPattern$0(state));
4398
+ if (state.events)
4399
+ state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4400
+ return result;
4401
+ } else {
4402
+ const result = ObjectMatchingPattern$0(state);
4403
+ if (state.events)
4404
+ state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4405
+ return result;
4406
+ }
4407
+ }
4408
+ var ObjectMatchingPatternContent$0 = NestedMatchingProperties;
4409
+ var ObjectMatchingPatternContent$1 = $TS($S($Q(MatchingProperty), $E(MatchingRestProperty), $Q(MatchingProperty)), function($skip, $loc, $0, $1, $2, $3) {
4410
+ var props = $1;
4411
+ var rest = $2;
4412
+ var after = $3;
4413
+ const names = props.flatMap((p) => p.names);
4414
+ const children = [...props];
4415
+ if (rest) {
4416
+ [rest, after] = module2.reorderBindingRestProperty(rest, after);
4417
+ children.push(...after, rest);
4418
+ names.push(...after.flatMap((p) => p.names), ...rest.names);
4419
+ }
4420
+ return {
4421
+ names,
4422
+ children
4423
+ };
4424
+ });
4425
+ function ObjectMatchingPatternContent(state) {
4426
+ let eventData;
4427
+ if (state.events) {
4428
+ const result = state.events.enter?.("ObjectMatchingPatternContent", state);
4429
+ if (result) {
4430
+ if (result.cache)
4431
+ return result.cache;
4432
+ eventData = result.data;
4433
+ }
4434
+ }
4435
+ if (state.tokenize) {
4436
+ const result = $TOKEN("ObjectMatchingPatternContent", state, ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state));
4437
+ if (state.events)
4438
+ state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4439
+ return result;
4440
+ } else {
4441
+ const result = ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state);
4442
+ if (state.events)
4443
+ state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4444
+ return result;
4445
+ }
4446
+ }
4447
+ var NestedMatchingProperties$0 = $TS($S(PushIndent, $Q(NestedMatchingProperty), $E(NestedMatchingRestProperty), $Q(NestedMatchingProperty), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4448
+ var props = $2;
4449
+ var rest = $3;
4450
+ var after = $4;
4451
+ if (!(props.length || rest))
4452
+ return $skip;
4453
+ const names = props.flatMap((p) => p.names);
4454
+ const children = [...props];
4455
+ if (rest) {
4456
+ [rest, after] = module2.reorderBindingRestProperty(rest, after);
4457
+ children.push(...after, rest);
4458
+ names.push(...after.flatMap((p) => p.names), ...rest.names);
4459
+ }
4460
+ return {
4461
+ children,
4462
+ names
4463
+ };
4464
+ });
4465
+ function NestedMatchingProperties(state) {
4466
+ let eventData;
4467
+ if (state.events) {
4468
+ const result = state.events.enter?.("NestedMatchingProperties", state);
4469
+ if (result) {
4470
+ if (result.cache)
4471
+ return result.cache;
4472
+ eventData = result.data;
4473
+ }
4474
+ }
4475
+ if (state.tokenize) {
4476
+ const result = $TOKEN("NestedMatchingProperties", state, NestedMatchingProperties$0(state));
4477
+ if (state.events)
4478
+ state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4479
+ return result;
4480
+ } else {
4481
+ const result = NestedMatchingProperties$0(state);
4482
+ if (state.events)
4483
+ state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4484
+ return result;
4485
+ }
4486
+ }
4487
+ var NestedMatchingProperty$0 = $TS($S(Nested, MatchingProperty), function($skip, $loc, $0, $1, $2) {
4488
+ var indent = $1;
4489
+ var prop = $2;
4490
+ return {
4491
+ ...prop,
4492
+ children: [...indent, ...prop.children]
4493
+ };
4494
+ });
4495
+ function NestedMatchingProperty(state) {
4496
+ let eventData;
4497
+ if (state.events) {
4498
+ const result = state.events.enter?.("NestedMatchingProperty", state);
4499
+ if (result) {
4500
+ if (result.cache)
4501
+ return result.cache;
4502
+ eventData = result.data;
4503
+ }
4504
+ }
4505
+ if (state.tokenize) {
4506
+ const result = $TOKEN("NestedMatchingProperty", state, NestedMatchingProperty$0(state));
4507
+ if (state.events)
4508
+ state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4509
+ return result;
4510
+ } else {
4511
+ const result = NestedMatchingProperty$0(state);
4512
+ if (state.events)
4513
+ state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4514
+ return result;
4515
+ }
4516
+ }
4517
+ var MatchingProperty$0 = $TS($S(__, PropertyName, __, Colon, $C(BindingIdentifier, MatchingPattern), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4518
+ var m = $5;
4519
+ return {
4520
+ names: m.names,
4521
+ children: $0
4522
+ };
4523
+ });
4524
+ var MatchingProperty$1 = $TS($S(BindingIdentifier, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2) {
4525
+ var b = $1;
4526
+ if (b.type === "AtBinding") {
4527
+ return {
4528
+ type: "AtBindingProperty",
4529
+ ref: b.ref,
4530
+ names: [],
4531
+ children: $0
4532
+ };
4533
+ }
4534
+ return {
4535
+ names: b.names,
4536
+ children: $0
4537
+ };
4538
+ });
4539
+ function MatchingProperty(state) {
4540
+ let eventData;
4541
+ if (state.events) {
4542
+ const result = state.events.enter?.("MatchingProperty", state);
4543
+ if (result) {
4544
+ if (result.cache)
4545
+ return result.cache;
4546
+ eventData = result.data;
4547
+ }
4548
+ }
4549
+ if (state.tokenize) {
4550
+ const result = $TOKEN("MatchingProperty", state, MatchingProperty$0(state) || MatchingProperty$1(state));
4551
+ if (state.events)
4552
+ state.events.exit?.("MatchingProperty", state, result, eventData);
4553
+ return result;
4554
+ } else {
4555
+ const result = MatchingProperty$0(state) || MatchingProperty$1(state);
4556
+ if (state.events)
4557
+ state.events.exit?.("MatchingProperty", state, result, eventData);
4558
+ return result;
4559
+ }
4560
+ }
4561
+ var NestedMatchingRestProperty$0 = $TS($S(Nested, MatchingRestProperty), function($skip, $loc, $0, $1, $2) {
4562
+ var indent = $1;
4563
+ var prop = $2;
4564
+ return {
4565
+ ...prop,
4566
+ children: [indent, ...prop.children]
4567
+ };
4568
+ });
4569
+ function NestedMatchingRestProperty(state) {
4570
+ let eventData;
4571
+ if (state.events) {
4572
+ const result = state.events.enter?.("NestedMatchingRestProperty", state);
4573
+ if (result) {
4574
+ if (result.cache)
4575
+ return result.cache;
4576
+ eventData = result.data;
4577
+ }
4578
+ }
4579
+ if (state.tokenize) {
4580
+ const result = $TOKEN("NestedMatchingRestProperty", state, NestedMatchingRestProperty$0(state));
4581
+ if (state.events)
4582
+ state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4583
+ return result;
4584
+ } else {
4585
+ const result = NestedMatchingRestProperty$0(state);
4586
+ if (state.events)
4587
+ state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4588
+ return result;
4589
+ }
4590
+ }
4591
+ var MatchingRestProperty$0 = BindingRestProperty;
4592
+ function MatchingRestProperty(state) {
4593
+ let eventData;
4594
+ if (state.events) {
4595
+ const result = state.events.enter?.("MatchingRestProperty", state);
4596
+ if (result) {
4597
+ if (result.cache)
4598
+ return result.cache;
4599
+ eventData = result.data;
4600
+ }
4601
+ }
4602
+ if (state.tokenize) {
4603
+ const result = $TOKEN("MatchingRestProperty", state, MatchingRestProperty$0(state));
4604
+ if (state.events)
4605
+ state.events.exit?.("MatchingRestProperty", state, result, eventData);
4606
+ return result;
4607
+ } else {
4608
+ const result = MatchingRestProperty$0(state);
4609
+ if (state.events)
4610
+ state.events.exit?.("MatchingRestProperty", state, result, eventData);
4611
+ return result;
4612
+ }
4613
+ }
4614
+ var ArrayMatchingPattern$0 = $TS($S(OpenBracket, ArrayMatchingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
4615
+ var open = $1;
4616
+ var content = $2;
4617
+ var ws = $3;
4618
+ var close = $4;
4619
+ return {
4620
+ type: "ArrayMatchingPattern",
4621
+ children: $0
4622
+ };
4623
+ });
4624
+ function ArrayMatchingPattern(state) {
4625
+ let eventData;
4626
+ if (state.events) {
4627
+ const result = state.events.enter?.("ArrayMatchingPattern", state);
4628
+ if (result) {
4629
+ if (result.cache)
4630
+ return result.cache;
4631
+ eventData = result.data;
4632
+ }
4633
+ }
4634
+ if (state.tokenize) {
4635
+ const result = $TOKEN("ArrayMatchingPattern", state, ArrayMatchingPattern$0(state));
4636
+ if (state.events)
4637
+ state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4638
+ return result;
4639
+ } else {
4640
+ const result = ArrayMatchingPattern$0(state);
4641
+ if (state.events)
4642
+ state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4643
+ return result;
4644
+ }
4645
+ }
4646
+ var ArrayMatchingPatternContent$0 = NestedMatchingElements;
4647
+ var ArrayMatchingPatternContent$1 = $TS($S($Q($C(MatchingElement, Elision)), $E($S(MatchingRestElement, ArrayElementDelimiter)), $Q($C(MatchingElement, Elision))), function($skip, $loc, $0, $1, $2, $3) {
4648
+ var props = $1;
4649
+ var rest = $2;
4650
+ var after = $3;
4651
+ const names = props.flatMap((p) => p.names || []);
4652
+ const children = [...props];
4653
+ let blockPrefix;
4654
+ if (rest) {
4655
+ const [restBinding] = rest;
4656
+ children.push(restBinding);
4657
+ let restIdentifier;
4658
+ if (restBinding.ref) {
4659
+ restIdentifier = restBinding.ref;
4660
+ } else {
4661
+ restIdentifier = restBinding.names[0];
4662
+ names.push(...restBinding.names);
4663
+ }
4664
+ if (after.length) {
4665
+ const spliceRef = module2.getRef("splice");
4666
+ blockPrefix = {
4667
+ children: ["[", module2.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4668
+ names: after.flatMap((p) => p.names)
4669
+ };
4670
+ }
4671
+ }
4672
+ return {
4673
+ names,
4674
+ children,
4675
+ blockPrefix
4676
+ };
4677
+ });
4678
+ function ArrayMatchingPatternContent(state) {
4679
+ let eventData;
4680
+ if (state.events) {
4681
+ const result = state.events.enter?.("ArrayMatchingPatternContent", state);
4682
+ if (result) {
4683
+ if (result.cache)
4684
+ return result.cache;
4685
+ eventData = result.data;
4686
+ }
4687
+ }
4688
+ if (state.tokenize) {
4689
+ const result = $TOKEN("ArrayMatchingPatternContent", state, ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state));
4690
+ if (state.events)
4691
+ state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4692
+ return result;
4693
+ } else {
4694
+ const result = ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state);
4695
+ if (state.events)
4696
+ state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4697
+ return result;
4698
+ }
4699
+ }
4700
+ var NestedMatchingElements$0 = $TS($S(PushIndent, $Q(NestedMatchingElement), $E($S(Nested, MatchingRestElement, ArrayElementDelimiter)), $Q(NestedMatchingElement), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4701
+ var props = $2;
4702
+ var rest = $3;
4703
+ var after = $4;
4704
+ if (!(props.length || rest))
4705
+ return $skip;
4706
+ const names = props.flatMap((p) => p.names), children = [...props];
4707
+ let blockPrefix;
4708
+ if (rest) {
4709
+ const [, restBinding] = rest;
4710
+ let restIdentifier;
4711
+ if (restBinding.ref) {
4712
+ restIdentifier = restBinding.binding.ref;
4713
+ } else {
4714
+ restIdentifier = restBinding.names[0];
4715
+ }
4716
+ if (after.length) {
4717
+ const spliceRef = module2.getRef("splice");
4718
+ blockPrefix = {
4719
+ children: ["[", module2.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4720
+ names: after.flatMap((p) => p.names)
4721
+ };
4722
+ }
4723
+ children.push(...rest);
4724
+ names.push(...restBinding.names);
4725
+ }
4726
+ return {
4727
+ children,
4728
+ names,
4729
+ blockPrefix
4730
+ };
4731
+ });
4732
+ function NestedMatchingElements(state) {
4733
+ let eventData;
4734
+ if (state.events) {
4735
+ const result = state.events.enter?.("NestedMatchingElements", state);
4736
+ if (result) {
4737
+ if (result.cache)
4738
+ return result.cache;
4739
+ eventData = result.data;
4740
+ }
4741
+ }
4742
+ if (state.tokenize) {
4743
+ const result = $TOKEN("NestedMatchingElements", state, NestedMatchingElements$0(state));
4744
+ if (state.events)
4745
+ state.events.exit?.("NestedMatchingElements", state, result, eventData);
4746
+ return result;
4747
+ } else {
4748
+ const result = NestedMatchingElements$0(state);
4749
+ if (state.events)
4750
+ state.events.exit?.("NestedMatchingElements", state, result, eventData);
4751
+ return result;
4752
+ }
4753
+ }
4754
+ var NestedMatchingElement$0 = $TS($S(Nested, MatchingElement), function($skip, $loc, $0, $1, $2) {
4755
+ var indent = $1;
4756
+ var element = $2;
4757
+ return {
4758
+ ...element,
4759
+ children: [indent, ...element.children]
4760
+ };
4761
+ });
4762
+ function NestedMatchingElement(state) {
4763
+ let eventData;
4764
+ if (state.events) {
4765
+ const result = state.events.enter?.("NestedMatchingElement", state);
4766
+ if (result) {
4767
+ if (result.cache)
4768
+ return result.cache;
4769
+ eventData = result.data;
4770
+ }
4771
+ }
4772
+ if (state.tokenize) {
4773
+ const result = $TOKEN("NestedMatchingElement", state, NestedMatchingElement$0(state));
4774
+ if (state.events)
4775
+ state.events.exit?.("NestedMatchingElement", state, result, eventData);
4776
+ return result;
4777
+ } else {
4778
+ const result = NestedMatchingElement$0(state);
4779
+ if (state.events)
4780
+ state.events.exit?.("NestedMatchingElement", state, result, eventData);
4781
+ return result;
4782
+ }
4783
+ }
4784
+ var MatchingElement$0 = $TS($S($C(BindingIdentifier, MatchingPattern), ArrayElementDelimiter), function($skip, $loc, $0, $1, $2) {
4785
+ var binding = $1;
4786
+ return {
4787
+ names: binding.names,
4788
+ children: $0
4789
+ };
4790
+ });
4791
+ function MatchingElement(state) {
4792
+ let eventData;
4793
+ if (state.events) {
4794
+ const result = state.events.enter?.("MatchingElement", state);
4795
+ if (result) {
4796
+ if (result.cache)
4797
+ return result.cache;
4798
+ eventData = result.data;
4799
+ }
4800
+ }
4801
+ if (state.tokenize) {
4802
+ const result = $TOKEN("MatchingElement", state, MatchingElement$0(state));
4803
+ if (state.events)
4804
+ state.events.exit?.("MatchingElement", state, result, eventData);
4805
+ return result;
4806
+ } else {
4807
+ const result = MatchingElement$0(state);
4808
+ if (state.events)
4809
+ state.events.exit?.("MatchingElement", state, result, eventData);
4810
+ return result;
4811
+ }
4812
+ }
4813
+ var MatchingRestElement$0 = BindingRestElement;
4814
+ function MatchingRestElement(state) {
4815
+ let eventData;
4816
+ if (state.events) {
4817
+ const result = state.events.enter?.("MatchingRestElement", state);
4818
+ if (result) {
4819
+ if (result.cache)
4820
+ return result.cache;
4821
+ eventData = result.data;
4822
+ }
4823
+ }
4824
+ if (state.tokenize) {
4825
+ const result = $TOKEN("MatchingRestElement", state, MatchingRestElement$0(state));
4826
+ if (state.events)
4827
+ state.events.exit?.("MatchingRestElement", state, result, eventData);
4828
+ return result;
4829
+ } else {
4830
+ const result = MatchingRestElement$0(state);
4831
+ if (state.events)
4832
+ state.events.exit?.("MatchingRestElement", state, result, eventData);
4833
+ return result;
4834
+ }
4835
+ }
4336
4836
  var FunctionDeclaration$0 = FunctionExpression;
4337
4837
  function FunctionDeclaration(state) {
4338
4838
  let eventData;
@@ -18418,7 +18918,7 @@ var uncacheable;
18418
18918
  ({ parse } = import_parser.default);
18419
18919
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
18420
18920
  defaultOptions = {};
18421
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
18921
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
18422
18922
  var compile = function(src, options = defaultOptions) {
18423
18923
  var ast, code, events, filename, sm, srcMapJSON;
18424
18924
  filename = options.filename || "unknown";