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

Side by Side Diff: pkg/kernel/lib/transformations/closure/context.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 | « no previous file | pkg/kernel/lib/transformations/closure/info.dart » ('j') | 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.context; 5 library kernel.transformations.closure.context;
6 6
7 import '../../ast.dart' 7 import '../../ast.dart'
8 show 8 show
9 Class,
10 Expression, 9 Expression,
11 NullLiteral, 10 NullLiteral,
12 StringLiteral, 11 StringLiteral,
13 Throw, 12 Throw,
14 TreeNode, 13 TreeNode,
15 VariableDeclaration, 14 VariableDeclaration,
16 VariableGet, 15 VariableGet,
17 VariableSet, 16 VariableSet,
18 VectorCreation, 17 VectorCreation,
19 VectorGet, 18 VectorGet,
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Item 0 of a context always points to its parent. 233 // Item 0 of a context always points to its parent.
235 context = new VectorGet(context, 0); 234 context = new VectorGet(context, 0);
236 } 235 }
237 throw 'Unbound NestedContext.lookup($variable)'; 236 throw 'Unbound NestedContext.lookup($variable)';
238 } 237 }
239 238
240 Context toNestedContext([Accessor accessor]) { 239 Context toNestedContext([Accessor accessor]) {
241 return new NestedContext(converter, accessor ?? this.accessor, variabless); 240 return new NestedContext(converter, accessor ?? this.accessor, variabless);
242 } 241 }
243 } 242 }
OLDNEW
« no previous file with comments | « no previous file | pkg/kernel/lib/transformations/closure/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698