diff --git a/appveyor.yml b/appveyor.yml index 02aa2e5cc4..ce1c4db152 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,11 @@ install: - set PATH=%PATH%;C:\tools\dart-sdk\bin - set PATH=%PATH%;%APPDATA%\Pub\Cache\bin - pub get + - cmd: cd testing + - cmd: cd test_package + - cmd: pub get + - cmd: cd .. + - cmd: cd .. build: off diff --git a/lib/src/element_type.dart b/lib/src/element_type.dart index d3e3abb865..c2bee91dc0 100644 --- a/lib/src/element_type.dart +++ b/lib/src/element_type.dart @@ -21,42 +21,38 @@ class ElementType { bool get isFunctionType => (_type is FunctionType); - bool get isParameterizedType { - if (_type is FunctionType) { - return typeArguments.isNotEmpty; - } else if (_type is ParameterizedType) { - return (_type as ParameterizedType).typeArguments.isNotEmpty; - } - return false; - } + bool get isParameterizedType => (_type is ParameterizedType); bool get isParameterType => (_type is TypeParameterType); String get linkedName { - if (_linkedName != null) return _linkedName; - - StringBuffer buf = new StringBuffer(); - - if (isParameterType) { - buf.write(name); - } else { - buf.write(element.linkedName); - } + if (_linkedName == null) { + StringBuffer buf = new StringBuffer(); - // not TypeParameterType or Void or Union type - if (isParameterizedType) { - if (typeArguments.every((t) => t.linkedName == 'dynamic')) { - _linkedName = buf.toString(); - return _linkedName; + if (isParameterType) { + buf.write(name); + } else { + buf.write(element.linkedName); } - if (typeArguments.isNotEmpty) { - buf.write('<'); - buf.writeAll(typeArguments.map((t) => t.linkedName), ', '); - buf.write('>'); + + // not TypeParameterType or Void or Union type + if (isParameterizedType) { + if (!typeArguments.every((t) => t.linkedName == 'dynamic') && + typeArguments.isNotEmpty) { + buf.write('<'); + buf.writeAll(typeArguments.map((t) => t.linkedName), ', '); + buf.write('>'); + } + // Hide parameters if there's a an explicit typedef behind this + // element, but if there is no typedef, be explicit. + if (element is ModelFunctionAnonymous) { + buf.write('('); + buf.write(element.linkedParams()); + buf.write(')'); + } } + _linkedName = buf.toString(); } - _linkedName = buf.toString(); - return _linkedName; } diff --git a/lib/src/model.dart b/lib/src/model.dart index d63c9478d6..76a595bcb4 100644 --- a/lib/src/model.dart +++ b/lib/src/model.dart @@ -769,7 +769,7 @@ class Class extends ModelElement implements EnclosedElement { @override String get nameWithGenerics { - if (!modelType.isParameterizedType) return name; + if (!modelType.isParameterizedType || _typeParameters.isEmpty) return name; return '$name<${_typeParameters.map((t) => t.name).join(', ')}>'; } @@ -2216,6 +2216,14 @@ abstract class ModelElement extends Nameable } if (e is FunctionElement) { newModelElement = new ModelFunction(e, library); + } else if (e is GenericFunctionTypeElement) { + if (e is FunctionTypeAliasElement) { + assert(e.name != ''); + newModelElement = new ModelFunctionTypedef(e, library); + } else { + assert(e.name == ''); + newModelElement = new ModelFunctionAnonymous(e, library); + } } if (e is FunctionTypeAliasElement) { newModelElement = new Typedef(e, library); @@ -2285,10 +2293,7 @@ abstract class ModelElement extends Nameable } } } - // TODO(jcollins-g): Consider subclass for ModelFunctionTyped. - if (e is GenericFunctionTypeElement) { - newModelElement = new ModelFunctionTyped(e, library); - } + if (newModelElement == null) throw "Unknown type ${e.runtimeType}"; if (enclosingClass != null) assert(newModelElement is Inheritable); @@ -3203,6 +3208,7 @@ abstract class ModelElement extends Nameable } } +/// A [ModelElement] for a [FunctionElement] that isn't part of a type definition. class ModelFunction extends ModelFunctionTyped { ModelFunction(FunctionElement element, Library library) : super(element, library); @@ -3212,10 +3218,52 @@ class ModelFunction extends ModelFunctionTyped { return _func.isStatic; } + @override + String get name { + if (element.enclosingElement is ParameterElement && super.name.isEmpty) + return element.enclosingElement.name; + return super.name; + } + @override FunctionElement get _func => (element as FunctionElement); } +/// A [ModelElement] for a [GenericModelFunctionElement] that is an +/// explicit typedef. +/// +/// Distinct from ModelFunctionTypedef in that it doesn't +/// have a name, but we document it as "Function" to match how these are +/// written in declarations. +class ModelFunctionAnonymous extends ModelFunctionTyped { + ModelFunctionAnonymous(FunctionTypedElement element, Library library) + : super(element, library) {} + + @override + String get name => 'Function'; + + @override + bool get isPublic => false; +} + +/// A [ModelElement] for a [GenericModelFunctionElement] that is part of an +/// explicit typedef. +class ModelFunctionTypedef extends ModelFunctionTyped { + ModelFunctionTypedef(FunctionTypedElement element, Library library) + : super(element, library) {} + + @override + String get name { + Element e = element; + while (e != null) { + if (e is FunctionTypeAliasElement) return e.name; + e = e.enclosingElement; + } + assert(false); + return super.name; + } +} + class ModelFunctionTyped extends ModelElement with SourceCodeMixin implements EnclosedElement { @@ -3238,13 +3286,6 @@ class ModelFunctionTyped extends ModelElement String get fileName => "$name.html"; - @override - String get name { - if (element.enclosingElement is ParameterElement && super.name.isEmpty) - return element.enclosingElement.name; - return super.name; - } - @override String get href { if (canonicalLibrary == null) return null; @@ -4590,7 +4631,7 @@ class Typedef extends ModelElement @override String get nameWithGenerics { - if (!modelType.isParameterizedType) return name; + if (!modelType.isParameterizedType || _typeParameters.isEmpty) return name; return '$name<${_typeParameters.map((t) => t.name).join(', ')}>'; } diff --git a/lib/src/model_utils.dart b/lib/src/model_utils.dart index 66e2739e0d..ef809d98b2 100644 --- a/lib/src/model_utils.dart +++ b/lib/src/model_utils.dart @@ -54,12 +54,14 @@ bool isInExportedLibraries( final RegExp slashes = new RegExp('[\/]'); bool hasPrivateName(Element e) { - if (e.name.startsWith('_') || - (e is LibraryElement && - (e.identifier == 'dart:_internal' || - e.identifier == 'dart:nativewrappers'))) { + if (e.name.startsWith('_')) { return true; } + if (e is LibraryElement && + (e.identifier.startsWith('dart:_') || + ['dart:nativewrappers'].contains(e.identifier))) { + return true; + } if (e is LibraryElement) { List locationParts = e.location.components[0].split(slashes); // TODO(jcollins-g): Implement real cross package detection diff --git a/pubspec.lock b/pubspec.lock index ce8484b9db..37168660d3 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -121,6 +121,12 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.0" + js: + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1" kernel: description: name: kernel @@ -169,6 +175,12 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.0" + node_preamble: + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.0" package_config: description: name: package_config @@ -294,7 +306,7 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "0.12.20+13" + version: "0.12.24+6" tuple: description: name: tuple @@ -350,4 +362,4 @@ packages: source: hosted version: "2.1.12" sdks: - dart: ">=1.23.0-dev.11.5 <2.0.0-dev.infinity" + dart: ">=1.23.0 <=2.0.0-dev.2.0" diff --git a/pubspec.yaml b/pubspec.yaml index 1c3ec9dfc2..826af267ab 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,6 +28,6 @@ dev_dependencies: http: ^0.11.0 meta: ^1.0.0 pub_semver: ^1.0.0 - test: ^0.12.0 + test: '^0.12.20+24' executables: dartdoc: null diff --git a/test/model_test.dart b/test/model_test.dart index e2a0d33604..a871805cef 100644 --- a/test/model_test.dart +++ b/test/model_test.dart @@ -686,7 +686,7 @@ void main() { }); test('correctly finds all the classes', () { - expect(classes, hasLength(21)); + expect(classes, hasLength(22)); }); test('abstract', () { @@ -1027,9 +1027,10 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans, }); group('Method', () { - Class classB, klass, HasGenerics, Cat, CatString; + Class classB, klass, HasGenerics, Cat, CatString, TypedFunctionsWithoutTypedefs; Method m1, isGreaterThan, m4, m5, m6, m7, convertToMap, abstractMethod; Method inheritedClear, testGeneric, testGenericMethod; + Method getAFunctionReturningVoid; setUp(() { klass = exLibrary.classes.singleWhere((c) => c.name == 'Klass'); @@ -1061,6 +1062,8 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans, .singleWhere((m) => m.name == 'testGenericMethod'); convertToMap = HasGenerics.instanceMethods .singleWhere((m) => m.name == 'convertToMap'); + TypedFunctionsWithoutTypedefs = exLibrary.classes.singleWhere((c) => c.name == 'TypedFunctionsWithoutTypedefs'); + getAFunctionReturningVoid = TypedFunctionsWithoutTypedefs.instanceMethods.singleWhere((m) => m.name == 'getAFunctionReturningVoid'); }); tearDown(() { @@ -1070,6 +1073,15 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans, } }); + test('verify parameters to types are displayed', () { + var matcher = new RegExp('Function\\(T. T.\\)'); + expect(matcher.hasMatch(getAFunctionReturningVoid.linkedReturnType), isTrue); + }); + + test('verify parameter types are correctly displayed', () { + expect(getAFunctionReturningVoid.linkedReturnType, equals('Function(T1 T2)')); + }, skip: 'blocked on https://github.com/dart-lang/sdk/issues/30146'); + test('has a fully qualified name', () { expect(m1.fullyQualifiedName, 'ex.B.m1'); }); @@ -1757,13 +1769,26 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans, group('Typedef', () { Typedef t; Typedef generic; + Typedef aComplexTypedef; setUp(() { t = exLibrary.typedefs.firstWhere((t) => t.name == 'processMessage'); generic = fakeLibrary.typedefs.firstWhere((t) => t.name == 'NewGenericTypedef'); + aComplexTypedef = exLibrary.typedefs.firstWhere((t) => t.name == 'aComplexTypedef'); }); + test('anonymous nested functions inside typedefs are handled', () { + expect(aComplexTypedef, isNotNull); + expect(aComplexTypedef.linkedReturnType, startsWith('Function')); + expect(aComplexTypedef.nameWithGenerics, equals('aComplexTypedef<A1, A2, A3>')); + }); + + test('anonymous nested functions inside typedefs are handled correctly', () { + expect(aComplexTypedef.linkedReturnType, equals('Function(A1 A2 A3)')); + expect(aComplexTypedef.linkedParamsLines, equals('A3 String')); + }, skip: 'blocked on https://github.com/dart-lang/sdk/issues/30146'); + test('has a fully qualified name', () { expect(t.fullyQualifiedName, 'ex.processMessage'); expect(generic.fullyQualifiedName, 'fake.NewGenericTypedef'); diff --git a/testing/test_package/lib/example.dart b/testing/test_package/lib/example.dart index 48ef950caa..fd107e5d9d 100644 --- a/testing/test_package/lib/example.dart +++ b/testing/test_package/lib/example.dart @@ -424,3 +424,16 @@ class _RetainedEnum { @override String toString() => name; } + +/// Someone might do this some day. +typedef aComplexTypedef = void Function(A1, A2, A3) Function(A3, String); + +/// This class has a complicated type situation. +abstract class TypedFunctionsWithoutTypedefs { + /// Returns a function that returns a void with some generic types sprinkled in. + void Function(T1, T2) getAFunctionReturningVoid( + void callback(T1 argument1, T2 argument2)); + + /// Returns a complex typedef that includes some anonymous typed functions. + aComplexTypedef getAComplexTypedef(); +} \ No newline at end of file diff --git a/testing/test_package_docs/ex/Animal-class.html b/testing/test_package_docs/ex/Animal-class.html index 0fe98ee336..1ce5ac3b42 100644 --- a/testing/test_package_docs/ex/Animal-class.html +++ b/testing/test_package_docs/ex/Animal-class.html @@ -58,6 +58,7 @@
library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/Apple-class.html b/testing/test_package_docs/ex/Apple-class.html index 1201252602..12c8099410 100644 --- a/testing/test_package_docs/ex/Apple-class.html +++ b/testing/test_package_docs/ex/Apple-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/B-class.html b/testing/test_package_docs/ex/B-class.html index 292d90e4a9..f552eaadb2 100644 --- a/testing/test_package_docs/ex/B-class.html +++ b/testing/test_package_docs/ex/B-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/COLOR-constant.html b/testing/test_package_docs/ex/COLOR-constant.html index 699abfb870..7db65e13ed 100644 --- a/testing/test_package_docs/ex/COLOR-constant.html +++ b/testing/test_package_docs/ex/COLOR-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/COLOR_GREEN-constant.html b/testing/test_package_docs/ex/COLOR_GREEN-constant.html index 3b794c6b81..44a83c29ad 100644 --- a/testing/test_package_docs/ex/COLOR_GREEN-constant.html +++ b/testing/test_package_docs/ex/COLOR_GREEN-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/COLOR_ORANGE-constant.html b/testing/test_package_docs/ex/COLOR_ORANGE-constant.html index 8d44709c8e..455f0a7940 100644 --- a/testing/test_package_docs/ex/COLOR_ORANGE-constant.html +++ b/testing/test_package_docs/ex/COLOR_ORANGE-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/COMPLEX_COLOR-constant.html b/testing/test_package_docs/ex/COMPLEX_COLOR-constant.html index c7bd01fe0e..412e7f13f0 100644 --- a/testing/test_package_docs/ex/COMPLEX_COLOR-constant.html +++ b/testing/test_package_docs/ex/COMPLEX_COLOR-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/Cat-class.html b/testing/test_package_docs/ex/Cat-class.html index 6e46a34fd2..c4c99709be 100644 --- a/testing/test_package_docs/ex/Cat-class.html +++ b/testing/test_package_docs/ex/Cat-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/CatString-class.html b/testing/test_package_docs/ex/CatString-class.html index 09bfc12b11..d4fcfe2ad6 100644 --- a/testing/test_package_docs/ex/CatString-class.html +++ b/testing/test_package_docs/ex/CatString-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/ConstantCat-class.html b/testing/test_package_docs/ex/ConstantCat-class.html index f943f6b0c3..a9fb3b9eb6 100644 --- a/testing/test_package_docs/ex/ConstantCat-class.html +++ b/testing/test_package_docs/ex/ConstantCat-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/Deprecated-class.html b/testing/test_package_docs/ex/Deprecated-class.html index bdbc665f92..8d201d3c62 100644 --- a/testing/test_package_docs/ex/Deprecated-class.html +++ b/testing/test_package_docs/ex/Deprecated-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/Dog-class.html b/testing/test_package_docs/ex/Dog-class.html index cfa3a83c0a..3e8621eb93 100644 --- a/testing/test_package_docs/ex/Dog-class.html +++ b/testing/test_package_docs/ex/Dog-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/E-class.html b/testing/test_package_docs/ex/E-class.html index a6314975f6..4e1f95ad30 100644 --- a/testing/test_package_docs/ex/E-class.html +++ b/testing/test_package_docs/ex/E-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/F-class.html b/testing/test_package_docs/ex/F-class.html index 042c1de8d7..49f9037a4f 100644 --- a/testing/test_package_docs/ex/F-class.html +++ b/testing/test_package_docs/ex/F-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/ForAnnotation-class.html b/testing/test_package_docs/ex/ForAnnotation-class.html index 0d10129717..10d62f0aad 100644 --- a/testing/test_package_docs/ex/ForAnnotation-class.html +++ b/testing/test_package_docs/ex/ForAnnotation-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/HasAnnotation-class.html b/testing/test_package_docs/ex/HasAnnotation-class.html index 9b2205bec0..2ce630d085 100644 --- a/testing/test_package_docs/ex/HasAnnotation-class.html +++ b/testing/test_package_docs/ex/HasAnnotation-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/Helper-class.html b/testing/test_package_docs/ex/Helper-class.html index 429cc79a07..d72c2ecece 100644 --- a/testing/test_package_docs/ex/Helper-class.html +++ b/testing/test_package_docs/ex/Helper-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/Klass-class.html b/testing/test_package_docs/ex/Klass-class.html index cfbb3debde..3321afb243 100644 --- a/testing/test_package_docs/ex/Klass-class.html +++ b/testing/test_package_docs/ex/Klass-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/MY_CAT-constant.html b/testing/test_package_docs/ex/MY_CAT-constant.html index a21d4d3e36..be0b07311e 100644 --- a/testing/test_package_docs/ex/MY_CAT-constant.html +++ b/testing/test_package_docs/ex/MY_CAT-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/MyError-class.html b/testing/test_package_docs/ex/MyError-class.html index e359f75824..1b67cb0505 100644 --- a/testing/test_package_docs/ex/MyError-class.html +++ b/testing/test_package_docs/ex/MyError-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/MyErrorImplements-class.html b/testing/test_package_docs/ex/MyErrorImplements-class.html index d295d2faa9..2633f73a95 100644 --- a/testing/test_package_docs/ex/MyErrorImplements-class.html +++ b/testing/test_package_docs/ex/MyErrorImplements-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/MyException-class.html b/testing/test_package_docs/ex/MyException-class.html index 25f6fa8872..8ceb94001e 100644 --- a/testing/test_package_docs/ex/MyException-class.html +++ b/testing/test_package_docs/ex/MyException-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/MyExceptionImplements-class.html b/testing/test_package_docs/ex/MyExceptionImplements-class.html index 36d4658e92..1d36c9274f 100644 --- a/testing/test_package_docs/ex/MyExceptionImplements-class.html +++ b/testing/test_package_docs/ex/MyExceptionImplements-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/PRETTY_COLORS-constant.html b/testing/test_package_docs/ex/PRETTY_COLORS-constant.html index e08f187e14..072562df34 100644 --- a/testing/test_package_docs/ex/PRETTY_COLORS-constant.html +++ b/testing/test_package_docs/ex/PRETTY_COLORS-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/ParameterizedTypedef.html b/testing/test_package_docs/ex/ParameterizedTypedef.html index 2332da0bcf..090a6ab13c 100644 --- a/testing/test_package_docs/ex/ParameterizedTypedef.html +++ b/testing/test_package_docs/ex/ParameterizedTypedef.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/PublicClassExtendsPrivateClass-class.html b/testing/test_package_docs/ex/PublicClassExtendsPrivateClass-class.html index 4bf53930ab..0a2d715102 100644 --- a/testing/test_package_docs/ex/PublicClassExtendsPrivateClass-class.html +++ b/testing/test_package_docs/ex/PublicClassExtendsPrivateClass-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface-class.html b/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface-class.html index ab3aa9ea39..dd126044fe 100644 --- a/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface-class.html +++ b/testing/test_package_docs/ex/PublicClassImplementsPrivateInterface-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/ShapeType-class.html b/testing/test_package_docs/ex/ShapeType-class.html index 506e078677..4ca0d5bb80 100644 --- a/testing/test_package_docs/ex/ShapeType-class.html +++ b/testing/test_package_docs/ex/ShapeType-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/SpecializedDuration-class.html b/testing/test_package_docs/ex/SpecializedDuration-class.html index c8d1947a0e..dde5b730b5 100644 --- a/testing/test_package_docs/ex/SpecializedDuration-class.html +++ b/testing/test_package_docs/ex/SpecializedDuration-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs-class.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs-class.html new file mode 100644 index 0000000000..69c464a3e5 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs-class.html @@ -0,0 +1,256 @@ + + + + + + + + TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    TypedFunctionsWithoutTypedefs
    + +
    + +
    + + + +
    + +
    +

    This class has a complicated type situation.

    +
    + + +
    +

    Constructors

    + +
    +
    + TypedFunctionsWithoutTypedefs() +
    +
    + +
    +
    +
    + +
    +

    Properties

    + +
    +
    + hashCode + → int +
    +
    + +
    read-only, inherited
    +
    +
    + runtimeType + → Type +
    +
    + +
    read-only, inherited
    +
    +
    +
    + +
    +

    Methods

    +
    +
    + getAComplexTypedef<A4, A5, A6>() + → Function(A3 A3) + +
    +
    + Returns a complex typedef that includes some anonymous typed functions. + +
    +
    + getAFunctionReturningVoid<T1, T2>(void callback(T1 argument1, T2 argument2)) + → Function(T1 T1) + +
    +
    + Returns a function that returns a void with some generic types sprinkled in. + +
    +
    + noSuchMethod(Invocation invocation) + → dynamic + +
    +
    + +
    inherited
    +
    +
    + toString() + → String + +
    +
    + +
    inherited
    +
    +
    +
    + +
    +

    Operators

    +
    +
    + operator ==(other) + → bool + +
    +
    + +
    inherited
    +
    +
    +
    + + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/TypedFunctionsWithoutTypedefs.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/TypedFunctionsWithoutTypedefs.html new file mode 100644 index 0000000000..81cdb960a7 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/TypedFunctionsWithoutTypedefs.html @@ -0,0 +1,102 @@ + + + + + + + + TypedFunctionsWithoutTypedefs constructor - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    TypedFunctionsWithoutTypedefs
    + +
    + +
    + + + +
    +
    + + TypedFunctionsWithoutTypedefs() +
    + + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/getAComplexTypedef.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/getAComplexTypedef.html new file mode 100644 index 0000000000..d0e11e4f51 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/getAComplexTypedef.html @@ -0,0 +1,104 @@ + + + + + + + + getAComplexTypedef method - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    getAComplexTypedef
    + +
    + +
    + + + +
    +
    + Function(A3 A3) + getAComplexTypedef<A4, A5, A6>() +
    +
    +

    Returns a complex typedef that includes some anonymous typed functions.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/getAFunctionReturningVoid.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/getAFunctionReturningVoid.html new file mode 100644 index 0000000000..209bd83047 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/getAFunctionReturningVoid.html @@ -0,0 +1,104 @@ + + + + + + + + getAFunctionReturningVoid method - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    getAFunctionReturningVoid
    + +
    + +
    + + + +
    +
    + Function(T1 T1) + getAFunctionReturningVoid<T1, T2>(void callback(T1 argument1, T2 argument2)) +
    +
    +

    Returns a function that returns a void with some generic types sprinkled in.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/hashCode.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/hashCode.html new file mode 100644 index 0000000000..d6e5f193c2 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/hashCode.html @@ -0,0 +1,106 @@ + + + + + + + + hashCode property - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    hashCode
    + +
    + +
    + + + +
    + + +
    + +
    + int + hashCode
    + +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/noSuchMethod.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/noSuchMethod.html new file mode 100644 index 0000000000..066eb75c3d --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/noSuchMethod.html @@ -0,0 +1,101 @@ + + + + + + + + noSuchMethod method - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    noSuchMethod
    + +
    + +
    + + + +
    +
    + dynamic + noSuchMethod(Invocation invocation) +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/operator_equals.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/operator_equals.html new file mode 100644 index 0000000000..e515e6d5c6 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/operator_equals.html @@ -0,0 +1,101 @@ + + + + + + + + operator == method - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    operator ==
    + +
    + +
    + + + +
    +
    + bool + operator ==(other) +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/runtimeType.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/runtimeType.html new file mode 100644 index 0000000000..396376fbf4 --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/runtimeType.html @@ -0,0 +1,106 @@ + + + + + + + + runtimeType property - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    runtimeType
    + +
    + +
    + + + +
    + + +
    + +
    + Type + runtimeType
    + +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/toString.html b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/toString.html new file mode 100644 index 0000000000..3323be9ccc --- /dev/null +++ b/testing/test_package_docs/ex/TypedFunctionsWithoutTypedefs/toString.html @@ -0,0 +1,101 @@ + + + + + + + + toString method - TypedFunctionsWithoutTypedefs class - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    toString
    + +
    + +
    + + + +
    +
    + String + toString() +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/WithGeneric-class.html b/testing/test_package_docs/ex/WithGeneric-class.html index 5569ecf293..6548315b18 100644 --- a/testing/test_package_docs/ex/WithGeneric-class.html +++ b/testing/test_package_docs/ex/WithGeneric-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/WithGenericSub-class.html b/testing/test_package_docs/ex/WithGenericSub-class.html index 9a27bdfb7e..88bf189932 100644 --- a/testing/test_package_docs/ex/WithGenericSub-class.html +++ b/testing/test_package_docs/ex/WithGenericSub-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/aComplexTypedef.html b/testing/test_package_docs/ex/aComplexTypedef.html new file mode 100644 index 0000000000..f77f2d10a6 --- /dev/null +++ b/testing/test_package_docs/ex/aComplexTypedef.html @@ -0,0 +1,143 @@ + + + + + + + + aComplexTypedef typedef - ex library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    aComplexTypedef
    + +
    + +
    + + + +
    + +
    + Function(A1 A1 A1) + aComplexTypedef(A3 A3) +
    + +
    +

    Someone might do this some day.

    +
    + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/ex/aThingToDo-class.html b/testing/test_package_docs/ex/aThingToDo-class.html index 02e0fb2b37..207adab243 100644 --- a/testing/test_package_docs/ex/aThingToDo-class.html +++ b/testing/test_package_docs/ex/aThingToDo-class.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/deprecated-constant.html b/testing/test_package_docs/ex/deprecated-constant.html index 5c1f8f81c1..7e88707233 100644 --- a/testing/test_package_docs/ex/deprecated-constant.html +++ b/testing/test_package_docs/ex/deprecated-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/deprecatedField.html b/testing/test_package_docs/ex/deprecatedField.html index 9e8ae38d99..56786b8298 100644 --- a/testing/test_package_docs/ex/deprecatedField.html +++ b/testing/test_package_docs/ex/deprecatedField.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/deprecatedGetter.html b/testing/test_package_docs/ex/deprecatedGetter.html index a193094b75..c6a1098ec2 100644 --- a/testing/test_package_docs/ex/deprecatedGetter.html +++ b/testing/test_package_docs/ex/deprecatedGetter.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/deprecatedSetter.html b/testing/test_package_docs/ex/deprecatedSetter.html index 54f8fa10e1..293c5e94e4 100644 --- a/testing/test_package_docs/ex/deprecatedSetter.html +++ b/testing/test_package_docs/ex/deprecatedSetter.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/ex-library.html b/testing/test_package_docs/ex/ex-library.html index b1becc22c9..4bd17d4c2a 100644 --- a/testing/test_package_docs/ex/ex-library.html +++ b/testing/test_package_docs/ex/ex-library.html @@ -180,6 +180,12 @@

    Classes

    For testing a class that extends a class that has some operators +
    + TypedFunctionsWithoutTypedefs +
    +
    + This class has a complicated type situation. +
    WithGeneric
    @@ -394,6 +400,15 @@

    Enums

    Typedefs

    +
    + aComplexTypedef(A3 A3) + → Function(A1 A1 A1) + +
    +
    + Someone might do this some day. + +
    ParameterizedTypedef(T msg, int foo) → String @@ -471,6 +486,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -500,6 +516,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/function1.html b/testing/test_package_docs/ex/function1.html index 6cb1e6f731..6136e635db 100644 --- a/testing/test_package_docs/ex/function1.html +++ b/testing/test_package_docs/ex/function1.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/genericFunction.html b/testing/test_package_docs/ex/genericFunction.html index f9d0bc6149..fd9b5f922f 100644 --- a/testing/test_package_docs/ex/genericFunction.html +++ b/testing/test_package_docs/ex/genericFunction.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/incorrectDocReference-constant.html b/testing/test_package_docs/ex/incorrectDocReference-constant.html index 3eecae8efa..a1f2efccdd 100644 --- a/testing/test_package_docs/ex/incorrectDocReference-constant.html +++ b/testing/test_package_docs/ex/incorrectDocReference-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/incorrectDocReferenceFromEx-constant.html b/testing/test_package_docs/ex/incorrectDocReferenceFromEx-constant.html index 5edf6d085b..15abb3c857 100644 --- a/testing/test_package_docs/ex/incorrectDocReferenceFromEx-constant.html +++ b/testing/test_package_docs/ex/incorrectDocReferenceFromEx-constant.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/number.html b/testing/test_package_docs/ex/number.html index d973d2521f..e28d3f55a6 100644 --- a/testing/test_package_docs/ex/number.html +++ b/testing/test_package_docs/ex/number.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/processMessage.html b/testing/test_package_docs/ex/processMessage.html index 61c17a07a4..9258094f5a 100644 --- a/testing/test_package_docs/ex/processMessage.html +++ b/testing/test_package_docs/ex/processMessage.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/ex/y.html b/testing/test_package_docs/ex/y.html index 1f7fbf87af..9dd415398b 100644 --- a/testing/test_package_docs/ex/y.html +++ b/testing/test_package_docs/ex/y.html @@ -58,6 +58,7 @@
    library ex
  • PublicClassImplementsPrivateInterface
  • ShapeType
  • SpecializedDuration
  • +
  • TypedFunctionsWithoutTypedefs
  • WithGeneric
  • WithGenericSub
  • @@ -87,6 +88,7 @@
    library ex
  • Animal
  • Typedefs
  • +
  • aComplexTypedef
  • ParameterizedTypedef
  • processMessage
  • diff --git a/testing/test_package_docs/index.json b/testing/test_package_docs/index.json index 09b1c05a7f..6a4afcd845 100644 --- a/testing/test_package_docs/index.json +++ b/testing/test_package_docs/index.json @@ -2707,6 +2707,105 @@ "type": "class" } }, + { + "name": "TypedFunctionsWithoutTypedefs", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs", + "href": "ex/TypedFunctionsWithoutTypedefs-class.html", + "type": "class", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ex", + "type": "library" + } + }, + { + "name": "TypedFunctionsWithoutTypedefs", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs", + "href": "ex/TypedFunctionsWithoutTypedefs/TypedFunctionsWithoutTypedefs.html", + "type": "constructor", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "operator ==", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.==", + "href": "ex/TypedFunctionsWithoutTypedefs/operator_equals.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "getAComplexTypedef", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.getAComplexTypedef", + "href": "ex/TypedFunctionsWithoutTypedefs/getAComplexTypedef.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "getAFunctionReturningVoid", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.getAFunctionReturningVoid", + "href": "ex/TypedFunctionsWithoutTypedefs/getAFunctionReturningVoid.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "hashCode", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.hashCode", + "href": "ex/TypedFunctionsWithoutTypedefs/hashCode.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "noSuchMethod", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.noSuchMethod", + "href": "ex/TypedFunctionsWithoutTypedefs/noSuchMethod.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "runtimeType", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.runtimeType", + "href": "ex/TypedFunctionsWithoutTypedefs/runtimeType.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, + { + "name": "toString", + "qualifiedName": "ex.TypedFunctionsWithoutTypedefs.toString", + "href": "ex/TypedFunctionsWithoutTypedefs/toString.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "TypedFunctionsWithoutTypedefs", + "type": "class" + } + }, { "name": "WithGeneric", "qualifiedName": "ex.WithGeneric", @@ -2817,6 +2916,17 @@ "type": "class" } }, + { + "name": "aComplexTypedef", + "qualifiedName": "ex.aComplexTypedef", + "href": "ex/aComplexTypedef.html", + "type": "typedef", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ex", + "type": "library" + } + }, { "name": "aThingToDo", "qualifiedName": "ex.aThingToDo",