Index: pkg/analyzer/lib/src/dart/ast/utilities.dart |
diff --git a/pkg/analyzer/lib/src/dart/ast/utilities.dart b/pkg/analyzer/lib/src/dart/ast/utilities.dart |
index a1e5448e20f82238f8b8818f8fac8e1d1170877b..654772c5f6e6190509861ce57111b67e60adda48 100644 |
--- a/pkg/analyzer/lib/src/dart/ast/utilities.dart |
+++ b/pkg/analyzer/lib/src/dart/ast/utilities.dart |
@@ -6769,7 +6769,10 @@ class ScopedNameFinder extends GeneralizingAstVisitor<Object> { |
/** |
* A visitor used to write a source representation of a visited AST node (and |
* all of it's children) to a writer. |
+ * |
+ * This class has been deprecated. Use the class ToSourceVisitor2 instead. |
*/ |
+@deprecated |
class ToSourceVisitor implements AstVisitor<Object> { |
/** |
* The writer to which the source is to be written. |