| Index: pkg/analyzer/tool/summary/idl.dart
|
| diff --git a/pkg/analyzer/tool/summary/idl.dart b/pkg/analyzer/tool/summary/idl.dart
|
| index e1d0a170d31c286228cb72d8431b9ea738753b3a..0e2b84b76663c90dfaa582dd08bb586115ddf4b5 100644
|
| --- a/pkg/analyzer/tool/summary/idl.dart
|
| +++ b/pkg/analyzer/tool/summary/idl.dart
|
| @@ -222,6 +222,13 @@ class UnlinkedClass {
|
| int nameOffset;
|
|
|
| /**
|
| + * Documentation comment for the class, or `null` if there is no
|
| + * documentation comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment documentationComment;
|
| +
|
| + /**
|
| * Type parameters of the class, if any.
|
| */
|
| List<UnlinkedTypeParam> typeParameters;
|
| @@ -287,6 +294,19 @@ class UnlinkedCombinator {
|
| }
|
|
|
| /**
|
| + * Unlinked summary information about a documentation comment.
|
| + */
|
| +class UnlinkedDocumentationComment {
|
| + /**
|
| + * Text of the documentation comment, with '\r\n' replaced by '\n'.
|
| + *
|
| + * References appearing within the doc comment in square brackets are not
|
| + * specially encoded.
|
| + */
|
| + String text;
|
| +}
|
| +
|
| +/**
|
| * Unlinked summary information about an enum declaration.
|
| */
|
| class UnlinkedEnum {
|
| @@ -302,6 +322,13 @@ class UnlinkedEnum {
|
| int nameOffset;
|
|
|
| /**
|
| + * Documentation comment for the enum, or `null` if there is no documentation
|
| + * comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment documentationComment;
|
| +
|
| + /**
|
| * Values listed in the enum declaration, in declaration order.
|
| */
|
| List<UnlinkedEnumValue> values;
|
| @@ -322,6 +349,13 @@ class UnlinkedEnumValue {
|
| */
|
| @informative
|
| int nameOffset;
|
| +
|
| + /**
|
| + * Documentation comment for the enum value, or `null` if there is no
|
| + * documentation comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment documentationComment;
|
| }
|
|
|
| /**
|
| @@ -346,6 +380,13 @@ class UnlinkedExecutable {
|
| int nameOffset;
|
|
|
| /**
|
| + * Documentation comment for the executable, or `null` if there is no
|
| + * documentation comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment documentationComment;
|
| +
|
| + /**
|
| * Type parameters of the executable, if any. Empty if support for generic
|
| * method syntax is disabled.
|
| */
|
| @@ -718,6 +759,13 @@ class UnlinkedTypedef {
|
| int nameOffset;
|
|
|
| /**
|
| + * Documentation comment for the typedef, or `null` if there is no
|
| + * documentation comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment documentationComment;
|
| +
|
| + /**
|
| * Type parameters of the typedef, if any.
|
| */
|
| List<UnlinkedTypeParam> typeParameters;
|
| @@ -824,6 +872,13 @@ class UnlinkedUnit {
|
| int libraryNameLength;
|
|
|
| /**
|
| + * Documentation comment for the library, or `null` if there is no
|
| + * documentation comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment libraryDocumentationComment;
|
| +
|
| + /**
|
| * Unlinked public namespace of this compilation unit.
|
| */
|
| UnlinkedPublicNamespace publicNamespace;
|
| @@ -894,6 +949,13 @@ class UnlinkedVariable {
|
| int nameOffset;
|
|
|
| /**
|
| + * Documentation comment for the variable, or `null` if there is no
|
| + * documentation comment.
|
| + */
|
| + @informative
|
| + UnlinkedDocumentationComment documentationComment;
|
| +
|
| + /**
|
| * Declared type of the variable. Note that when strong mode is enabled, the
|
| * actual type of the variable may be different due to type inference.
|
| */
|
|
|