@@ -686,6 +686,40 @@ class _Renderer_Callable extends RendererBase<Callable> {
686686 }
687687}
688688
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+
689723class _Renderer_Canonicalization extends RendererBase<Canonicalization> {
690724 static final Map<Type, Object> _propertyMapCache = {};
691725 static Map<String, Property<CT_>> propertyMap<
@@ -2660,6 +2694,7 @@ class _Renderer_Container extends RendererBase<Container> {
26602694 ..._Renderer_ModelElement.propertyMap<CT_>(),
26612695 ..._Renderer_Categorization.propertyMap<CT_>(),
26622696 ..._Renderer_TypeParameters.propertyMap<CT_>(),
2697+ ..._Renderer_HideConstantImplementations.propertyMap<CT_>(),
26632698 'allCanonicalModelElements': Property(
26642699 getValue: (CT_ c) => c.allCanonicalModelElements,
26652700 renderVariable: (CT_ c, Property<CT_> self,
@@ -5547,6 +5582,13 @@ class _Renderer_Field extends RendererBase<Field> {
55475582 parent: r);
55485583 },
55495584 ),
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+ ),
55505592 'href': Property(
55515593 getValue: (CT_ c) => c.href,
55525594 renderVariable:
@@ -6270,6 +6312,13 @@ class _Renderer_GetterSetterCombo extends RendererBase<GetterSetterCombo> {
62706312 self.renderSimpleVariable(c, remainingNames, 'bool'),
62716313 getBool: (CT_ c) => c.hasGetterOrSetter == true,
62726314 ),
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+ ),
62736322 'hasNoGetterSetter': Property(
62746323 getValue: (CT_ c) => c.hasNoGetterSetter,
62756324 renderVariable: (CT_ c, Property<CT_> self,
@@ -6528,6 +6577,38 @@ class _Renderer_HasNoPage extends RendererBase<HasNoPage> {
65286577 }
65296578}
65306579
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+
65316612class _Renderer_Indexable extends RendererBase<Indexable> {
65326613 static final Map<Type, Object> _propertyMapCache = {};
65336614 static Map<String, Property<CT_>> propertyMap<CT_ extends Indexable>() =>
@@ -7643,6 +7724,8 @@ class _Renderer_Library extends RendererBase<Library> {
76437724 ..._Renderer_ModelElement.propertyMap<CT_>(),
76447725 ..._Renderer_Categorization.propertyMap<CT_>(),
76457726 ..._Renderer_TopLevelContainer.propertyMap<CT_>(),
7727+ ..._Renderer_CanonicalFor.propertyMap<CT_>(),
7728+ ..._Renderer_HideConstantImplementations.propertyMap<CT_>(),
76467729 'allClasses': Property(
76477730 getValue: (CT_ c) => c.allClasses,
76487731 renderVariable: (CT_ c, Property<CT_> self,
@@ -7668,15 +7751,15 @@ class _Renderer_Library extends RendererBase<Library> {
76687751 parent: r));
76697752 },
76707753 ),
7671- 'canonicalFor ': Property(
7672- getValue: (CT_ c) => c.canonicalFor ,
7754+ 'allOriginalModelElementNames ': Property(
7755+ getValue: (CT_ c) => c.allOriginalModelElementNames ,
76737756 renderVariable: (CT_ c, Property<CT_> self,
76747757 List<String> remainingNames) =>
76757758 self.renderSimpleVariable(
7676- c, remainingNames, 'Set <String>'),
7759+ c, remainingNames, 'Iterable <String>'),
76777760 renderIterable: (CT_ c, RendererBase<CT_> r,
76787761 List<MustachioNode> ast, StringSink sink) {
7679- return c.canonicalFor .map((e) =>
7762+ return c.allOriginalModelElementNames .map((e) =>
76807763 _render_String(e, ast, r.template, sink, parent: r));
76817764 },
76827765 ),
@@ -12085,7 +12168,7 @@ class _Renderer_Package extends RendererBase<Package> {
1208512168 }
1208612169}
1208712170
12088- String renderSearchPage (PackageTemplateData context, Template template) {
12171+ String renderIndex (PackageTemplateData context, Template template) {
1208912172 var buffer = StringBuffer();
1209012173 _render_PackageTemplateData(context, template.ast, template, buffer);
1209112174 return buffer.toString();
@@ -12323,7 +12406,7 @@ class _Renderer_PackageTemplateData extends RendererBase<PackageTemplateData> {
1232312406 }
1232412407}
1232512408
12326- String renderIndex (PackageTemplateData context, Template template) {
12409+ String renderSearchPage (PackageTemplateData context, Template template) {
1232712410 var buffer = StringBuffer();
1232812411 _render_PackageTemplateData(context, template.ast, template, buffer);
1232912412 return buffer.toString();
@@ -14529,6 +14612,13 @@ class _Renderer_TopLevelVariable extends RendererBase<TopLevelVariable> {
1452914612 parent: r);
1453014613 },
1453114614 ),
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+ ),
1453214622 'href': Property(
1453314623 getValue: (CT_ c) => c.href,
1453414624 renderVariable:
@@ -16155,6 +16245,7 @@ const _invisibleGetters = {
1615516245 'hasExplicitSetter',
1615616246 'hasGetter',
1615716247 'hasGetterOrSetter',
16248+ 'hasHideConstantImplementation',
1615816249 'hasNoGetterSetter',
1615916250 'hasParameters',
1616016251 'hasPublicGetter',
0 commit comments