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

Side by Side Diff: pkg/compiler/lib/src/io/start_end_information.dart

Issue 2223133003: pkg/compiler: clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Source information system that maps spans of Dart AST nodes to spans of 5 /// Source information system that maps spans of Dart AST nodes to spans of
6 /// JavaScript nodes. 6 /// JavaScript nodes.
7 7
8 library dart2js.source_information.start_end; 8 library dart2js.source_information.start_end;
9 9
10 import '../common.dart'; 10 import '../common.dart';
11 import '../diagnostics/messages.dart' show MessageTemplate; 11 import '../diagnostics/messages.dart' show MessageTemplate;
12 import '../elements/elements.dart' 12 import '../elements/elements.dart' show ResolvedAst, ResolvedAstKind;
13 show AstElement, ResolvedAst, ResolvedAstKind;
14 import '../js/js.dart' as js; 13 import '../js/js.dart' as js;
15 import '../js/js_source_mapping.dart'; 14 import '../js/js_source_mapping.dart';
16 import '../tokens/token.dart' show Token; 15 import '../tokens/token.dart' show Token;
17 import '../tree/tree.dart' show Node; 16 import '../tree/tree.dart' show Node;
18 import 'source_file.dart'; 17 import 'source_file.dart';
19 import 'source_information.dart'; 18 import 'source_information.dart';
20 19
21 /// Source information that contains start source position and optionally an 20 /// Source information that contains start source position and optionally an
22 /// end source position. 21 /// end source position.
23 class StartEndSourceInformation extends SourceInformation { 22 class StartEndSourceInformation extends SourceInformation {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 213
215 @override 214 @override
216 SourceInformation buildIf(Node node) => buildGeneric(node); 215 SourceInformation buildIf(Node node) => buildGeneric(node);
217 216
218 @override 217 @override
219 SourceInformationBuilder forContext(ResolvedAst resolvedAst, 218 SourceInformationBuilder forContext(ResolvedAst resolvedAst,
220 {SourceInformation sourceInformation}) { 219 {SourceInformation sourceInformation}) {
221 return new StartEndSourceInformationBuilder(resolvedAst); 220 return new StartEndSourceInformationBuilder(resolvedAst);
222 } 221 }
223 } 222 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/io/position_information.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698