blob: bead960926d4c2b83ef7e267d087dea1ed863776 [file] [log] [blame]
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@Renderer.forTest(#renderFoo, Context<Foo>(), 'foo',
visibleTypes: {Property1, Property2, Property3})
@Renderer.forTest(#renderBar, Context<Bar>(), 'bar')
@Renderer.forTest(#renderBaz, Context<Baz>(), 'baz')
library;
import 'package:dartdoc/src/mustachio/annotations.dart';
class FooBase<T extends Object> {
T? baz;
}
class Foo extends FooBase<Baz> {
String? s1 = '';
bool b1 = false;
List<int> l1 = [];
@override
// ignore: overridden_fields
Baz? baz;
Property1? p1;
int? length;
}
class Bar {
Foo? foo;
String? s2;
Baz? baz;
bool? l1;
}
class Baz {
Bar? bar;
}
class Property1 {
Property2? p2;
}
class Property2 with Mixin1 {
String? s;
}
mixin Mixin1 {
Property3? p3;
}
class Property3 {
String? s;
}