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

Side by Side Diff: pkg/analysis_server/lib/src/services/completion/dart/local_declaration_visitor.dart

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library services.completion.dart.local.declaration.visitor;
6
7 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/ast/standard_ast_factory.dart'; 6 import 'package:analyzer/dart/ast/standard_ast_factory.dart';
9 import 'package:analyzer/dart/ast/token.dart'; 7 import 'package:analyzer/dart/ast/token.dart';
10 import 'package:analyzer/dart/ast/visitor.dart'; 8 import 'package:analyzer/dart/ast/visitor.dart';
11 import 'package:analyzer/src/dart/ast/token.dart'; 9 import 'package:analyzer/src/dart/ast/token.dart';
12 10
13 /** 11 /**
14 * `LocalDeclarationCollector` visits an [AstNode] and its parent recursively 12 * `LocalDeclarationCollector` visits an [AstNode] and its parent recursively
15 * along with any declarations in those nodes. Consumers typically call [visit] 13 * along with any declarations in those nodes. Consumers typically call [visit]
16 * which catches the exception thrown by [finished()]. 14 * which catches the exception thrown by [finished()].
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 } 272 }
275 } 273 }
276 } 274 }
277 } 275 }
278 276
279 /** 277 /**
280 * Internal exception used to indicate that [LocalDeclarationVisitor] 278 * Internal exception used to indicate that [LocalDeclarationVisitor]
281 * should stop visiting. 279 * should stop visiting.
282 */ 280 */
283 class _LocalDeclarationVisitorFinished {} 281 class _LocalDeclarationVisitorFinished {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698