@typemf/core 0.5.0 → 0.5.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.
- package/dist/index.cjs +75 -116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +75 -116
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -525,7 +525,7 @@ var EStringToStringMapEntryImpl = class extends EObjectImpl {
|
|
|
525
525
|
case 1:
|
|
526
526
|
return this._value;
|
|
527
527
|
default:
|
|
528
|
-
throw new Error(`EStringToStringMapEntry has no feature with id ${feature.getFeatureID()}`);
|
|
528
|
+
throw new Error(`EStringToStringMapEntry has no feature with id ${String(feature.getFeatureID())}`);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
eSet(feature, value) {
|
|
@@ -567,7 +567,7 @@ var EStringToStringMapEntryImpl = class extends EObjectImpl {
|
|
|
567
567
|
return;
|
|
568
568
|
}
|
|
569
569
|
default:
|
|
570
|
-
throw new Error(`EStringToStringMapEntry has no feature with id ${feature.getFeatureID()}`);
|
|
570
|
+
throw new Error(`EStringToStringMapEntry has no feature with id ${String(feature.getFeatureID())}`);
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
eBasicSetValue(feature, value) {
|
|
@@ -580,14 +580,13 @@ var EStringToStringMapEntryImpl = class extends EObjectImpl {
|
|
|
580
580
|
this._value = value;
|
|
581
581
|
return;
|
|
582
582
|
default:
|
|
583
|
-
|
|
584
|
-
throw new Error(`Feature ${featureId} on EStringToStringMapEntry is many-valued or unknown.`);
|
|
583
|
+
throw new Error(`Feature ${String(featureId)} on EStringToStringMapEntry is many-valued or unknown.`);
|
|
585
584
|
}
|
|
586
585
|
}
|
|
587
586
|
eBootstrapList(featureId) {
|
|
588
587
|
switch (featureId) {
|
|
589
588
|
default:
|
|
590
|
-
throw new Error(`Feature ${featureId} on EStringToStringMapEntry is single-valued or unknown.`);
|
|
589
|
+
throw new Error(`Feature ${String(featureId)} on EStringToStringMapEntry is single-valued or unknown.`);
|
|
591
590
|
}
|
|
592
591
|
}
|
|
593
592
|
eIsSet(feature) {
|
|
@@ -597,7 +596,7 @@ var EStringToStringMapEntryImpl = class extends EObjectImpl {
|
|
|
597
596
|
case 1:
|
|
598
597
|
return this._value !== void 0;
|
|
599
598
|
default:
|
|
600
|
-
throw new Error(`EStringToStringMapEntry has no feature with id ${feature.getFeatureID()}`);
|
|
599
|
+
throw new Error(`EStringToStringMapEntry has no feature with id ${String(feature.getFeatureID())}`);
|
|
601
600
|
}
|
|
602
601
|
}
|
|
603
602
|
eUnset(feature) {
|
|
@@ -635,7 +634,7 @@ var EStringToStringMapEntryImpl = class extends EObjectImpl {
|
|
|
635
634
|
return;
|
|
636
635
|
}
|
|
637
636
|
default:
|
|
638
|
-
throw new Error(`EStringToStringMapEntry has no feature with id ${feature.getFeatureID()}`);
|
|
637
|
+
throw new Error(`EStringToStringMapEntry has no feature with id ${String(feature.getFeatureID())}`);
|
|
639
638
|
}
|
|
640
639
|
}
|
|
641
640
|
};
|
|
@@ -751,9 +750,7 @@ var DynamicEObjectImpl = class extends EObjectImpl {
|
|
|
751
750
|
var EModelElementImpl = class extends EObjectImpl {
|
|
752
751
|
_eAnnotationsCache;
|
|
753
752
|
get _eAnnotations() {
|
|
754
|
-
|
|
755
|
-
this._eAnnotationsCache = new BasicEList(this, getEcorePackageRef().getEModelElement_EAnnotations());
|
|
756
|
-
}
|
|
753
|
+
this._eAnnotationsCache ??= new BasicEList(this, getEcorePackageRef().getEModelElement_EAnnotations());
|
|
757
754
|
return this._eAnnotationsCache;
|
|
758
755
|
}
|
|
759
756
|
eClass() {
|
|
@@ -770,7 +767,7 @@ var EModelElementImpl = class extends EObjectImpl {
|
|
|
770
767
|
case 0:
|
|
771
768
|
return this._eAnnotations;
|
|
772
769
|
default:
|
|
773
|
-
throw new Error(`EModelElement has no feature with id ${feature.getFeatureID()}`);
|
|
770
|
+
throw new Error(`EModelElement has no feature with id ${String(feature.getFeatureID())}`);
|
|
774
771
|
}
|
|
775
772
|
}
|
|
776
773
|
eSet(feature, value) {
|
|
@@ -783,24 +780,23 @@ var EModelElementImpl = class extends EObjectImpl {
|
|
|
783
780
|
return;
|
|
784
781
|
}
|
|
785
782
|
default:
|
|
786
|
-
throw new Error(`EModelElement has no feature with id ${feature.getFeatureID()}`);
|
|
783
|
+
throw new Error(`EModelElement has no feature with id ${String(feature.getFeatureID())}`);
|
|
787
784
|
}
|
|
788
785
|
}
|
|
789
|
-
eBasicSetValue(feature,
|
|
786
|
+
eBasicSetValue(feature, _value) {
|
|
790
787
|
const featureId = typeof feature === "number" ? feature : feature.getFeatureID();
|
|
791
788
|
switch (featureId) {
|
|
792
789
|
default:
|
|
793
|
-
|
|
794
|
-
throw new Error(`Feature ${featureId} on EModelElement is many-valued or unknown.`);
|
|
790
|
+
throw new Error(`Feature ${String(featureId)} on EModelElement is many-valued or unknown.`);
|
|
795
791
|
}
|
|
796
792
|
}
|
|
797
793
|
eBootstrapList(featureId) {
|
|
798
794
|
switch (featureId) {
|
|
799
795
|
case 0:
|
|
800
|
-
|
|
796
|
+
this._eAnnotationsCache ??= new BasicEList(this);
|
|
801
797
|
return this._eAnnotationsCache;
|
|
802
798
|
default:
|
|
803
|
-
throw new Error(`Feature ${featureId} on EModelElement is single-valued or unknown.`);
|
|
799
|
+
throw new Error(`Feature ${String(featureId)} on EModelElement is single-valued or unknown.`);
|
|
804
800
|
}
|
|
805
801
|
}
|
|
806
802
|
eIsSet(feature) {
|
|
@@ -808,7 +804,7 @@ var EModelElementImpl = class extends EObjectImpl {
|
|
|
808
804
|
case 0:
|
|
809
805
|
return this._eAnnotationsCache !== void 0 && this._eAnnotationsCache.size() !== 0;
|
|
810
806
|
default:
|
|
811
|
-
throw new Error(`EModelElement has no feature with id ${feature.getFeatureID()}`);
|
|
807
|
+
throw new Error(`EModelElement has no feature with id ${String(feature.getFeatureID())}`);
|
|
812
808
|
}
|
|
813
809
|
}
|
|
814
810
|
eUnset(feature) {
|
|
@@ -817,7 +813,7 @@ var EModelElementImpl = class extends EObjectImpl {
|
|
|
817
813
|
this._eAnnotationsCache?.clear();
|
|
818
814
|
return;
|
|
819
815
|
default:
|
|
820
|
-
throw new Error(`EModelElement has no feature with id ${feature.getFeatureID()}`);
|
|
816
|
+
throw new Error(`EModelElement has no feature with id ${String(feature.getFeatureID())}`);
|
|
821
817
|
}
|
|
822
818
|
}
|
|
823
819
|
};
|
|
@@ -984,24 +980,18 @@ var EAnnotationImpl = class extends EModelElementImpl {
|
|
|
984
980
|
_source;
|
|
985
981
|
_detailsCache;
|
|
986
982
|
get _details() {
|
|
987
|
-
|
|
988
|
-
this._detailsCache = new BasicEList(this, getEcorePackageRef().getEAnnotation_Details());
|
|
989
|
-
}
|
|
983
|
+
this._detailsCache ??= new BasicEList(this, getEcorePackageRef().getEAnnotation_Details());
|
|
990
984
|
return this._detailsCache;
|
|
991
985
|
}
|
|
992
986
|
_eModelElement;
|
|
993
987
|
_contentsCache;
|
|
994
988
|
get _contents() {
|
|
995
|
-
|
|
996
|
-
this._contentsCache = new BasicEList(this, getEcorePackageRef().getEAnnotation_Contents());
|
|
997
|
-
}
|
|
989
|
+
this._contentsCache ??= new BasicEList(this, getEcorePackageRef().getEAnnotation_Contents());
|
|
998
990
|
return this._contentsCache;
|
|
999
991
|
}
|
|
1000
992
|
_referencesCache;
|
|
1001
993
|
get _references() {
|
|
1002
|
-
|
|
1003
|
-
this._referencesCache = new BasicEList(this, getEcorePackageRef().getEAnnotation_References());
|
|
1004
|
-
}
|
|
994
|
+
this._referencesCache ??= new BasicEList(this, getEcorePackageRef().getEAnnotation_References());
|
|
1005
995
|
return this._referencesCache;
|
|
1006
996
|
}
|
|
1007
997
|
eClass() {
|
|
@@ -1125,13 +1115,13 @@ var EAnnotationImpl = class extends EModelElementImpl {
|
|
|
1125
1115
|
eBootstrapList(featureId) {
|
|
1126
1116
|
switch (featureId) {
|
|
1127
1117
|
case 2:
|
|
1128
|
-
|
|
1118
|
+
this._detailsCache ??= new BasicEList(this);
|
|
1129
1119
|
return this._detailsCache;
|
|
1130
1120
|
case 4:
|
|
1131
|
-
|
|
1121
|
+
this._contentsCache ??= new BasicEList(this);
|
|
1132
1122
|
return this._contentsCache;
|
|
1133
1123
|
case 5:
|
|
1134
|
-
|
|
1124
|
+
this._referencesCache ??= new BasicEList(this);
|
|
1135
1125
|
return this._referencesCache;
|
|
1136
1126
|
default:
|
|
1137
1127
|
return super.eBootstrapList(featureId);
|
|
@@ -2224,12 +2214,10 @@ var EClassifierImpl = class extends ENamedElementImpl {
|
|
|
2224
2214
|
_ePackage;
|
|
2225
2215
|
_eTypeParametersCache;
|
|
2226
2216
|
get _eTypeParameters() {
|
|
2227
|
-
|
|
2228
|
-
this
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
);
|
|
2232
|
-
}
|
|
2217
|
+
this._eTypeParametersCache ??= new BasicEList(
|
|
2218
|
+
this,
|
|
2219
|
+
getEcorePackageRef().getEClassifier_ETypeParameters()
|
|
2220
|
+
);
|
|
2233
2221
|
return this._eTypeParametersCache;
|
|
2234
2222
|
}
|
|
2235
2223
|
classifierId = -1;
|
|
@@ -2372,7 +2360,7 @@ var EClassifierImpl = class extends ENamedElementImpl {
|
|
|
2372
2360
|
eBootstrapList(featureId) {
|
|
2373
2361
|
switch (featureId) {
|
|
2374
2362
|
case 7:
|
|
2375
|
-
|
|
2363
|
+
this._eTypeParametersCache ??= new BasicEList(this);
|
|
2376
2364
|
return this._eTypeParametersCache;
|
|
2377
2365
|
default:
|
|
2378
2366
|
return super.eBootstrapList(featureId);
|
|
@@ -2555,12 +2543,10 @@ var EGenericTypeImpl = class extends EObjectImpl {
|
|
|
2555
2543
|
_eUpperBound;
|
|
2556
2544
|
_eTypeArgumentsCache;
|
|
2557
2545
|
get _eTypeArguments() {
|
|
2558
|
-
|
|
2559
|
-
this
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
);
|
|
2563
|
-
}
|
|
2546
|
+
this._eTypeArgumentsCache ??= new BasicEList(
|
|
2547
|
+
this,
|
|
2548
|
+
getEcorePackageRef().getEGenericType_ETypeArguments()
|
|
2549
|
+
);
|
|
2564
2550
|
return this._eTypeArgumentsCache;
|
|
2565
2551
|
}
|
|
2566
2552
|
_eRawTypeCache;
|
|
@@ -2630,7 +2616,7 @@ var EGenericTypeImpl = class extends EObjectImpl {
|
|
|
2630
2616
|
case 5:
|
|
2631
2617
|
return this._eClassifier;
|
|
2632
2618
|
default:
|
|
2633
|
-
throw new Error(`EGenericType has no feature with id ${feature.getFeatureID()}`);
|
|
2619
|
+
throw new Error(`EGenericType has no feature with id ${String(feature.getFeatureID())}`);
|
|
2634
2620
|
}
|
|
2635
2621
|
}
|
|
2636
2622
|
eSet(feature, value) {
|
|
@@ -2715,7 +2701,7 @@ var EGenericTypeImpl = class extends EObjectImpl {
|
|
|
2715
2701
|
return;
|
|
2716
2702
|
}
|
|
2717
2703
|
default:
|
|
2718
|
-
throw new Error(`EGenericType has no feature with id ${feature.getFeatureID()}`);
|
|
2704
|
+
throw new Error(`EGenericType has no feature with id ${String(feature.getFeatureID())}`);
|
|
2719
2705
|
}
|
|
2720
2706
|
}
|
|
2721
2707
|
eBasicSetValue(feature, value) {
|
|
@@ -2734,17 +2720,16 @@ var EGenericTypeImpl = class extends EObjectImpl {
|
|
|
2734
2720
|
this._eClassifier = value;
|
|
2735
2721
|
return;
|
|
2736
2722
|
default:
|
|
2737
|
-
|
|
2738
|
-
throw new Error(`Feature ${featureId} on EGenericType is many-valued or unknown.`);
|
|
2723
|
+
throw new Error(`Feature ${String(featureId)} on EGenericType is many-valued or unknown.`);
|
|
2739
2724
|
}
|
|
2740
2725
|
}
|
|
2741
2726
|
eBootstrapList(featureId) {
|
|
2742
2727
|
switch (featureId) {
|
|
2743
2728
|
case 1:
|
|
2744
|
-
|
|
2729
|
+
this._eTypeArgumentsCache ??= new BasicEList(this);
|
|
2745
2730
|
return this._eTypeArgumentsCache;
|
|
2746
2731
|
default:
|
|
2747
|
-
throw new Error(`Feature ${featureId} on EGenericType is single-valued or unknown.`);
|
|
2732
|
+
throw new Error(`Feature ${String(featureId)} on EGenericType is single-valued or unknown.`);
|
|
2748
2733
|
}
|
|
2749
2734
|
}
|
|
2750
2735
|
eIsSet(feature) {
|
|
@@ -2762,7 +2747,7 @@ var EGenericTypeImpl = class extends EObjectImpl {
|
|
|
2762
2747
|
case 5:
|
|
2763
2748
|
return this._eClassifier !== void 0;
|
|
2764
2749
|
default:
|
|
2765
|
-
throw new Error(`EGenericType has no feature with id ${feature.getFeatureID()}`);
|
|
2750
|
+
throw new Error(`EGenericType has no feature with id ${String(feature.getFeatureID())}`);
|
|
2766
2751
|
}
|
|
2767
2752
|
}
|
|
2768
2753
|
eUnset(feature) {
|
|
@@ -2835,7 +2820,7 @@ var EGenericTypeImpl = class extends EObjectImpl {
|
|
|
2835
2820
|
return;
|
|
2836
2821
|
}
|
|
2837
2822
|
default:
|
|
2838
|
-
throw new Error(`EGenericType has no feature with id ${feature.getFeatureID()}`);
|
|
2823
|
+
throw new Error(`EGenericType has no feature with id ${String(feature.getFeatureID())}`);
|
|
2839
2824
|
}
|
|
2840
2825
|
}
|
|
2841
2826
|
};
|
|
@@ -2846,16 +2831,12 @@ var EClassImpl = class extends EClassifierImpl {
|
|
|
2846
2831
|
_interface = false;
|
|
2847
2832
|
_eSuperTypesCache;
|
|
2848
2833
|
get _eSuperTypes() {
|
|
2849
|
-
|
|
2850
|
-
this._eSuperTypesCache = new BasicEList(this, getEcorePackageRef().getEClass_ESuperTypes());
|
|
2851
|
-
}
|
|
2834
|
+
this._eSuperTypesCache ??= new BasicEList(this, getEcorePackageRef().getEClass_ESuperTypes());
|
|
2852
2835
|
return this._eSuperTypesCache;
|
|
2853
2836
|
}
|
|
2854
2837
|
_eOperationsCache;
|
|
2855
2838
|
get _eOperations() {
|
|
2856
|
-
|
|
2857
|
-
this._eOperationsCache = new BasicEList(this, getEcorePackageRef().getEClass_EOperations());
|
|
2858
|
-
}
|
|
2839
|
+
this._eOperationsCache ??= new BasicEList(this, getEcorePackageRef().getEClass_EOperations());
|
|
2859
2840
|
return this._eOperationsCache;
|
|
2860
2841
|
}
|
|
2861
2842
|
_eAllAttributesCache;
|
|
@@ -2878,22 +2859,18 @@ var EClassImpl = class extends EClassifierImpl {
|
|
|
2878
2859
|
_eIDAttributeCacheGeneration = -1;
|
|
2879
2860
|
_eStructuralFeaturesCache;
|
|
2880
2861
|
get _eStructuralFeatures() {
|
|
2881
|
-
|
|
2882
|
-
this
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
);
|
|
2886
|
-
}
|
|
2862
|
+
this._eStructuralFeaturesCache ??= new BasicEList(
|
|
2863
|
+
this,
|
|
2864
|
+
getEcorePackageRef().getEClass_EStructuralFeatures()
|
|
2865
|
+
);
|
|
2887
2866
|
return this._eStructuralFeaturesCache;
|
|
2888
2867
|
}
|
|
2889
2868
|
_eGenericSuperTypesCache;
|
|
2890
2869
|
get _eGenericSuperTypes() {
|
|
2891
|
-
|
|
2892
|
-
this
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
);
|
|
2896
|
-
}
|
|
2870
|
+
this._eGenericSuperTypesCache ??= new BasicEList(
|
|
2871
|
+
this,
|
|
2872
|
+
getEcorePackageRef().getEClass_EGenericSuperTypes()
|
|
2873
|
+
);
|
|
2897
2874
|
return this._eGenericSuperTypesCache;
|
|
2898
2875
|
}
|
|
2899
2876
|
_eAllGenericSuperTypesCache;
|
|
@@ -3273,16 +3250,16 @@ var EClassImpl = class extends EClassifierImpl {
|
|
|
3273
3250
|
eBootstrapList(featureId) {
|
|
3274
3251
|
switch (featureId) {
|
|
3275
3252
|
case 10:
|
|
3276
|
-
|
|
3253
|
+
this._eSuperTypesCache ??= new BasicEList(this);
|
|
3277
3254
|
return this._eSuperTypesCache;
|
|
3278
3255
|
case 11:
|
|
3279
|
-
|
|
3256
|
+
this._eOperationsCache ??= new BasicEList(this);
|
|
3280
3257
|
return this._eOperationsCache;
|
|
3281
3258
|
case 21:
|
|
3282
|
-
|
|
3259
|
+
this._eStructuralFeaturesCache ??= new BasicEList(this);
|
|
3283
3260
|
return this._eStructuralFeaturesCache;
|
|
3284
3261
|
case 22:
|
|
3285
|
-
|
|
3262
|
+
this._eGenericSuperTypesCache ??= new BasicEList(this);
|
|
3286
3263
|
return this._eGenericSuperTypesCache;
|
|
3287
3264
|
default:
|
|
3288
3265
|
return super.eBootstrapList(featureId);
|
|
@@ -3478,9 +3455,7 @@ var EDataTypeImpl = class extends EClassifierImpl {
|
|
|
3478
3455
|
var EEnumImpl = class extends EDataTypeImpl {
|
|
3479
3456
|
_eLiteralsCache;
|
|
3480
3457
|
get _eLiterals() {
|
|
3481
|
-
|
|
3482
|
-
this._eLiteralsCache = new BasicEList(this, getEcorePackageRef().getEEnum_ELiterals());
|
|
3483
|
-
}
|
|
3458
|
+
this._eLiteralsCache ??= new BasicEList(this, getEcorePackageRef().getEEnum_ELiterals());
|
|
3484
3459
|
return this._eLiteralsCache;
|
|
3485
3460
|
}
|
|
3486
3461
|
eClass() {
|
|
@@ -3536,7 +3511,7 @@ var EEnumImpl = class extends EDataTypeImpl {
|
|
|
3536
3511
|
eBootstrapList(featureId) {
|
|
3537
3512
|
switch (featureId) {
|
|
3538
3513
|
case 9:
|
|
3539
|
-
|
|
3514
|
+
this._eLiteralsCache ??= new BasicEList(this);
|
|
3540
3515
|
return this._eLiteralsCache;
|
|
3541
3516
|
default:
|
|
3542
3517
|
return super.eBootstrapList(featureId);
|
|
@@ -3778,36 +3753,28 @@ var EOperationImpl = class extends ETypedElementImpl {
|
|
|
3778
3753
|
_eContainingClass;
|
|
3779
3754
|
_eTypeParametersCache;
|
|
3780
3755
|
get _eTypeParameters() {
|
|
3781
|
-
|
|
3782
|
-
this
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
);
|
|
3786
|
-
}
|
|
3756
|
+
this._eTypeParametersCache ??= new BasicEList(
|
|
3757
|
+
this,
|
|
3758
|
+
getEcorePackageRef().getEOperation_ETypeParameters()
|
|
3759
|
+
);
|
|
3787
3760
|
return this._eTypeParametersCache;
|
|
3788
3761
|
}
|
|
3789
3762
|
_eParametersCache;
|
|
3790
3763
|
get _eParameters() {
|
|
3791
|
-
|
|
3792
|
-
this._eParametersCache = new BasicEList(this, getEcorePackageRef().getEOperation_EParameters());
|
|
3793
|
-
}
|
|
3764
|
+
this._eParametersCache ??= new BasicEList(this, getEcorePackageRef().getEOperation_EParameters());
|
|
3794
3765
|
return this._eParametersCache;
|
|
3795
3766
|
}
|
|
3796
3767
|
_eExceptionsCache;
|
|
3797
3768
|
get _eExceptions() {
|
|
3798
|
-
|
|
3799
|
-
this._eExceptionsCache = new BasicEList(this, getEcorePackageRef().getEOperation_EExceptions());
|
|
3800
|
-
}
|
|
3769
|
+
this._eExceptionsCache ??= new BasicEList(this, getEcorePackageRef().getEOperation_EExceptions());
|
|
3801
3770
|
return this._eExceptionsCache;
|
|
3802
3771
|
}
|
|
3803
3772
|
_eGenericExceptionsCache;
|
|
3804
3773
|
get _eGenericExceptions() {
|
|
3805
|
-
|
|
3806
|
-
this
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
);
|
|
3810
|
-
}
|
|
3774
|
+
this._eGenericExceptionsCache ??= new BasicEList(
|
|
3775
|
+
this,
|
|
3776
|
+
getEcorePackageRef().getEOperation_EGenericExceptions()
|
|
3777
|
+
);
|
|
3811
3778
|
return this._eGenericExceptionsCache;
|
|
3812
3779
|
}
|
|
3813
3780
|
operationId = -1;
|
|
@@ -3919,16 +3886,16 @@ var EOperationImpl = class extends ETypedElementImpl {
|
|
|
3919
3886
|
eBootstrapList(featureId) {
|
|
3920
3887
|
switch (featureId) {
|
|
3921
3888
|
case 11:
|
|
3922
|
-
|
|
3889
|
+
this._eTypeParametersCache ??= new BasicEList(this);
|
|
3923
3890
|
return this._eTypeParametersCache;
|
|
3924
3891
|
case 12:
|
|
3925
|
-
|
|
3892
|
+
this._eParametersCache ??= new BasicEList(this);
|
|
3926
3893
|
return this._eParametersCache;
|
|
3927
3894
|
case 13:
|
|
3928
|
-
|
|
3895
|
+
this._eExceptionsCache ??= new BasicEList(this);
|
|
3929
3896
|
return this._eExceptionsCache;
|
|
3930
3897
|
case 14:
|
|
3931
|
-
|
|
3898
|
+
this._eGenericExceptionsCache ??= new BasicEList(this);
|
|
3932
3899
|
return this._eGenericExceptionsCache;
|
|
3933
3900
|
default:
|
|
3934
3901
|
return super.eBootstrapList(featureId);
|
|
@@ -3994,16 +3961,12 @@ var EPackageImpl = class extends ENamedElementImpl {
|
|
|
3994
3961
|
_eFactoryInstance;
|
|
3995
3962
|
_eClassifiersCache;
|
|
3996
3963
|
get _eClassifiers() {
|
|
3997
|
-
|
|
3998
|
-
this._eClassifiersCache = new BasicEList(this, getEcorePackageRef().getEPackage_EClassifiers());
|
|
3999
|
-
}
|
|
3964
|
+
this._eClassifiersCache ??= new BasicEList(this, getEcorePackageRef().getEPackage_EClassifiers());
|
|
4000
3965
|
return this._eClassifiersCache;
|
|
4001
3966
|
}
|
|
4002
3967
|
_eSubpackagesCache;
|
|
4003
3968
|
get _eSubpackages() {
|
|
4004
|
-
|
|
4005
|
-
this._eSubpackagesCache = new BasicEList(this, getEcorePackageRef().getEPackage_ESubpackages());
|
|
4006
|
-
}
|
|
3969
|
+
this._eSubpackagesCache ??= new BasicEList(this, getEcorePackageRef().getEPackage_ESubpackages());
|
|
4007
3970
|
return this._eSubpackagesCache;
|
|
4008
3971
|
}
|
|
4009
3972
|
_eSuperPackage;
|
|
@@ -4159,10 +4122,10 @@ var EPackageImpl = class extends ENamedElementImpl {
|
|
|
4159
4122
|
eBootstrapList(featureId) {
|
|
4160
4123
|
switch (featureId) {
|
|
4161
4124
|
case 5:
|
|
4162
|
-
|
|
4125
|
+
this._eClassifiersCache ??= new BasicEList(this);
|
|
4163
4126
|
return this._eClassifiersCache;
|
|
4164
4127
|
case 6:
|
|
4165
|
-
|
|
4128
|
+
this._eSubpackagesCache ??= new BasicEList(this);
|
|
4166
4129
|
return this._eSubpackagesCache;
|
|
4167
4130
|
default:
|
|
4168
4131
|
return super.eBootstrapList(featureId);
|
|
@@ -4351,9 +4314,7 @@ var EReferenceImpl = class extends EStructuralFeatureImpl {
|
|
|
4351
4314
|
_eReferenceType;
|
|
4352
4315
|
_eKeysCache;
|
|
4353
4316
|
get _eKeys() {
|
|
4354
|
-
|
|
4355
|
-
this._eKeysCache = new BasicEList(this, getEcorePackageRef().getEReference_EKeys());
|
|
4356
|
-
}
|
|
4317
|
+
this._eKeysCache ??= new BasicEList(this, getEcorePackageRef().getEReference_EKeys());
|
|
4357
4318
|
return this._eKeysCache;
|
|
4358
4319
|
}
|
|
4359
4320
|
eClass() {
|
|
@@ -4498,7 +4459,7 @@ var EReferenceImpl = class extends EStructuralFeatureImpl {
|
|
|
4498
4459
|
eBootstrapList(featureId) {
|
|
4499
4460
|
switch (featureId) {
|
|
4500
4461
|
case 23:
|
|
4501
|
-
|
|
4462
|
+
this._eKeysCache ??= new BasicEList(this);
|
|
4502
4463
|
return this._eKeysCache;
|
|
4503
4464
|
default:
|
|
4504
4465
|
return super.eBootstrapList(featureId);
|
|
@@ -4618,9 +4579,7 @@ var EReferenceImpl = class extends EStructuralFeatureImpl {
|
|
|
4618
4579
|
var ETypeParameterImpl = class extends ENamedElementImpl {
|
|
4619
4580
|
_eBoundsCache;
|
|
4620
4581
|
get _eBounds() {
|
|
4621
|
-
|
|
4622
|
-
this._eBoundsCache = new BasicEList(this, getEcorePackageRef().getETypeParameter_EBounds());
|
|
4623
|
-
}
|
|
4582
|
+
this._eBoundsCache ??= new BasicEList(this, getEcorePackageRef().getETypeParameter_EBounds());
|
|
4624
4583
|
return this._eBoundsCache;
|
|
4625
4584
|
}
|
|
4626
4585
|
eClass() {
|
|
@@ -4662,7 +4621,7 @@ var ETypeParameterImpl = class extends ENamedElementImpl {
|
|
|
4662
4621
|
eBootstrapList(featureId) {
|
|
4663
4622
|
switch (featureId) {
|
|
4664
4623
|
case 2:
|
|
4665
|
-
|
|
4624
|
+
this._eBoundsCache ??= new BasicEList(this);
|
|
4666
4625
|
return this._eBoundsCache;
|
|
4667
4626
|
default:
|
|
4668
4627
|
return super.eBootstrapList(featureId);
|