@zenwave360/dsl 1.11.0-next.19.1 → 1.11.0-next.21.1

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.
@@ -53,8 +53,8 @@ import {
53
53
  toString1pkumu07cwy4m as toString_0,
54
54
  hashCodeq5arwsb9dgti as hashCode,
55
55
  UnsupportedOperationException_init_$Create$2mt8zfs17dxxt as UnsupportedOperationException_init_$Create$_0,
56
- MutableCollection3jqcg879qsnhr as MutableCollection,
57
56
  KtSetjrjc7fhfd6b9 as KtSet,
57
+ MutableCollection3jqcg879qsnhr as MutableCollection,
58
58
  IllegalStateException_init_$Create$2dr6rbnhpv20m as IllegalStateException_init_$Create$_0,
59
59
  noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
60
60
  copyOfRange1v9olvyjr7c0r as copyOfRange,
@@ -142,12 +142,12 @@ initMetadataForCompanion(Companion_6);
142
142
  initMetadataForClass(ATN, 'ATN');
143
143
  initMetadataForCompanion(Companion_7);
144
144
  initMetadataForClass(ATNConfig, 'ATNConfig');
145
- initMetadataForClass(Array2DHashSet, 'Array2DHashSet', Array2DHashSet, VOID, [MutableCollection, KtSet]);
145
+ initMetadataForClass(Array2DHashSet, 'Array2DHashSet', Array2DHashSet, VOID, [KtSet, MutableCollection]);
146
146
  initMetadataForClass(AbstractConfigHashSet, 'AbstractConfigHashSet', VOID, Array2DHashSet);
147
147
  initMetadataForClass(ConfigHashSet, 'ConfigHashSet', ConfigHashSet, AbstractConfigHashSet);
148
148
  initMetadataForClass(AbstractEqualityComparator, 'AbstractEqualityComparator');
149
149
  initMetadataForObject(ConfigEqualityComparator, 'ConfigEqualityComparator', VOID, AbstractEqualityComparator);
150
- initMetadataForClass(ATNConfigSet, 'ATNConfigSet', ATNConfigSet, VOID, [MutableCollection, KtSet]);
150
+ initMetadataForClass(ATNConfigSet, 'ATNConfigSet', ATNConfigSet, VOID, [KtSet, MutableCollection]);
151
151
  initMetadataForCompanion(Companion_8);
152
152
  initMetadataForClass(ATNDeserializationOptions, 'ATNDeserializationOptions', ATNDeserializationOptions_init_$Create$);
153
153
  initMetadataForCompanion(Companion_9);
@@ -48,6 +48,12 @@ if (typeof Math.clz32 === 'undefined') {
48
48
  };
49
49
  }(Math.log, Math.LN2);
50
50
  }
51
+ if (typeof String.prototype.startsWith === 'undefined') {
52
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
53
+ position = position || 0;
54
+ return this.lastIndexOf(searchString, position) === position;
55
+ }});
56
+ }
51
57
  if (typeof String.prototype.endsWith === 'undefined') {
52
58
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
53
59
  var subjectString = this.toString();
@@ -59,12 +65,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
59
65
  return lastIndex !== -1 && lastIndex === position;
60
66
  }});
61
67
  }
62
- if (typeof String.prototype.startsWith === 'undefined') {
63
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
64
- position = position || 0;
65
- return this.lastIndexOf(searchString, position) === position;
66
- }});
67
- }
68
68
  //endregion
69
69
  //region block: imports
70
70
  var imul_0 = Math.imul;
@@ -115,20 +115,20 @@ initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
115
115
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
116
116
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
117
117
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMutableMap]);
118
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, MutableCollection, KtSet]);
118
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, MutableCollection]);
119
119
  initMetadataForCompanion(Companion_2);
120
120
  initMetadataForInterface(RandomAccess, 'RandomAccess');
121
121
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
122
122
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
123
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [MutableCollection, KtSet, AbstractMutableSet]);
123
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, MutableCollection, AbstractMutableSet]);
124
124
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableCollection, AbstractMutableCollection]);
125
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [MutableCollection, KtSet, AbstractMutableSet]);
125
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, MutableCollection, AbstractMutableSet]);
126
126
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
127
127
  initMetadataForClass(HashMapKeysDefault$iterator$1);
128
128
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
129
129
  initMetadataForClass(HashMapValuesDefault$iterator$1);
130
130
  initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
131
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, MutableCollection, KtSet]);
131
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, MutableCollection]);
132
132
  initMetadataForCompanion(Companion_3);
133
133
  initMetadataForClass(Itr, 'Itr');
134
134
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -173,7 +173,7 @@ function containsAllEntries(m) {
173
173
  initMetadataForInterface(InternalMap, 'InternalMap');
174
174
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
175
175
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMutableMap]);
176
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, MutableCollection, KtSet]);
176
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, MutableCollection]);
177
177
  initMetadataForClass(BaseOutput, 'BaseOutput');
178
178
  initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
179
179
  initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
@@ -593,6 +593,9 @@ function toBooleanArray(_this__u8e3s4) {
593
593
  }
594
594
  return result;
595
595
  }
596
+ function firstOrNull(_this__u8e3s4) {
597
+ return _this__u8e3s4.n() ? null : _this__u8e3s4.m(0);
598
+ }
596
599
  function asSequence(_this__u8e3s4) {
597
600
  // Inline function 'kotlin.sequences.Sequence' call
598
601
  return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
@@ -625,9 +628,6 @@ function toSet_0(_this__u8e3s4) {
625
628
  }
626
629
  return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
627
630
  }
628
- function firstOrNull(_this__u8e3s4) {
629
- return _this__u8e3s4.n() ? null : _this__u8e3s4.m(0);
630
- }
631
631
  function sorted(_this__u8e3s4) {
632
632
  if (isInterface(_this__u8e3s4, Collection)) {
633
633
  if (_this__u8e3s4.l() <= 1)
@@ -650,44 +650,6 @@ function distinct(_this__u8e3s4) {
650
650
  function getOrNull_0(_this__u8e3s4, index) {
651
651
  return (0 <= index ? index < _this__u8e3s4.l() : false) ? _this__u8e3s4.m(index) : null;
652
652
  }
653
- function single_0(_this__u8e3s4) {
654
- var tmp;
655
- switch (_this__u8e3s4.l()) {
656
- case 0:
657
- throw NoSuchElementException_init_$Create$_0('List is empty.');
658
- case 1:
659
- tmp = _this__u8e3s4.m(0);
660
- break;
661
- default:
662
- throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
663
- }
664
- return tmp;
665
- }
666
- function toList_0(_this__u8e3s4) {
667
- if (isInterface(_this__u8e3s4, Collection)) {
668
- var tmp;
669
- switch (_this__u8e3s4.l()) {
670
- case 0:
671
- tmp = emptyList();
672
- break;
673
- case 1:
674
- var tmp_0;
675
- if (isInterface(_this__u8e3s4, KtList)) {
676
- tmp_0 = _this__u8e3s4.m(0);
677
- } else {
678
- tmp_0 = _this__u8e3s4.i().k();
679
- }
680
-
681
- tmp = listOf(tmp_0);
682
- break;
683
- default:
684
- tmp = toMutableList_0(_this__u8e3s4);
685
- break;
686
- }
687
- return tmp;
688
- }
689
- return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
690
- }
691
653
  function plus(_this__u8e3s4, elements) {
692
654
  if (isInterface(elements, Collection)) {
693
655
  var result = ArrayList_init_$Create$_0(_this__u8e3s4.l() + elements.l() | 0);
@@ -757,11 +719,49 @@ function drop(_this__u8e3s4, n) {
757
719
  }
758
720
  return optimizeReadOnlyList(list);
759
721
  }
722
+ function single_0(_this__u8e3s4) {
723
+ var tmp;
724
+ switch (_this__u8e3s4.l()) {
725
+ case 0:
726
+ throw NoSuchElementException_init_$Create$_0('List is empty.');
727
+ case 1:
728
+ tmp = _this__u8e3s4.m(0);
729
+ break;
730
+ default:
731
+ throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
732
+ }
733
+ return tmp;
734
+ }
760
735
  function last(_this__u8e3s4) {
761
736
  if (_this__u8e3s4.n())
762
737
  throw NoSuchElementException_init_$Create$_0('List is empty.');
763
738
  return _this__u8e3s4.m(get_lastIndex_0(_this__u8e3s4));
764
739
  }
740
+ function toList_0(_this__u8e3s4) {
741
+ if (isInterface(_this__u8e3s4, Collection)) {
742
+ var tmp;
743
+ switch (_this__u8e3s4.l()) {
744
+ case 0:
745
+ tmp = emptyList();
746
+ break;
747
+ case 1:
748
+ var tmp_0;
749
+ if (isInterface(_this__u8e3s4, KtList)) {
750
+ tmp_0 = _this__u8e3s4.m(0);
751
+ } else {
752
+ tmp_0 = _this__u8e3s4.i().k();
753
+ }
754
+
755
+ tmp = listOf(tmp_0);
756
+ break;
757
+ default:
758
+ tmp = toMutableList_0(_this__u8e3s4);
759
+ break;
760
+ }
761
+ return tmp;
762
+ }
763
+ return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
764
+ }
765
765
  function toCollection_0(_this__u8e3s4, destination) {
766
766
  var _iterator__ex2g4s = _this__u8e3s4.i();
767
767
  while (_iterator__ex2g4s.j()) {
@@ -2876,6 +2876,9 @@ function eachCount(_this__u8e3s4) {
2876
2876
  function isNaN_0(_this__u8e3s4) {
2877
2877
  return !(_this__u8e3s4 === _this__u8e3s4);
2878
2878
  }
2879
+ function isFinite(_this__u8e3s4) {
2880
+ return !isInfinite(_this__u8e3s4) && !isNaN_0(_this__u8e3s4);
2881
+ }
2879
2882
  function isInfinite(_this__u8e3s4) {
2880
2883
  return _this__u8e3s4 === Infinity || _this__u8e3s4 === -Infinity;
2881
2884
  }
@@ -2889,11 +2892,8 @@ function takeHighestOneBit(_this__u8e3s4) {
2889
2892
  }
2890
2893
  return tmp;
2891
2894
  }
2892
- function isFinite(_this__u8e3s4) {
2893
- return !isInfinite_0(_this__u8e3s4) && !isNaN_1(_this__u8e3s4);
2894
- }
2895
2895
  function isFinite_0(_this__u8e3s4) {
2896
- return !isInfinite(_this__u8e3s4) && !isNaN_0(_this__u8e3s4);
2896
+ return !isInfinite_0(_this__u8e3s4) && !isNaN_1(_this__u8e3s4);
2897
2897
  }
2898
2898
  function isInfinite_0(_this__u8e3s4) {
2899
2899
  return _this__u8e3s4 === Infinity || _this__u8e3s4 === -Infinity;
@@ -11092,8 +11092,8 @@ export {
11092
11092
  UShort as UShort26xnqty60t7le,
11093
11093
  Unit as Unitkvevlwgzwiuc,
11094
11094
  ensureNotNull as ensureNotNull1e947j3ixpazm,
11095
- isFinite_0 as isFinite2t9l5a275mxm6,
11096
- isFinite as isFinite1tx0gn65nl9tj,
11095
+ isFinite as isFinite2t9l5a275mxm6,
11096
+ isFinite_0 as isFinite1tx0gn65nl9tj,
11097
11097
  lazy as lazy1261dae0bgscp,
11098
11098
  lazy_0 as lazy2hsh8ze7j6ikd,
11099
11099
  noWhenBranchMatchedException as noWhenBranchMatchedException2a6r7ubxgky5j,