Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Unified Diff: pkg/analyzer_plugin/lib/src/utilities/visitors/local_declaration_visitor.dart

Issue 2918343002: Move LocalDeclarationVisitor for use by contributors that will be moved to analyzer_plugin (Closed)
Patch Set: fix test Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_plugin/lib/src/utilities/visitors/local_declaration_visitor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/local_declaration_visitor.dart b/pkg/analyzer_plugin/lib/src/utilities/visitors/local_declaration_visitor.dart
similarity index 96%
rename from pkg/analysis_server/lib/src/services/completion/dart/local_declaration_visitor.dart
rename to pkg/analyzer_plugin/lib/src/utilities/visitors/local_declaration_visitor.dart
index 548f2791564357ed0a60202fc724700a0e354ac0..8dafe81ab4e9fb3e8b4e57e97983d97f149acf66 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/local_declaration_visitor.dart
+++ b/pkg/analyzer_plugin/lib/src/utilities/visitors/local_declaration_visitor.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -9,9 +9,9 @@ import 'package:analyzer/dart/ast/visitor.dart';
import 'package:analyzer/src/dart/ast/token.dart';
/**
- * `LocalDeclarationCollector` visits an [AstNode] and its parent recursively
- * along with any declarations in those nodes. Consumers typically call [visit]
- * which catches the exception thrown by [finished()].
+ * A visitor that visits an [AstNode] and its parent recursively along with any
+ * declarations in those nodes. Consumers typically call [visit] which catches
+ * the exception thrown by [finished].
*/
abstract class LocalDeclarationVisitor extends GeneralizingAstVisitor {
static final TypeName STACKTRACE_TYPE = astFactory.typeName(
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/driver.dart ('k') | pkg/analyzer_plugin/test/src/utilities/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698