Index: pkg/kernel/lib/ast.dart |
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart |
index 97326fc120cc946f27ac6b8e8d463a7e115ada7d..94dc6ee0fcc853c03b6deb1069d6afed720d7dee 100644 |
--- a/pkg/kernel/lib/ast.dart |
+++ b/pkg/kernel/lib/ast.dart |
@@ -596,6 +596,10 @@ class Class extends NamedNode { |
/// The degree to which the contents of the class have been loaded. |
ClassLevel level = ClassLevel.Body; |
+ /// Documentation comment of the class, or `null`. |
+ @informative |
+ String documentationComment; |
+ |
/// List of metadata annotations on the class. |
/// |
/// This defaults to an immutable empty list. Use [addAnnotation] to add |
@@ -4634,3 +4638,8 @@ CanonicalName getCanonicalNameOfTypedef(Typedef typedef_) { |
} |
return typedef_.canonicalName; |
} |
+ |
+/// Annotation describing information which is not part of Dart semantics; in |
+/// other words, if this information (or any information it refers to) changes, |
+/// static analysis and runtime behavior of the library are unaffected. |
+const informative = null; |