From 0504dcca2516ceb3d8dbd9ea01617032c8e69d67 Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Mon, 8 May 2017 09:41:39 -0700 Subject: [PATCH 1/5] Fix for #1401 --- CHANGELOG.md | 4 + lib/dartdoc.dart | 2 +- lib/src/model.dart | 32 +- lib/templates/_property.html | 10 +- testing/test_package/lib/fake.dart | 45 ++ .../test_package_docs/css/css-library.html | 5 +- testing/test_package_docs/ex/Apple-class.html | 16 +- testing/test_package_docs/ex/B-class.html | 15 +- testing/test_package_docs/ex/Dog-class.html | 18 +- testing/test_package_docs/ex/F-class.html | 12 +- .../ex/WithGeneric-class.html | 5 +- .../ex/WithGenericSub-class.html | 5 +- testing/test_package_docs/ex/ex-library.html | 12 +- .../fake/Annotation-class.html | 3 + .../fake/AnotherInterface-class.html | 3 + .../fake/BaseForDocComments-class.html | 3 + .../fake/CUSTOM_CLASS-constant.html | 3 + testing/test_package_docs/fake/Callback2.html | 3 + .../ClassWithUnusualProperties-class.html | 391 +++++++++++++++ .../ClassWithUnusualProperties.html | 151 ++++++ .../ClassWithUnusualProperties/aMethod.html | 152 ++++++ .../explicitGetter.html | 157 ++++++ .../explicitGetterImplicitSetter.html | 154 ++++++ .../explicitGetterSetter.html | 166 +++++++ .../explicitSetter.html | 158 ++++++ .../finalProperty.html | 151 ++++++ .../implicitGetterExplicitSetter.html | 155 ++++++ .../implicitReadWrite.html | 151 ++++++ .../test_package_docs/fake/Color-class.html | 3 + .../fake/ConstantClass-class.html | 3 + .../test_package_docs/fake/Cool-class.html | 3 + .../test_package_docs/fake/DOWN-constant.html | 3 + testing/test_package_docs/fake/Doh-class.html | 3 + .../fake/ExtraSpecialList-class.html | 9 +- .../test_package_docs/fake/FakeProcesses.html | 3 + .../test_package_docs/fake/Foo2-class.html | 3 + .../fake/GenericTypedef.html | 3 + .../fake/HasGenericWithExtends-class.html | 3 + .../fake/HasGenerics-class.html | 3 + .../fake/ImplicitProperties-class.html | 333 +++++++++++++ .../ImplicitProperties.html | 145 ++++++ .../explicitGetterImplicitSetter.html | 145 ++++++ .../fake/ImplicitProperties/hashCode.html | 172 +++++++ .../implicitGetterExplicitSetter.html | 145 ++++++ .../fake/ImplicitProperties/noSuchMethod.html | 149 ++++++ .../ImplicitProperties/operator_equals.html | 163 +++++++ .../fake/ImplicitProperties/runtimeType.html | 151 ++++++ .../fake/ImplicitProperties/toString.html | 146 ++++++ .../fake/Interface-class.html | 3 + .../fake/LongFirstLine-class.html | 22 +- .../fake/LotsAndLotsOfParameters.html | 3 + .../test_package_docs/fake/MixMeIn-class.html | 3 + .../fake/NAME_SINGLEUNDERSCORE-constant.html | 3 + .../NAME_WITH_TWO_UNDERSCORES-constant.html | 3 + .../test_package_docs/fake/Oops-class.html | 3 + .../fake/OperatorReferenceClass-class.html | 3 + .../fake/OtherGenericsThing-class.html | 3 + .../test_package_docs/fake/PI-constant.html | 3 + .../fake/SpecialList-class.html | 9 +- .../fake/SubForDocComments-class.html | 3 + .../fake/SuperAwesomeClass-class.html | 8 +- .../test_package_docs/fake/UP-constant.html | 3 + .../test_package_docs/fake/VoidCallback.html | 3 + .../fake/WithGetterAndSetter-class.html | 9 +- .../test_package_docs/fake/ZERO-constant.html | 3 + .../test_package_docs/fake/addCallback.html | 3 + .../test_package_docs/fake/addCallback2.html | 3 + .../test_package_docs/fake/dynamicGetter.html | 3 + .../test_package_docs/fake/fake-library.html | 43 +- .../fake/functionWithFunctionParameters.html | 3 + .../fake/greatAnnotation-constant.html | 3 + .../fake/greatestAnnotation-constant.html | 3 + .../fake/incorrectDocReference-constant.html | 3 + .../test_package_docs/fake/justGetter.html | 3 + .../test_package_docs/fake/justSetter.html | 3 + .../fake/mapWithDynamicKeys.html | 3 + .../test_package_docs/fake/meaningOfLife.html | 3 + .../test_package_docs/fake/myCoolTypedef.html | 192 ++++++++ .../onlyPositionalWithNoDefaultNoType.html | 3 + .../test_package_docs/fake/paintImage1.html | 3 + .../test_package_docs/fake/paintImage2.html | 3 + .../fake/paramFromAnotherLib.html | 3 + .../fake/required-constant.html | 3 + testing/test_package_docs/fake/setAndGet.html | 3 + testing/test_package_docs/fake/short.html | 3 + .../fake/simpleProperty.html | 3 + testing/test_package_docs/fake/soIntense.html | 3 + ...testingCodeSyntaxInOneLiners-constant.html | 3 + .../fake/thisIsAlsoAsync.html | 3 + .../test_package_docs/fake/thisIsAsync.html | 3 + .../fake/topLevelFunction.html | 3 + testing/test_package_docs/index.json | 452 +++++++++++++----- .../two_exports/BaseClass-class.html | 6 +- .../two_exports/ExtendingClass-class.html | 6 +- .../two_exports/two_exports-library.html | 5 +- 95 files changed, 4220 insertions(+), 213 deletions(-) create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties-class.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/ClassWithUnusualProperties.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/aMethod.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetter.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterImplicitSetter.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterSetter.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/explicitSetter.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/finalProperty.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/implicitGetterExplicitSetter.html create mode 100644 testing/test_package_docs/fake/ClassWithUnusualProperties/implicitReadWrite.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties-class.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/ImplicitProperties.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/explicitGetterImplicitSetter.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/hashCode.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/implicitGetterExplicitSetter.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/noSuchMethod.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/operator_equals.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/runtimeType.html create mode 100644 testing/test_package_docs/fake/ImplicitProperties/toString.html create mode 100644 testing/test_package_docs/fake/myCoolTypedef.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eca2f3ef2..0ef7c44c0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.11.1 +* Fix regression where a property or top level variable can be listed twice + under some conditions. #1401 + ## 0.11.0 * Fix resolution of ambiguous classes where the analyzer can help us. #1397 diff --git a/lib/dartdoc.dart b/lib/dartdoc.dart index ec88c8f781..69d11da6ff 100644 --- a/lib/dartdoc.dart +++ b/lib/dartdoc.dart @@ -44,7 +44,7 @@ export 'src/sdk.dart'; const String name = 'dartdoc'; // Update when pubspec version changes. -const String version = '0.11.0'; +const String version = '0.11.1'; final String defaultOutDir = path.join('doc', 'api'); diff --git a/lib/src/model.dart b/lib/src/model.dart index 3dc7db0260..9f3d621d2d 100644 --- a/lib/src/model.dart +++ b/lib/src/model.dart @@ -1040,6 +1040,14 @@ class Field extends ModelElement assert(enclosingElement != definingEnclosingElement); } + @override + String get documentation { + // Verify that we will show exactly one of the summaries. + Set assertCheck = new Set()..addAll([hasSetter, hasGetterNoSetter]); + assert(assertCheck.containsAll([true, false])); + return super.documentation; + } + String get constantValue { if (_constantValue != null) return _constantValue; @@ -1189,6 +1197,12 @@ abstract class GetterSetterCombo implements ModelElement { return null; } + @override + bool get canHaveParameters => hasSetter; + + @override + List get parameters => setter.parameters; + @override String get genericParameters { if (hasSetter) return setter.genericParameters; @@ -1204,15 +1218,15 @@ abstract class GetterSetterCombo implements ModelElement { bool get hasExplicitGetter => hasGetter && !_getter.isSynthetic; bool get hasExplicitSetter => hasSetter && !_setter.isSynthetic; + bool get hasImplicitSetter => hasSetter && _setter.isSynthetic; + bool get hasGetter; bool get hasNoGetterSetter => !hasExplicitGetter && !hasExplicitSetter; bool get hasSetter; - bool get hasGetterOrSetterWithoutParams { - return (hasGetter || (hasSetter && !hasExplicitSetter)); - } + bool get hasGetterNoSetter => (hasGetter && !hasSetter); String get arrow { // → @@ -2115,6 +2129,10 @@ abstract class ModelElement String get linkedParamsNoMetadata => linkedParams(showMetadata: false); + String get linkedParamsNoMetadataOrNames { + return linkedParams(showMetadata: false, showNames: false); + } + ElementType get modelType => _modelType; @override @@ -3635,6 +3653,14 @@ class TopLevelVariable extends ModelElement String get constantValueTruncated => truncateString(constantValue, 200); + @override + String get documentation { + // Verify that we will show exactly one of the summaries. + Set assertCheck = new Set()..addAll([hasSetter, hasGetterNoSetter]); + assert(assertCheck.containsAll([true, false])); + return super.documentation; + } + @override ModelElement get enclosingElement => library; diff --git a/lib/templates/_property.html b/lib/templates/_property.html index 7ac2c275e2..df574b2cd9 100644 --- a/lib/templates/_property.html +++ b/lib/templates/_property.html @@ -1,16 +1,16 @@ -{{ #hasExplicitSetter }} +{{ #hasSetter }}
{{{linkedName}}}{{{genericParameters}}} - {{{ arrow }}} {{{ linkedParamsNoMetadata }}} + {{{ arrow }}} {{ #hasExplicitSetter }} {{{ linkedParamsNoMetadata }}} {{/hasExplicitSetter}} {{#hasImplicitSetter}} {{{linkedParamsNoMetadataOrNames}}} {{/hasImplicitSetter}}
-{{ /hasExplicitSetter }} -{{ #hasGetterOrSetterWithoutParams }} +{{ /hasSetter }} +{{ #hasGetterNoSetter }}
{{{linkedName}}} {{{ arrow }}} {{{ linkedReturnType }}}
-{{ /hasGetterOrSetterWithoutParams }} +{{ /hasGetterNoSetter }} {{{ oneLineDoc }}} {{>features}} diff --git a/testing/test_package/lib/fake.dart b/testing/test_package/lib/fake.dart index d53b6624e4..ef2b9bd5b9 100644 --- a/testing/test_package/lib/fake.dart +++ b/testing/test_package/lib/fake.dart @@ -174,6 +174,51 @@ class SuperAwesomeClass { } } +typedef void myCoolTypedef(Cool x, bool y); + +/// Names are actually wrong in this class, but when we extend it, +/// they are correct. +class ImplicitProperties { + String implicitGetterExplicitSetter; + List explicitGetterImplicitSetter; +} + +/// Classes with unusual properties? I don't think they exist. +class ClassWithUnusualProperties extends ImplicitProperties { + + @override + set implicitGetterExplicitSetter(String x) {} + + @override + List get explicitGetterImplicitSetter => new List(); + + myCoolTypedef _aFunction; + + myCoolTypedef get explicitGetterSetter { + return _aFunction; + } + + /// This property is not synthetic, so it might reference [f] -- display it. + set explicitGetterSetter(myCoolTypedef f) => _aFunction = f; + + /// This property only has a getter and no setter; no parameters to print. + myCoolTypedef get explicitGetter { + return _aFunction; + } + + /// Set to [f], and don't warn about [bar] or [baz]. + set explicitSetter(f(int bar, Cool baz, List macTruck)) {} + + final Set finalProperty = new Set(); + + Map implicitReadWrite; + + /// Hey there, more things not to warn about: [f], [x], or [q]. + String aMethod(Function f(Cool x, bool q)) { + return 'hi'; + } +} + /// This is a very long line spread /// across... wait for it... two physical lines. /// diff --git a/testing/test_package_docs/css/css-library.html b/testing/test_package_docs/css/css-library.html index d6603ad877..5e35cd0925 100644 --- a/testing/test_package_docs/css/css-library.html +++ b/testing/test_package_docs/css/css-library.html @@ -96,8 +96,9 @@

Properties

- theOnlyThingInTheLibrary - ↔ String + theOnlyThingInTheLibrary + String +

diff --git a/testing/test_package_docs/ex/Apple-class.html b/testing/test_package_docs/ex/Apple-class.html index 100a01a1e1..f93a456d9a 100644 --- a/testing/test_package_docs/ex/Apple-class.html +++ b/testing/test_package_docs/ex/Apple-class.html @@ -190,8 +190,9 @@

Properties

final
- m - ↔ int + m + int +

The read-write field m.

@@ -199,13 +200,9 @@

Properties

s - String something + String something
-
- s - ↔ String -

The getter for s

read / write
@@ -336,8 +333,9 @@

Static Properties

- string - ↔ String + string + String +

diff --git a/testing/test_package_docs/ex/B-class.html b/testing/test_package_docs/ex/B-class.html index 265fdb4233..be00789ba5 100644 --- a/testing/test_package_docs/ex/B-class.html +++ b/testing/test_package_docs/ex/B-class.html @@ -179,8 +179,9 @@

Properties

- autoCompress - ↔ bool + autoCompress + bool +

The default value is false (compression disabled). @@ -196,8 +197,9 @@

Properties

@override, read-only
- list - ↔ List<String> + list + List<String> +

A list of Strings

@@ -228,8 +230,9 @@

Properties

read-only, inherited
- m - ↔ int + m + int +

The read-write field m.

diff --git a/testing/test_package_docs/ex/Dog-class.html b/testing/test_package_docs/ex/Dog-class.html index 01a9947c21..66053c5d1c 100644 --- a/testing/test_package_docs/ex/Dog-class.html +++ b/testing/test_package_docs/ex/Dog-class.html @@ -219,8 +219,9 @@

Properties

@protected, final
- deprecatedField - ↔ int + deprecatedField + int +

@@ -236,7 +237,7 @@

Properties

deprecatedSetter - int value + int value
@@ -252,8 +253,9 @@

Properties

@override, read-only
- name - ↔ String + name + String +

@@ -412,13 +414,9 @@

Static Properties

staticGetterSetter - x + x
-
- staticGetterSetter - ↔ int -

read / write
diff --git a/testing/test_package_docs/ex/F-class.html b/testing/test_package_docs/ex/F-class.html index cdd8b02726..8e957bb797 100644 --- a/testing/test_package_docs/ex/F-class.html +++ b/testing/test_package_docs/ex/F-class.html @@ -194,8 +194,9 @@

Properties

@protected, final, inherited
- deprecatedField - ↔ int + deprecatedField + int +

@@ -211,7 +212,7 @@

Properties

deprecatedSetter - int value + int value
@@ -235,8 +236,9 @@

Properties

@override, read-only, inherited
- name - ↔ String + name + String +

diff --git a/testing/test_package_docs/ex/WithGeneric-class.html b/testing/test_package_docs/ex/WithGeneric-class.html index f1e4adb7fa..17e659512c 100644 --- a/testing/test_package_docs/ex/WithGeneric-class.html +++ b/testing/test_package_docs/ex/WithGeneric-class.html @@ -168,8 +168,9 @@

Properties

- prop - ↔ T + prop + T +

diff --git a/testing/test_package_docs/ex/WithGenericSub-class.html b/testing/test_package_docs/ex/WithGenericSub-class.html index 68dd03019c..dc7a2c5e3a 100644 --- a/testing/test_package_docs/ex/WithGenericSub-class.html +++ b/testing/test_package_docs/ex/WithGenericSub-class.html @@ -178,8 +178,9 @@

Properties

read-only, inherited
- prop - ↔ T + prop + T +

diff --git a/testing/test_package_docs/ex/ex-library.html b/testing/test_package_docs/ex/ex-library.html index 5bdc4d055b..8665f484a9 100644 --- a/testing/test_package_docs/ex/ex-library.html +++ b/testing/test_package_docs/ex/ex-library.html @@ -341,8 +341,9 @@

Properties

- deprecatedField - ↔ int + deprecatedField + int +

@@ -358,7 +359,7 @@

Properties

deprecatedSetter - int value + int value
@@ -366,8 +367,9 @@

Properties

write-only
- number - ↔ double + number + double +

diff --git a/testing/test_package_docs/fake/Annotation-class.html b/testing/test_package_docs/fake/Annotation-class.html index 0646c4de7d..dbc24285ce 100644 --- a/testing/test_package_docs/fake/Annotation-class.html +++ b/testing/test_package_docs/fake/Annotation-class.html @@ -78,12 +78,14 @@
fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/AnotherInterface-class.html b/testing/test_package_docs/fake/AnotherInterface-class.html index 2f727b41a4..2bcc1e152c 100644 --- a/testing/test_package_docs/fake/AnotherInterface-class.html +++ b/testing/test_package_docs/fake/AnotherInterface-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/BaseForDocComments-class.html b/testing/test_package_docs/fake/BaseForDocComments-class.html index 0edf63827f..42b01707d0 100644 --- a/testing/test_package_docs/fake/BaseForDocComments-class.html +++ b/testing/test_package_docs/fake/BaseForDocComments-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html b/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html index e76ae902db..ee2f116eb2 100644 --- a/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html +++ b/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/Callback2.html b/testing/test_package_docs/fake/Callback2.html index 1d28a9a6fb..ee17ee2fdb 100644 --- a/testing/test_package_docs/fake/Callback2.html +++ b/testing/test_package_docs/fake/Callback2.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html b/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html new file mode 100644 index 0000000000..9b75bddf03 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html @@ -0,0 +1,391 @@ + + + + + + + + ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + class ClassWithUnusualProperties +

    +
    + +
    +
    +
    + +
    + +
    +
    + + + +
    + +
    +

    Classes with unusual properties? I don't think they exist.

    +
    + +
    +
    +
    Inheritance
    +
    + + + + +
    +
    + +
    +

    Constructors

    + +
    +
    + ClassWithUnusualProperties() +
    +
    +

    +
    +
    +
    + +
    +

    Properties

    + +
    +
    + explicitGetter + myCoolTypedef +
    +
    +

    This property only has a getter and no setter; no parameters to print.

    +
    read-only
    +
    +
    + explicitGetterImplicitSetter + → List<int> +
    +
    +

    +
    @override, read-only
    +
    +
    + explicitGetterSetter + myCoolTypedef f + +
    +
    +

    This property is not synthetic, so it might reference f -- display it.

    +
    read / write
    +
    +
    + explicitSetter + dynamic f(int bar, Cool baz, List<int> macTruck) + +
    +
    +

    Set to f, and don't warn about bar or baz.

    +
    write-only
    +
    +
    + finalProperty + → Set +
    +
    +

    +
    final
    +
    +
    + implicitGetterExplicitSetter + String x + +
    +
    +

    +
    @override, write-only
    +
    +
    + implicitReadWrite + Map + +
    +
    +

    +
    read / write
    +
    +
    + hashCode + → int +
    +
    +

    The hash code for this object.

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

    A representation of the runtime type of the object.

    +
    read-only, inherited
    +
    +
    +
    + +
    +

    Methods

    +
    +
    + aMethod(Function f(Cool x, bool q)) + → String + +
    +
    +

    Hey there, more things not to warn about: f, x, or q.

    + +
    +
    + noSuchMethod(Invocation invocation) + → dynamic + +
    +
    +

    Invoked when a non-existent method or property is accessed.

    +
    inherited
    +
    +
    + toString() + → String + +
    +
    +

    Returns a string representation of this object.

    +
    inherited
    +
    +
    +
    + +
    +

    Operators

    +
    +
    + operator ==(other) + → bool + +
    +
    +

    The equality operator.

    +
    inherited
    +
    +
    +
    + + + + + +
    + + + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/ClassWithUnusualProperties.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/ClassWithUnusualProperties.html new file mode 100644 index 0000000000..8422f4cb85 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/ClassWithUnusualProperties.html @@ -0,0 +1,151 @@ + + + + + + + + ClassWithUnusualProperties constructor - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + constructor ClassWithUnusualProperties +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/aMethod.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/aMethod.html new file mode 100644 index 0000000000..d84f66c1a7 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/aMethod.html @@ -0,0 +1,152 @@ + + + + + + + + aMethod method - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + method aMethod +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    +
    + String + aMethod(Function f(Cool x, bool q)) +
    +
    +

    Hey there, more things not to warn about: f, x, or q.

    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetter.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetter.html new file mode 100644 index 0000000000..db2f654092 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetter.html @@ -0,0 +1,157 @@ + + + + + + + + explicitGetter property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property explicitGetter +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + + +
    + +
    + myCoolTypedef + explicitGetter
    + +
    +

    This property only has a getter and no setter; no parameters to print.

    +
    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterImplicitSetter.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterImplicitSetter.html new file mode 100644 index 0000000000..a796681405 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterImplicitSetter.html @@ -0,0 +1,154 @@ + + + + + + + + explicitGetterImplicitSetter property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property explicitGetterImplicitSetter +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterSetter.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterSetter.html new file mode 100644 index 0000000000..104c9f9a5d --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitGetterSetter.html @@ -0,0 +1,166 @@ + + + + + + + + explicitGetterSetter property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property explicitGetterSetter +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + + +
    + +
    + myCoolTypedef + explicitGetterSetter
    + +
    + + +
    + +
    + void + explicitGetterSetter=(myCoolTypedef f) +
    + +
    +

    This property is not synthetic, so it might reference f -- display it.

    +
    +
    + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitSetter.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitSetter.html new file mode 100644 index 0000000000..d8fdb8e5d7 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/explicitSetter.html @@ -0,0 +1,158 @@ + + + + + + + + explicitSetter property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property explicitSetter +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + + + +
    + +
    + void + explicitSetter=(dynamic f(int bar, Cool baz, List<int> macTruck)) +
    + +
    +

    Set to f, and don't warn about bar or baz.

    +
    +
    + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/finalProperty.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/finalProperty.html new file mode 100644 index 0000000000..c940c6f84b --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/finalProperty.html @@ -0,0 +1,151 @@ + + + + + + + + finalProperty property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property finalProperty +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/implicitGetterExplicitSetter.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/implicitGetterExplicitSetter.html new file mode 100644 index 0000000000..8289cb34c1 --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/implicitGetterExplicitSetter.html @@ -0,0 +1,155 @@ + + + + + + + + implicitGetterExplicitSetter property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property implicitGetterExplicitSetter +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties/implicitReadWrite.html b/testing/test_package_docs/fake/ClassWithUnusualProperties/implicitReadWrite.html new file mode 100644 index 0000000000..c94f651cfd --- /dev/null +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties/implicitReadWrite.html @@ -0,0 +1,151 @@ + + + + + + + + implicitReadWrite property - ClassWithUnusualProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property implicitReadWrite +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/Color-class.html b/testing/test_package_docs/fake/Color-class.html index 56dccd4cee..957062eea3 100644 --- a/testing/test_package_docs/fake/Color-class.html +++ b/testing/test_package_docs/fake/Color-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/ConstantClass-class.html b/testing/test_package_docs/fake/ConstantClass-class.html index 1ca137c814..6aed48999e 100644 --- a/testing/test_package_docs/fake/ConstantClass-class.html +++ b/testing/test_package_docs/fake/ConstantClass-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/Cool-class.html b/testing/test_package_docs/fake/Cool-class.html index 8e72215e92..7f2a53d91c 100644 --- a/testing/test_package_docs/fake/Cool-class.html +++ b/testing/test_package_docs/fake/Cool-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/DOWN-constant.html b/testing/test_package_docs/fake/DOWN-constant.html index 33adee2f8a..56c086d320 100644 --- a/testing/test_package_docs/fake/DOWN-constant.html +++ b/testing/test_package_docs/fake/DOWN-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/Doh-class.html b/testing/test_package_docs/fake/Doh-class.html index 0b001938e4..9549dda533 100644 --- a/testing/test_package_docs/fake/Doh-class.html +++ b/testing/test_package_docs/fake/Doh-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/ExtraSpecialList-class.html b/testing/test_package_docs/fake/ExtraSpecialList-class.html index 926ea2ba95..0a09dae2c6 100644 --- a/testing/test_package_docs/fake/ExtraSpecialList-class.html +++ b/testing/test_package_docs/fake/ExtraSpecialList-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • @@ -236,13 +239,9 @@

    Properties

    length - int length + int length
    -
    - length - ↔ int -

    read / write, inherited
    diff --git a/testing/test_package_docs/fake/FakeProcesses.html b/testing/test_package_docs/fake/FakeProcesses.html index 1a41c35e65..bf069a6082 100644 --- a/testing/test_package_docs/fake/FakeProcesses.html +++ b/testing/test_package_docs/fake/FakeProcesses.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/Foo2-class.html b/testing/test_package_docs/fake/Foo2-class.html index 535accf4ec..47eb368cda 100644 --- a/testing/test_package_docs/fake/Foo2-class.html +++ b/testing/test_package_docs/fake/Foo2-class.html @@ -79,12 +79,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -140,6 +142,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/GenericTypedef.html b/testing/test_package_docs/fake/GenericTypedef.html index 3644134791..a4e5266b82 100644 --- a/testing/test_package_docs/fake/GenericTypedef.html +++ b/testing/test_package_docs/fake/GenericTypedef.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/HasGenericWithExtends-class.html b/testing/test_package_docs/fake/HasGenericWithExtends-class.html index 9449a22cdf..28bd2a898d 100644 --- a/testing/test_package_docs/fake/HasGenericWithExtends-class.html +++ b/testing/test_package_docs/fake/HasGenericWithExtends-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/HasGenerics-class.html b/testing/test_package_docs/fake/HasGenerics-class.html index fc13084ea6..916df373e3 100644 --- a/testing/test_package_docs/fake/HasGenerics-class.html +++ b/testing/test_package_docs/fake/HasGenerics-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/ImplicitProperties-class.html b/testing/test_package_docs/fake/ImplicitProperties-class.html new file mode 100644 index 0000000000..ed8306dc58 --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties-class.html @@ -0,0 +1,333 @@ + + + + + + + + ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + class ImplicitProperties +

    +
    + +
    +
    +
    + +
    + +
    +
    + + + +
    + +
    +

    Names are actually wrong in this class, but when we extend it, +they are correct.

    +
    + +
    +
    + + + +
    Implemented by
    +
    + +
    +
    + +
    +

    Constructors

    + +
    +
    + ImplicitProperties() +
    +
    +

    +
    +
    +
    + +
    +

    Properties

    + +
    +
    + explicitGetterImplicitSetter + List<int> + +
    +
    +

    +
    read / write
    +
    +
    + implicitGetterExplicitSetter + String + +
    +
    +

    +
    read / write
    +
    +
    + hashCode + → int +
    +
    +

    The hash code for this object.

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

    A representation of the runtime type of the object.

    +
    read-only, inherited
    +
    +
    +
    + +
    +

    Methods

    +
    +
    + noSuchMethod(Invocation invocation) + → dynamic + +
    +
    +

    Invoked when a non-existent method or property is accessed.

    +
    inherited
    +
    +
    + toString() + → String + +
    +
    +

    Returns a string representation of this object.

    +
    inherited
    +
    +
    +
    + +
    +

    Operators

    +
    +
    + operator ==(other) + → bool + +
    +
    +

    The equality operator.

    +
    inherited
    +
    +
    +
    + + + + + +
    + + + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/ImplicitProperties.html b/testing/test_package_docs/fake/ImplicitProperties/ImplicitProperties.html new file mode 100644 index 0000000000..6a33b960df --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/ImplicitProperties.html @@ -0,0 +1,145 @@ + + + + + + + + ImplicitProperties constructor - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + constructor ImplicitProperties +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/explicitGetterImplicitSetter.html b/testing/test_package_docs/fake/ImplicitProperties/explicitGetterImplicitSetter.html new file mode 100644 index 0000000000..5a930b2fbc --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/explicitGetterImplicitSetter.html @@ -0,0 +1,145 @@ + + + + + + + + explicitGetterImplicitSetter property - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property explicitGetterImplicitSetter +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + +
    + List<int> + explicitGetterImplicitSetter
    read / write
    +
    + + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/hashCode.html b/testing/test_package_docs/fake/ImplicitProperties/hashCode.html new file mode 100644 index 0000000000..282112a927 --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/hashCode.html @@ -0,0 +1,172 @@ + + + + + + + + hashCode property - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property hashCode +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + + +
    + +
    + int + hashCode
    + +
    +

    The hash code for this object.

    +

    A hash code is a single integer which represents the state of the object +that affects == comparisons.

    +

    All objects have hash codes. +The default hash code represents only the identity of the object, +the same way as the default == implementation only considers objects +equal if they are identical (see identityHashCode).

    +

    If == is overridden to use the object state instead, +the hash code must also be changed to represent that state.

    +

    Hash codes must be the same for objects that are equal to each other +according to ==. +The hash code of an object should only change if the object changes +in a way that affects equality. +There are no further requirements for the hash codes. +They need not be consistent between executions of the same program +and there are no distribution guarantees.

    +

    Objects that are not equal are allowed to have the same hash code, +it is even technically allowed that all instances have the same hash code, +but if clashes happen too often, it may reduce the efficiency of hash-based +data structures like HashSet or HashMap.

    +

    If a subclass overrides hashCode, it should override the +== operator as well to maintain consistency.

    +
    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/implicitGetterExplicitSetter.html b/testing/test_package_docs/fake/ImplicitProperties/implicitGetterExplicitSetter.html new file mode 100644 index 0000000000..a2abc9e4f1 --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/implicitGetterExplicitSetter.html @@ -0,0 +1,145 @@ + + + + + + + + implicitGetterExplicitSetter property - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property implicitGetterExplicitSetter +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + +
    + String + implicitGetterExplicitSetter
    read / write
    +
    + + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/noSuchMethod.html b/testing/test_package_docs/fake/ImplicitProperties/noSuchMethod.html new file mode 100644 index 0000000000..9d6d2ffbab --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/noSuchMethod.html @@ -0,0 +1,149 @@ + + + + + + + + noSuchMethod method - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + method noSuchMethod +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    +
    + dynamic + noSuchMethod(Invocation invocation) +
    +
    +

    Invoked when a non-existent method or property is accessed.

    +

    Classes can override noSuchMethod to provide custom behavior.

    +

    If a value is returned, it becomes the result of the original invocation.

    +

    The default behavior is to throw a NoSuchMethodError.

    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/operator_equals.html b/testing/test_package_docs/fake/ImplicitProperties/operator_equals.html new file mode 100644 index 0000000000..bcc85c21e1 --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/operator_equals.html @@ -0,0 +1,163 @@ + + + + + + + + operator == method - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + method operator == +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    +
    + bool + operator ==(other) +
    +
    +

    The equality operator.

    +

    The default behavior for all Objects is to return true if and +only if this and other are the same object.

    +

    Override this method to specify a different equality relation on +a class. The overriding method must still be an equivalence relation. +That is, it must be:

    • +

      Total: It must return a boolean for all arguments. It should never throw +or return null.

    • +

      Reflexive: For all objects o, o == o must be true.

    • +

      Symmetric: For all objects o1 and o2, o1 == o2 and o2 == o1 must +either both be true, or both be false.

    • +

      Transitive: For all objects o1, o2, and o3, if o1 == o2 and +o2 == o3 are true, then o1 == o3 must be true.

    +

    The method should also be consistent over time, +so whether two objects are equal should only change +if at least one of the objects was modified.

    +

    If a subclass overrides the equality operator it should override +the hashCode method as well to maintain consistency.

    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/runtimeType.html b/testing/test_package_docs/fake/ImplicitProperties/runtimeType.html new file mode 100644 index 0000000000..63df5c8fd3 --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/runtimeType.html @@ -0,0 +1,151 @@ + + + + + + + + runtimeType property - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + property runtimeType +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    + + +
    + +
    + Type + runtimeType
    + +
    +

    A representation of the runtime type of the object.

    +
    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/ImplicitProperties/toString.html b/testing/test_package_docs/fake/ImplicitProperties/toString.html new file mode 100644 index 0000000000..f13aeb04d8 --- /dev/null +++ b/testing/test_package_docs/fake/ImplicitProperties/toString.html @@ -0,0 +1,146 @@ + + + + + + + + toString method - ImplicitProperties class - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + method toString +

    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    +
    + String + toString() +
    +
    +

    Returns a string representation of this object.

    +
    + + + +
    + +
    +
    + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/Interface-class.html b/testing/test_package_docs/fake/Interface-class.html index 9b04567e1d..73be1ca4f4 100644 --- a/testing/test_package_docs/fake/Interface-class.html +++ b/testing/test_package_docs/fake/Interface-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/LongFirstLine-class.html b/testing/test_package_docs/fake/LongFirstLine-class.html index 679fd26adc..86bf7f7fcf 100644 --- a/testing/test_package_docs/fake/LongFirstLine-class.html +++ b/testing/test_package_docs/fake/LongFirstLine-class.html @@ -81,12 +81,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -142,6 +144,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • @@ -218,8 +221,9 @@

    Properties

    - aStringProperty - ↔ String + aStringProperty + String +

    An instance string property. Readable and writable.

    @@ -235,7 +239,7 @@

    Properties

    onlySetter - double d + double d
    @@ -251,8 +255,9 @@

    Properties

    read-only, inherited
    - powers - ↔ List<String> + powers + List<String> +

    In the super class.

    @@ -385,8 +390,9 @@

    Static Properties

    - meaningOfLife - ↔ int + meaningOfLife + int +

    A static int property.

    @@ -402,7 +408,7 @@

    Static Properties

    staticOnlySetter - bool thing + bool thing
    diff --git a/testing/test_package_docs/fake/LotsAndLotsOfParameters.html b/testing/test_package_docs/fake/LotsAndLotsOfParameters.html index 13c10a7977..c089bcbbab 100644 --- a/testing/test_package_docs/fake/LotsAndLotsOfParameters.html +++ b/testing/test_package_docs/fake/LotsAndLotsOfParameters.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/MixMeIn-class.html b/testing/test_package_docs/fake/MixMeIn-class.html index 909b38b85e..15af6f4492 100644 --- a/testing/test_package_docs/fake/MixMeIn-class.html +++ b/testing/test_package_docs/fake/MixMeIn-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html b/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html index bec88c4d6b..f94dedd988 100644 --- a/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html +++ b/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html b/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html index 4bb4819ed0..124b8b409b 100644 --- a/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html +++ b/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/Oops-class.html b/testing/test_package_docs/fake/Oops-class.html index 8978f945f0..ac5817f5fa 100644 --- a/testing/test_package_docs/fake/Oops-class.html +++ b/testing/test_package_docs/fake/Oops-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/OperatorReferenceClass-class.html b/testing/test_package_docs/fake/OperatorReferenceClass-class.html index 8b4763ab3d..ad5a24b97e 100644 --- a/testing/test_package_docs/fake/OperatorReferenceClass-class.html +++ b/testing/test_package_docs/fake/OperatorReferenceClass-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/OtherGenericsThing-class.html b/testing/test_package_docs/fake/OtherGenericsThing-class.html index 8b83b37fb6..4c5076cb2d 100644 --- a/testing/test_package_docs/fake/OtherGenericsThing-class.html +++ b/testing/test_package_docs/fake/OtherGenericsThing-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/PI-constant.html b/testing/test_package_docs/fake/PI-constant.html index 2299210c40..504e44c81f 100644 --- a/testing/test_package_docs/fake/PI-constant.html +++ b/testing/test_package_docs/fake/PI-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/SpecialList-class.html b/testing/test_package_docs/fake/SpecialList-class.html index f9b0e0c43a..10b6637891 100644 --- a/testing/test_package_docs/fake/SpecialList-class.html +++ b/testing/test_package_docs/fake/SpecialList-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • @@ -191,13 +194,9 @@

    Properties

    length - int length + int length
    -
    - length - ↔ int -

    read / write
    diff --git a/testing/test_package_docs/fake/SubForDocComments-class.html b/testing/test_package_docs/fake/SubForDocComments-class.html index 4dc988ec8c..42a1b15b42 100644 --- a/testing/test_package_docs/fake/SubForDocComments-class.html +++ b/testing/test_package_docs/fake/SubForDocComments-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/SuperAwesomeClass-class.html b/testing/test_package_docs/fake/SuperAwesomeClass-class.html index ed954de849..223a8fcc5f 100644 --- a/testing/test_package_docs/fake/SuperAwesomeClass-class.html +++ b/testing/test_package_docs/fake/SuperAwesomeClass-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • @@ -188,8 +191,9 @@

    Properties

    - powers - ↔ List<String> + powers + List<String> +

    In the super class.

    diff --git a/testing/test_package_docs/fake/UP-constant.html b/testing/test_package_docs/fake/UP-constant.html index bd8f29e8f2..88499e8c95 100644 --- a/testing/test_package_docs/fake/UP-constant.html +++ b/testing/test_package_docs/fake/UP-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/VoidCallback.html b/testing/test_package_docs/fake/VoidCallback.html index 788a953c1a..b399316a2c 100644 --- a/testing/test_package_docs/fake/VoidCallback.html +++ b/testing/test_package_docs/fake/VoidCallback.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/WithGetterAndSetter-class.html b/testing/test_package_docs/fake/WithGetterAndSetter-class.html index a2f0daa109..10973de6b7 100644 --- a/testing/test_package_docs/fake/WithGetterAndSetter-class.html +++ b/testing/test_package_docs/fake/WithGetterAndSetter-class.html @@ -78,12 +78,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -139,6 +141,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • @@ -185,13 +188,9 @@

    Properties

    lengthX - int _length + int _length
    -
    - lengthX - ↔ int -

    Returns a length.

    read / write
    diff --git a/testing/test_package_docs/fake/ZERO-constant.html b/testing/test_package_docs/fake/ZERO-constant.html index 110a47ef02..9c11757728 100644 --- a/testing/test_package_docs/fake/ZERO-constant.html +++ b/testing/test_package_docs/fake/ZERO-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/addCallback.html b/testing/test_package_docs/fake/addCallback.html index 26d7cb28bf..fb3884e62d 100644 --- a/testing/test_package_docs/fake/addCallback.html +++ b/testing/test_package_docs/fake/addCallback.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/addCallback2.html b/testing/test_package_docs/fake/addCallback2.html index f40c7e6bb4..d157598c50 100644 --- a/testing/test_package_docs/fake/addCallback2.html +++ b/testing/test_package_docs/fake/addCallback2.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/dynamicGetter.html b/testing/test_package_docs/fake/dynamicGetter.html index b469918e45..11fb3d4fd9 100644 --- a/testing/test_package_docs/fake/dynamicGetter.html +++ b/testing/test_package_docs/fake/dynamicGetter.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/fake-library.html b/testing/test_package_docs/fake/fake-library.html index a72bc27484..d93304509c 100644 --- a/testing/test_package_docs/fake/fake-library.html +++ b/testing/test_package_docs/fake/fake-library.html @@ -135,6 +135,12 @@

    Classes

    +
    + ClassWithUnusualProperties +
    +
    +

    Classes with unusual properties? I don't think they exist.

    +
    ConstantClass
    @@ -171,6 +177,13 @@

    Classes

    I have a generic and it extends Foo2

    +
    + ImplicitProperties +
    +
    +

    Names are actually wrong in this class, but when we extend it, +they are correct.

    +
    Interface
    @@ -391,7 +404,7 @@

    Properties

    justSetter - int value + int value
    @@ -399,8 +412,9 @@

    Properties

    write-only
    - mapWithDynamicKeys - ↔ Map<dynamic, String> + mapWithDynamicKeys + Map<dynamic, String> +

    @@ -416,20 +430,17 @@

    Properties

    setAndGet - String thing + String thing
    -
    - setAndGet - ↔ String -

    The getter for setAndGet.

    read / write
    - simpleProperty - ↔ String + simpleProperty + String +

    Simple property

    @@ -606,6 +617,15 @@

    Typedefs

    Lots and lots of parameters.

    +
    +
    + myCoolTypedef(Cool x, bool y) + → void + +
    +
    +

    +
    VoidCallback() @@ -647,12 +667,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -708,6 +730,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/functionWithFunctionParameters.html b/testing/test_package_docs/fake/functionWithFunctionParameters.html index eec9746b90..d69e68aae3 100644 --- a/testing/test_package_docs/fake/functionWithFunctionParameters.html +++ b/testing/test_package_docs/fake/functionWithFunctionParameters.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/greatAnnotation-constant.html b/testing/test_package_docs/fake/greatAnnotation-constant.html index 51fb244779..e44bfcb011 100644 --- a/testing/test_package_docs/fake/greatAnnotation-constant.html +++ b/testing/test_package_docs/fake/greatAnnotation-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/greatestAnnotation-constant.html b/testing/test_package_docs/fake/greatestAnnotation-constant.html index 6ebd7ce043..961d03f944 100644 --- a/testing/test_package_docs/fake/greatestAnnotation-constant.html +++ b/testing/test_package_docs/fake/greatestAnnotation-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/incorrectDocReference-constant.html b/testing/test_package_docs/fake/incorrectDocReference-constant.html index c18303772e..d50dc1a2c7 100644 --- a/testing/test_package_docs/fake/incorrectDocReference-constant.html +++ b/testing/test_package_docs/fake/incorrectDocReference-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/justGetter.html b/testing/test_package_docs/fake/justGetter.html index 2c5ad483bb..241e91348b 100644 --- a/testing/test_package_docs/fake/justGetter.html +++ b/testing/test_package_docs/fake/justGetter.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/justSetter.html b/testing/test_package_docs/fake/justSetter.html index 9e23db834c..e27cbbc352 100644 --- a/testing/test_package_docs/fake/justSetter.html +++ b/testing/test_package_docs/fake/justSetter.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/mapWithDynamicKeys.html b/testing/test_package_docs/fake/mapWithDynamicKeys.html index d7ab667396..8a5d01c305 100644 --- a/testing/test_package_docs/fake/mapWithDynamicKeys.html +++ b/testing/test_package_docs/fake/mapWithDynamicKeys.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/meaningOfLife.html b/testing/test_package_docs/fake/meaningOfLife.html index eb35ceddda..eeabcf6a2d 100644 --- a/testing/test_package_docs/fake/meaningOfLife.html +++ b/testing/test_package_docs/fake/meaningOfLife.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/myCoolTypedef.html b/testing/test_package_docs/fake/myCoolTypedef.html new file mode 100644 index 0000000000..406d87b2d6 --- /dev/null +++ b/testing/test_package_docs/fake/myCoolTypedef.html @@ -0,0 +1,192 @@ + + + + + + + + myCoolTypedef typedef - fake library - Dart API + + + + + + + + + + + + + +
    + +
    + + +
    +
    +
    + +
    +

    + typedef myCoolTypedef +

    +
    +
    +
    +
    + +
    + + + +
    +
    +
    +

    + + test_package 0.0.1 + + • + + + Dart + + + • + + cc license + + +

    +
    +
    +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html b/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html index c3343248e4..fbfab7095b 100644 --- a/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html +++ b/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/paintImage1.html b/testing/test_package_docs/fake/paintImage1.html index 6b2ced9f52..1faed61b00 100644 --- a/testing/test_package_docs/fake/paintImage1.html +++ b/testing/test_package_docs/fake/paintImage1.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/paintImage2.html b/testing/test_package_docs/fake/paintImage2.html index eba2eed1d5..853e981588 100644 --- a/testing/test_package_docs/fake/paintImage2.html +++ b/testing/test_package_docs/fake/paintImage2.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/paramFromAnotherLib.html b/testing/test_package_docs/fake/paramFromAnotherLib.html index 3e3a41825d..71b2eaf319 100644 --- a/testing/test_package_docs/fake/paramFromAnotherLib.html +++ b/testing/test_package_docs/fake/paramFromAnotherLib.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/required-constant.html b/testing/test_package_docs/fake/required-constant.html index 2e776bcfac..74f8dbc94a 100644 --- a/testing/test_package_docs/fake/required-constant.html +++ b/testing/test_package_docs/fake/required-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/setAndGet.html b/testing/test_package_docs/fake/setAndGet.html index ba6c37e68f..1e7fdbddc3 100644 --- a/testing/test_package_docs/fake/setAndGet.html +++ b/testing/test_package_docs/fake/setAndGet.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/short.html b/testing/test_package_docs/fake/short.html index 977959a5ae..ae1f116f27 100644 --- a/testing/test_package_docs/fake/short.html +++ b/testing/test_package_docs/fake/short.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/simpleProperty.html b/testing/test_package_docs/fake/simpleProperty.html index 017dbb1de6..09e0fe3d72 100644 --- a/testing/test_package_docs/fake/simpleProperty.html +++ b/testing/test_package_docs/fake/simpleProperty.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/soIntense.html b/testing/test_package_docs/fake/soIntense.html index 0e21ceb7e7..9262cbfa0d 100644 --- a/testing/test_package_docs/fake/soIntense.html +++ b/testing/test_package_docs/fake/soIntense.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html b/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html index 1df3374af1..e76a6ec7ac 100644 --- a/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html +++ b/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/thisIsAlsoAsync.html b/testing/test_package_docs/fake/thisIsAlsoAsync.html index d7f5db965e..162a94b7ad 100644 --- a/testing/test_package_docs/fake/thisIsAlsoAsync.html +++ b/testing/test_package_docs/fake/thisIsAlsoAsync.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/thisIsAsync.html b/testing/test_package_docs/fake/thisIsAsync.html index 565323a4b4..0951cced75 100644 --- a/testing/test_package_docs/fake/thisIsAsync.html +++ b/testing/test_package_docs/fake/thisIsAsync.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/fake/topLevelFunction.html b/testing/test_package_docs/fake/topLevelFunction.html index 1084ae62c7..cf0266a29a 100644 --- a/testing/test_package_docs/fake/topLevelFunction.html +++ b/testing/test_package_docs/fake/topLevelFunction.html @@ -71,12 +71,14 @@
    fake
  • Annotation
  • AnotherInterface
  • BaseForDocComments
  • +
  • ClassWithUnusualProperties
  • ConstantClass
  • Cool
  • ExtraSpecialList
  • Foo2
  • HasGenerics
  • HasGenericWithExtends
  • +
  • ImplicitProperties
  • Interface
  • LongFirstLine
  • MixMeIn
  • @@ -132,6 +134,7 @@
    fake
  • FakeProcesses
  • GenericTypedef
  • LotsAndLotsOfParameters
  • +
  • myCoolTypedef
  • VoidCallback
  • Exceptions
  • diff --git a/testing/test_package_docs/index.json b/testing/test_package_docs/index.json index 9f53f09dfb..09a3623d40 100644 --- a/testing/test_package_docs/index.json +++ b/testing/test_package_docs/index.json @@ -510,23 +510,23 @@ { "name": "Cat", "qualifiedName": "ex.Cat", - "href": "ex/Cat-class.html", - "type": "class", + "href": "ex/Cat/Cat.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "Cat", + "type": "class" } }, { "name": "Cat", "qualifiedName": "ex.Cat", - "href": "ex/Cat/Cat.html", - "type": "constructor", + "href": "ex/Cat-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "Cat", - "type": "class" + "name": "ex", + "type": "library" } }, { @@ -609,23 +609,23 @@ { "name": "CatString", "qualifiedName": "ex.CatString", - "href": "ex/CatString-class.html", - "type": "class", + "href": "ex/CatString/CatString.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "CatString", + "type": "class" } }, { "name": "CatString", "qualifiedName": "ex.CatString", - "href": "ex/CatString/CatString.html", - "type": "constructor", + "href": "ex/CatString-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "CatString", - "type": "class" + "name": "ex", + "type": "library" } }, { @@ -774,23 +774,23 @@ { "name": "ConstantCat", "qualifiedName": "ex.ConstantCat", - "href": "ex/ConstantCat/ConstantCat.html", - "type": "constructor", + "href": "ex/ConstantCat-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "ConstantCat", - "type": "class" + "name": "ex", + "type": "library" } }, { "name": "ConstantCat", "qualifiedName": "ex.ConstantCat", - "href": "ex/ConstantCat-class.html", - "type": "class", + "href": "ex/ConstantCat/ConstantCat.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "ConstantCat", + "type": "class" } }, { @@ -884,23 +884,23 @@ { "name": "Deprecated", "qualifiedName": "ex.Deprecated", - "href": "ex/Deprecated-class.html", - "type": "class", + "href": "ex/Deprecated/Deprecated.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "Deprecated", + "type": "class" } }, { "name": "Deprecated", "qualifiedName": "ex.Deprecated", - "href": "ex/Deprecated/Deprecated.html", - "type": "constructor", + "href": "ex/Deprecated-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "Deprecated", - "type": "class" + "name": "ex", + "type": "library" } }, { @@ -972,23 +972,23 @@ { "name": "Dog", "qualifiedName": "ex.Dog", - "href": "ex/Dog/Dog.html", - "type": "constructor", + "href": "ex/Dog-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "Dog", - "type": "class" + "name": "ex", + "type": "library" } }, { "name": "Dog", "qualifiedName": "ex.Dog", - "href": "ex/Dog-class.html", - "type": "class", + "href": "ex/Dog/Dog.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "Dog", + "type": "class" } }, { @@ -1368,23 +1368,23 @@ { "name": "F", "qualifiedName": "ex.F", - "href": "ex/F-class.html", - "type": "class", + "href": "ex/F/F.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "F", + "type": "class" } }, { "name": "F", "qualifiedName": "ex.F", - "href": "ex/F/F.html", - "type": "constructor", + "href": "ex/F-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "F", - "type": "class" + "name": "ex", + "type": "library" } }, { @@ -1577,23 +1577,23 @@ { "name": "Helper", "qualifiedName": "ex.Helper", - "href": "ex/Helper-class.html", - "type": "class", + "href": "ex/Helper/Helper.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "Helper", + "type": "class" } }, { "name": "Helper", "qualifiedName": "ex.Helper", - "href": "ex/Helper/Helper.html", - "type": "constructor", + "href": "ex/Helper-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "Helper", - "type": "class" + "name": "ex", + "type": "library" } }, { @@ -1984,23 +1984,23 @@ { "name": "MyException", "qualifiedName": "ex.MyException", - "href": "ex/MyException-class.html", - "type": "class", + "href": "ex/MyException/MyException.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "ex", - "type": "library" + "name": "MyException", + "type": "class" } }, { "name": "MyException", "qualifiedName": "ex.MyException", - "href": "ex/MyException/MyException.html", - "type": "constructor", + "href": "ex/MyException-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "MyException", - "type": "class" + "name": "ex", + "type": "library" } }, { @@ -3330,6 +3330,116 @@ "type": "library" } }, + { + "name": "ClassWithUnusualProperties", + "qualifiedName": "fake.ClassWithUnusualProperties", + "href": "fake/ClassWithUnusualProperties-class.html", + "type": "class", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, + { + "name": "ClassWithUnusualProperties", + "qualifiedName": "fake.ClassWithUnusualProperties", + "href": "fake/ClassWithUnusualProperties/ClassWithUnusualProperties.html", + "type": "constructor", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "aMethod", + "qualifiedName": "fake.ClassWithUnusualProperties.aMethod", + "href": "fake/ClassWithUnusualProperties/aMethod.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "explicitGetter", + "qualifiedName": "fake.ClassWithUnusualProperties.explicitGetter", + "href": "fake/ClassWithUnusualProperties/explicitGetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "explicitGetterImplicitSetter", + "qualifiedName": "fake.ClassWithUnusualProperties.explicitGetterImplicitSetter", + "href": "fake/ClassWithUnusualProperties/explicitGetterImplicitSetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "explicitGetterSetter", + "qualifiedName": "fake.ClassWithUnusualProperties.explicitGetterSetter", + "href": "fake/ClassWithUnusualProperties/explicitGetterSetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "explicitSetter", + "qualifiedName": "fake.ClassWithUnusualProperties.explicitSetter", + "href": "fake/ClassWithUnusualProperties/explicitSetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "finalProperty", + "qualifiedName": "fake.ClassWithUnusualProperties.finalProperty", + "href": "fake/ClassWithUnusualProperties/finalProperty.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "implicitGetterExplicitSetter", + "qualifiedName": "fake.ClassWithUnusualProperties.implicitGetterExplicitSetter", + "href": "fake/ClassWithUnusualProperties/implicitGetterExplicitSetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, + { + "name": "implicitReadWrite", + "qualifiedName": "fake.ClassWithUnusualProperties.implicitReadWrite", + "href": "fake/ClassWithUnusualProperties/implicitReadWrite.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ClassWithUnusualProperties", + "type": "class" + } + }, { "name": "Color", "qualifiedName": "fake.Color", @@ -4046,13 +4156,101 @@ } }, { - "name": "Interface", - "qualifiedName": "fake.Interface", - "href": "fake/Interface/Interface.html", + "name": "ImplicitProperties", + "qualifiedName": "fake.ImplicitProperties", + "href": "fake/ImplicitProperties/ImplicitProperties.html", "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "Interface", + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "ImplicitProperties", + "qualifiedName": "fake.ImplicitProperties", + "href": "fake/ImplicitProperties-class.html", + "type": "class", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, + { + "name": "operator ==", + "qualifiedName": "fake.ImplicitProperties.==", + "href": "fake/ImplicitProperties/operator_equals.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "explicitGetterImplicitSetter", + "qualifiedName": "fake.ImplicitProperties.explicitGetterImplicitSetter", + "href": "fake/ImplicitProperties/explicitGetterImplicitSetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "hashCode", + "qualifiedName": "fake.ImplicitProperties.hashCode", + "href": "fake/ImplicitProperties/hashCode.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "implicitGetterExplicitSetter", + "qualifiedName": "fake.ImplicitProperties.implicitGetterExplicitSetter", + "href": "fake/ImplicitProperties/implicitGetterExplicitSetter.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "noSuchMethod", + "qualifiedName": "fake.ImplicitProperties.noSuchMethod", + "href": "fake/ImplicitProperties/noSuchMethod.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "runtimeType", + "qualifiedName": "fake.ImplicitProperties.runtimeType", + "href": "fake/ImplicitProperties/runtimeType.html", + "type": "property", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", + "type": "class" + } + }, + { + "name": "toString", + "qualifiedName": "fake.ImplicitProperties.toString", + "href": "fake/ImplicitProperties/toString.html", + "type": "method", + "overriddenDepth": 0, + "enclosedBy": { + "name": "ImplicitProperties", "type": "class" } }, @@ -4067,6 +4265,17 @@ "type": "library" } }, + { + "name": "Interface", + "qualifiedName": "fake.Interface", + "href": "fake/Interface/Interface.html", + "type": "constructor", + "overriddenDepth": 0, + "enclosedBy": { + "name": "Interface", + "type": "class" + } + }, { "name": "operator ==", "qualifiedName": "fake.Interface.==", @@ -4125,23 +4334,23 @@ { "name": "LongFirstLine", "qualifiedName": "fake.LongFirstLine", - "href": "fake/LongFirstLine-class.html", - "type": "class", + "href": "fake/LongFirstLine/LongFirstLine.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "fake", - "type": "library" + "name": "LongFirstLine", + "type": "class" } }, { "name": "LongFirstLine", "qualifiedName": "fake.LongFirstLine", - "href": "fake/LongFirstLine/LongFirstLine.html", - "type": "constructor", + "href": "fake/LongFirstLine-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "LongFirstLine", - "type": "class" + "name": "fake", + "type": "library" } }, { @@ -4455,23 +4664,23 @@ { "name": "Oops", "qualifiedName": "fake.Oops", - "href": "fake/Oops/Oops.html", - "type": "constructor", + "href": "fake/Oops-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "Oops", - "type": "class" + "name": "fake", + "type": "library" } }, { "name": "Oops", "qualifiedName": "fake.Oops", - "href": "fake/Oops-class.html", - "type": "class", + "href": "fake/Oops/Oops.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "fake", - "type": "library" + "name": "Oops", + "type": "class" } }, { @@ -4543,23 +4752,23 @@ { "name": "OperatorReferenceClass", "qualifiedName": "fake.OperatorReferenceClass", - "href": "fake/OperatorReferenceClass-class.html", - "type": "class", + "href": "fake/OperatorReferenceClass/OperatorReferenceClass.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "fake", - "type": "library" + "name": "OperatorReferenceClass", + "type": "class" } }, { "name": "OperatorReferenceClass", "qualifiedName": "fake.OperatorReferenceClass", - "href": "fake/OperatorReferenceClass/OperatorReferenceClass.html", - "type": "constructor", + "href": "fake/OperatorReferenceClass-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "OperatorReferenceClass", - "type": "class" + "name": "fake", + "type": "library" } }, { @@ -4719,23 +4928,23 @@ { "name": "SpecialList", "qualifiedName": "fake.SpecialList", - "href": "fake/SpecialList-class.html", - "type": "class", + "href": "fake/SpecialList/SpecialList.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "fake", - "type": "library" + "name": "SpecialList", + "type": "class" } }, { "name": "SpecialList", "qualifiedName": "fake.SpecialList", - "href": "fake/SpecialList/SpecialList.html", - "type": "constructor", + "href": "fake/SpecialList-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "SpecialList", - "type": "class" + "name": "fake", + "type": "library" } }, { @@ -5368,23 +5577,23 @@ { "name": "SubForDocComments", "qualifiedName": "fake.SubForDocComments", - "href": "fake/SubForDocComments/SubForDocComments.html", - "type": "constructor", + "href": "fake/SubForDocComments-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "SubForDocComments", - "type": "class" + "name": "fake", + "type": "library" } }, { "name": "SubForDocComments", "qualifiedName": "fake.SubForDocComments", - "href": "fake/SubForDocComments-class.html", - "type": "class", + "href": "fake/SubForDocComments/SubForDocComments.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "fake", - "type": "library" + "name": "SubForDocComments", + "type": "class" } }, { @@ -5533,23 +5742,23 @@ { "name": "WithGetterAndSetter", "qualifiedName": "fake.WithGetterAndSetter", - "href": "fake/WithGetterAndSetter-class.html", - "type": "class", + "href": "fake/WithGetterAndSetter/WithGetterAndSetter.html", + "type": "constructor", "overriddenDepth": 0, "enclosedBy": { - "name": "fake", - "type": "library" + "name": "WithGetterAndSetter", + "type": "class" } }, { "name": "WithGetterAndSetter", "qualifiedName": "fake.WithGetterAndSetter", - "href": "fake/WithGetterAndSetter/WithGetterAndSetter.html", - "type": "constructor", + "href": "fake/WithGetterAndSetter-class.html", + "type": "class", "overriddenDepth": 0, "enclosedBy": { - "name": "WithGetterAndSetter", - "type": "class" + "name": "fake", + "type": "library" } }, { @@ -5750,6 +5959,17 @@ "type": "library" } }, + { + "name": "myCoolTypedef", + "qualifiedName": "fake.myCoolTypedef", + "href": "fake/myCoolTypedef.html", + "type": "typedef", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, { "name": "onlyPositionalWithNoDefaultNoType", "qualifiedName": "fake.onlyPositionalWithNoDefaultNoType", diff --git a/testing/test_package_docs/two_exports/BaseClass-class.html b/testing/test_package_docs/two_exports/BaseClass-class.html index 2fdca4253d..dbc0074b6d 100644 --- a/testing/test_package_docs/two_exports/BaseClass-class.html +++ b/testing/test_package_docs/two_exports/BaseClass-class.html @@ -137,13 +137,9 @@

    Properties

    lengthX - int _length + int _length
    -
    - lengthX - ↔ int -

    Returns a length.

    read / write, inherited
    diff --git a/testing/test_package_docs/two_exports/ExtendingClass-class.html b/testing/test_package_docs/two_exports/ExtendingClass-class.html index 839b97f7fe..f01a1b6b8a 100644 --- a/testing/test_package_docs/two_exports/ExtendingClass-class.html +++ b/testing/test_package_docs/two_exports/ExtendingClass-class.html @@ -139,13 +139,9 @@

    Properties

    lengthX - int _length + int _length
    -
    - lengthX - ↔ int -

    Returns a length.

    read / write, inherited
    diff --git a/testing/test_package_docs/two_exports/two_exports-library.html b/testing/test_package_docs/two_exports/two_exports-library.html index c1c3dd70b0..031e3d3a67 100644 --- a/testing/test_package_docs/two_exports/two_exports-library.html +++ b/testing/test_package_docs/two_exports/two_exports-library.html @@ -111,8 +111,9 @@

    Properties

    - topLevelVariable - ↔ int + topLevelVariable + int +

    From 066c7c3ff4eab85f8d0b3b99900d803eddff3f49 Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Mon, 8 May 2017 09:42:15 -0700 Subject: [PATCH 2/5] dartfmt --- lib/src/markdown_processor.dart | 9 +++++---- testing/test_package/lib/fake.dart | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/markdown_processor.dart b/lib/src/markdown_processor.dart index 6b63ee1116..093f6647d1 100644 --- a/lib/src/markdown_processor.dart +++ b/lib/src/markdown_processor.dart @@ -293,11 +293,11 @@ MatchingLinkResult _getMatchingLinkElement( } /// Given a set of commentRefs, return the one whose name matches the codeRef. -Element _getRefElementFromCommentRefs(List commentRefs, String codeRef) { +Element _getRefElementFromCommentRefs( + List commentRefs, String codeRef) { for (CommentReference ref in commentRefs) { if (ref.identifier.name == codeRef) { - bool isConstrElement = - ref.identifier.staticElement is ConstructorElement; + bool isConstrElement = ref.identifier.staticElement is ConstructorElement; // Constructors are now handled by library search. if (!isConstrElement) { return ref.identifier.staticElement; @@ -338,7 +338,8 @@ Map> _findRefElementCache; // TODO(jcollins-g): Subcomponents of this function shouldn't be adding nulls to results, strip the // removes out that are gratuitous and debug the individual pieces. // TODO(jcollins-g): A complex package winds up spending a lot of cycles in here. Optimize. -Element _findRefElementInLibrary(String codeRef, ModelElement element, List commentRefs) { +Element _findRefElementInLibrary( + String codeRef, ModelElement element, List commentRefs) { assert(element.package.allLibrariesAdded); String codeRefChomped = codeRef.replaceFirst(isConstructor, ''); diff --git a/testing/test_package/lib/fake.dart b/testing/test_package/lib/fake.dart index ef2b9bd5b9..a4627088d4 100644 --- a/testing/test_package/lib/fake.dart +++ b/testing/test_package/lib/fake.dart @@ -185,7 +185,6 @@ class ImplicitProperties { /// Classes with unusual properties? I don't think they exist. class ClassWithUnusualProperties extends ImplicitProperties { - @override set implicitGetterExplicitSetter(String x) {} From 5d8aa5493cd3143f7b876eef4bc7b6be7ecb88fb Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Mon, 8 May 2017 10:57:02 -0700 Subject: [PATCH 3/5] version update --- testing/test_package_docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_package_docs/index.html b/testing/test_package_docs/index.html index 53ad189993..c18a6073fc 100644 --- a/testing/test_package_docs/index.html +++ b/testing/test_package_docs/index.html @@ -4,7 +4,7 @@ - + test_package - Dart API docs From c1abe1a34fc50718505f9790f50915a1d95c72bb Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Mon, 8 May 2017 11:13:47 -0700 Subject: [PATCH 4/5] version update --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 0c7e9536ec..1192a831aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dartdoc # Also update the `version` field in lib/dartdoc.dart. -version: 0.11.0 +version: 0.11.1 author: Dart Team description: A documentation generator for Dart. homepage: https://github.com/dart-lang/dartdoc From dd598e586c1be47172dcf07543c62b8ff5d86960 Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Tue, 9 May 2017 07:50:36 -0700 Subject: [PATCH 5/5] Update comment --- lib/src/model.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/model.dart b/lib/src/model.dart index 9f3d621d2d..6c710ea393 100644 --- a/lib/src/model.dart +++ b/lib/src/model.dart @@ -1042,7 +1042,8 @@ class Field extends ModelElement @override String get documentation { - // Verify that we will show exactly one of the summaries. + // Verify that hasSetter and hasGetterNoSetter are mutually exclusive, + // to prevent displaying more or less than one summary. Set assertCheck = new Set()..addAll([hasSetter, hasGetterNoSetter]); assert(assertCheck.containsAll([true, false])); return super.documentation; @@ -3655,7 +3656,8 @@ class TopLevelVariable extends ModelElement @override String get documentation { - // Verify that we will show exactly one of the summaries. + // Verify that hasSetter and hasGetterNoSetter are mutually exclusive, + // to prevent displaying more or less than one summary. Set assertCheck = new Set()..addAll([hasSetter, hasGetterNoSetter]); assert(assertCheck.containsAll([true, false])); return super.documentation;