@@ -686,6 +686,40 @@ class _Renderer_Callable extends RendererBase<Callable> {
686
686
}
687
687
}
688
688
689
+ class _Renderer_CanonicalFor extends RendererBase<CanonicalFor> {
690
+ static final Map<Type, Object> _propertyMapCache = {};
691
+ static Map<String, Property<CT_>> propertyMap<CT_ extends CanonicalFor>() =>
692
+ _propertyMapCache.putIfAbsent(
693
+ CT_,
694
+ () => {
695
+ 'canonicalFor': Property(
696
+ getValue: (CT_ c) => c.canonicalFor,
697
+ renderVariable: (CT_ c, Property<CT_> self,
698
+ List<String> remainingNames) =>
699
+ self.renderSimpleVariable(
700
+ c, remainingNames, 'Set<String>'),
701
+ renderIterable: (CT_ c, RendererBase<CT_> r,
702
+ List<MustachioNode> ast, StringSink sink) {
703
+ return c.canonicalFor.map((e) =>
704
+ _render_String(e, ast, r.template, sink, parent: r));
705
+ },
706
+ ),
707
+ }) as Map<String, Property<CT_>>;
708
+
709
+ _Renderer_CanonicalFor(CanonicalFor context, RendererBase<Object>? parent,
710
+ Template template, StringSink sink)
711
+ : super(context, parent, template, sink);
712
+
713
+ @override
714
+ Property<CanonicalFor>? getProperty(String key) {
715
+ if (propertyMap<CanonicalFor>().containsKey(key)) {
716
+ return propertyMap<CanonicalFor>()[key];
717
+ } else {
718
+ return null;
719
+ }
720
+ }
721
+ }
722
+
689
723
class _Renderer_Canonicalization extends RendererBase<Canonicalization> {
690
724
static final Map<Type, Object> _propertyMapCache = {};
691
725
static Map<String, Property<CT_>> propertyMap<
@@ -2660,6 +2694,7 @@ class _Renderer_Container extends RendererBase<Container> {
2660
2694
..._Renderer_ModelElement.propertyMap<CT_>(),
2661
2695
..._Renderer_Categorization.propertyMap<CT_>(),
2662
2696
..._Renderer_TypeParameters.propertyMap<CT_>(),
2697
+ ..._Renderer_HideConstantImplementations.propertyMap<CT_>(),
2663
2698
'allCanonicalModelElements': Property(
2664
2699
getValue: (CT_ c) => c.allCanonicalModelElements,
2665
2700
renderVariable: (CT_ c, Property<CT_> self,
@@ -5547,6 +5582,13 @@ class _Renderer_Field extends RendererBase<Field> {
5547
5582
parent: r);
5548
5583
},
5549
5584
),
5585
+ 'hasHideConstantImplementation': Property(
5586
+ getValue: (CT_ c) => c.hasHideConstantImplementation,
5587
+ renderVariable: (CT_ c, Property<CT_> self,
5588
+ List<String> remainingNames) =>
5589
+ self.renderSimpleVariable(c, remainingNames, 'bool'),
5590
+ getBool: (CT_ c) => c.hasHideConstantImplementation == true,
5591
+ ),
5550
5592
'href': Property(
5551
5593
getValue: (CT_ c) => c.href,
5552
5594
renderVariable:
@@ -6270,6 +6312,13 @@ class _Renderer_GetterSetterCombo extends RendererBase<GetterSetterCombo> {
6270
6312
self.renderSimpleVariable(c, remainingNames, 'bool'),
6271
6313
getBool: (CT_ c) => c.hasGetterOrSetter == true,
6272
6314
),
6315
+ 'hasHideConstantImplementation': Property(
6316
+ getValue: (CT_ c) => c.hasHideConstantImplementation,
6317
+ renderVariable: (CT_ c, Property<CT_> self,
6318
+ List<String> remainingNames) =>
6319
+ self.renderSimpleVariable(c, remainingNames, 'bool'),
6320
+ getBool: (CT_ c) => c.hasHideConstantImplementation == true,
6321
+ ),
6273
6322
'hasNoGetterSetter': Property(
6274
6323
getValue: (CT_ c) => c.hasNoGetterSetter,
6275
6324
renderVariable: (CT_ c, Property<CT_> self,
@@ -6528,6 +6577,38 @@ class _Renderer_HasNoPage extends RendererBase<HasNoPage> {
6528
6577
}
6529
6578
}
6530
6579
6580
+ class _Renderer_HideConstantImplementations
6581
+ extends RendererBase<HideConstantImplementations> {
6582
+ static final Map<Type, Object> _propertyMapCache = {};
6583
+ static Map<String, Property<CT_>>
6584
+ propertyMap<CT_ extends HideConstantImplementations>() =>
6585
+ _propertyMapCache.putIfAbsent(
6586
+ CT_,
6587
+ () => {
6588
+ 'hasHideConstantImplementations': Property(
6589
+ getValue: (CT_ c) => c.hasHideConstantImplementations,
6590
+ renderVariable: (CT_ c, Property<CT_> self,
6591
+ List<String> remainingNames) =>
6592
+ self.renderSimpleVariable(c, remainingNames, 'bool'),
6593
+ getBool: (CT_ c) =>
6594
+ c.hasHideConstantImplementations == true,
6595
+ ),
6596
+ }) as Map<String, Property<CT_>>;
6597
+
6598
+ _Renderer_HideConstantImplementations(HideConstantImplementations context,
6599
+ RendererBase<Object>? parent, Template template, StringSink sink)
6600
+ : super(context, parent, template, sink);
6601
+
6602
+ @override
6603
+ Property<HideConstantImplementations>? getProperty(String key) {
6604
+ if (propertyMap<HideConstantImplementations>().containsKey(key)) {
6605
+ return propertyMap<HideConstantImplementations>()[key];
6606
+ } else {
6607
+ return null;
6608
+ }
6609
+ }
6610
+ }
6611
+
6531
6612
class _Renderer_Indexable extends RendererBase<Indexable> {
6532
6613
static final Map<Type, Object> _propertyMapCache = {};
6533
6614
static Map<String, Property<CT_>> propertyMap<CT_ extends Indexable>() =>
@@ -7643,6 +7724,8 @@ class _Renderer_Library extends RendererBase<Library> {
7643
7724
..._Renderer_ModelElement.propertyMap<CT_>(),
7644
7725
..._Renderer_Categorization.propertyMap<CT_>(),
7645
7726
..._Renderer_TopLevelContainer.propertyMap<CT_>(),
7727
+ ..._Renderer_CanonicalFor.propertyMap<CT_>(),
7728
+ ..._Renderer_HideConstantImplementations.propertyMap<CT_>(),
7646
7729
'allClasses': Property(
7647
7730
getValue: (CT_ c) => c.allClasses,
7648
7731
renderVariable: (CT_ c, Property<CT_> self,
@@ -7668,15 +7751,15 @@ class _Renderer_Library extends RendererBase<Library> {
7668
7751
parent: r));
7669
7752
},
7670
7753
),
7671
- 'canonicalFor ': Property(
7672
- getValue: (CT_ c) => c.canonicalFor ,
7754
+ 'allOriginalModelElementNames ': Property(
7755
+ getValue: (CT_ c) => c.allOriginalModelElementNames ,
7673
7756
renderVariable: (CT_ c, Property<CT_> self,
7674
7757
List<String> remainingNames) =>
7675
7758
self.renderSimpleVariable(
7676
- c, remainingNames, 'Set <String>'),
7759
+ c, remainingNames, 'Iterable <String>'),
7677
7760
renderIterable: (CT_ c, RendererBase<CT_> r,
7678
7761
List<MustachioNode> ast, StringSink sink) {
7679
- return c.canonicalFor .map((e) =>
7762
+ return c.allOriginalModelElementNames .map((e) =>
7680
7763
_render_String(e, ast, r.template, sink, parent: r));
7681
7764
},
7682
7765
),
@@ -12085,7 +12168,7 @@ class _Renderer_Package extends RendererBase<Package> {
12085
12168
}
12086
12169
}
12087
12170
12088
- String renderSearchPage (PackageTemplateData context, Template template) {
12171
+ String renderIndex (PackageTemplateData context, Template template) {
12089
12172
var buffer = StringBuffer();
12090
12173
_render_PackageTemplateData(context, template.ast, template, buffer);
12091
12174
return buffer.toString();
@@ -12323,7 +12406,7 @@ class _Renderer_PackageTemplateData extends RendererBase<PackageTemplateData> {
12323
12406
}
12324
12407
}
12325
12408
12326
- String renderIndex (PackageTemplateData context, Template template) {
12409
+ String renderSearchPage (PackageTemplateData context, Template template) {
12327
12410
var buffer = StringBuffer();
12328
12411
_render_PackageTemplateData(context, template.ast, template, buffer);
12329
12412
return buffer.toString();
@@ -14529,6 +14612,13 @@ class _Renderer_TopLevelVariable extends RendererBase<TopLevelVariable> {
14529
14612
parent: r);
14530
14613
},
14531
14614
),
14615
+ 'hasHideConstantImplementation': Property(
14616
+ getValue: (CT_ c) => c.hasHideConstantImplementation,
14617
+ renderVariable: (CT_ c, Property<CT_> self,
14618
+ List<String> remainingNames) =>
14619
+ self.renderSimpleVariable(c, remainingNames, 'bool'),
14620
+ getBool: (CT_ c) => c.hasHideConstantImplementation == true,
14621
+ ),
14532
14622
'href': Property(
14533
14623
getValue: (CT_ c) => c.href,
14534
14624
renderVariable:
@@ -16155,6 +16245,7 @@ const _invisibleGetters = {
16155
16245
'hasExplicitSetter',
16156
16246
'hasGetter',
16157
16247
'hasGetterOrSetter',
16248
+ 'hasHideConstantImplementation',
16158
16249
'hasNoGetterSetter',
16159
16250
'hasParameters',
16160
16251
'hasPublicGetter',
0 commit comments