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

Side by Side Diff: pkg/kernel/lib/transformations/closure/info.dart

Issue 2945493004: Remove unused imports to make analyzer happy (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « pkg/kernel/lib/transformations/closure/context.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 kernel.transformations.closure.info; 5 library kernel.transformations.closure.info;
6 6
7 import '../../ast.dart' 7 import '../../ast.dart'
8 show 8 show
9 Class, 9 Class,
10 Constructor, 10 Constructor,
11 Field, 11 Field,
12 FieldInitializer,
13 FunctionDeclaration, 12 FunctionDeclaration,
14 FunctionNode, 13 FunctionNode,
15 LocalInitializer,
16 Member, 14 Member,
17 Name, 15 Name,
18 Procedure, 16 Procedure,
19 ProcedureKind, 17 ProcedureKind,
20 PropertyGet, 18 PropertyGet,
21 RedirectingInitializer,
22 SuperInitializer,
23 ThisExpression, 19 ThisExpression,
24 TypeParameter, 20 TypeParameter,
25 TypeParameterType, 21 TypeParameterType,
26 VariableDeclaration, 22 VariableDeclaration,
27 VariableGet, 23 VariableGet,
28 VariableSet; 24 VariableSet;
29 25
30 import '../../visitor.dart' show RecursiveVisitor; 26 import '../../visitor.dart' show RecursiveVisitor;
31 27
32 class ClosureInfo extends RecursiveVisitor { 28 class ClosureInfo extends RecursiveVisitor {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 236
241 saveCurrentFunction(void f()) { 237 saveCurrentFunction(void f()) {
242 var saved = currentFunction; 238 var saved = currentFunction;
243 try { 239 try {
244 f(); 240 f();
245 } finally { 241 } finally {
246 currentFunction = saved; 242 currentFunction = saved;
247 } 243 }
248 } 244 }
249 } 245 }
OLDNEW
« no previous file with comments | « pkg/kernel/lib/transformations/closure/context.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698