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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 mapping that attempts a semantic mapping between 5 /// Source information system mapping that attempts a semantic mapping between
6 /// offsets of JavaScript code points to offsets of Dart code points. 6 /// offsets of JavaScript code points to offsets of Dart code points.
7 7
8 library dart2js.source_information.position; 8 library dart2js.source_information.position;
9 9
10 import '../diagnostics/invariant.dart' show 10 import '../common.dart';
11 invariant;
12 import '../diagnostics/source_span.dart' show
13 SourceSpan;
14 import '../diagnostics/spannable.dart' show
15 NO_LOCATION_SPANNABLE;
16 import '../elements/elements.dart' show 11 import '../elements/elements.dart' show
17 AstElement, 12 AstElement,
18 LocalElement; 13 LocalElement;
19 import '../js/js.dart' as js; 14 import '../js/js.dart' as js;
20 import '../js/js_source_mapping.dart'; 15 import '../js/js_source_mapping.dart';
21 import '../js/js_debug.dart'; 16 import '../js/js_debug.dart';
22 import '../tree/tree.dart' show 17 import '../tree/tree.dart' show
23 Node, 18 Node,
24 Send; 19 Send;
25 20
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 449
455 @override 450 @override
456 void onPositions(js.Node node, 451 void onPositions(js.Node node,
457 int startPosition, 452 int startPosition,
458 int endPosition, 453 int endPosition,
459 int closingPosition) { 454 int closingPosition) {
460 codePositions.registerPositions( 455 codePositions.registerPositions(
461 node, startPosition, endPosition, closingPosition); 456 node, startPosition, endPosition, closingPosition);
462 } 457 }
463 } 458 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/info/send_info.dart ('k') | pkg/compiler/lib/src/io/source_information.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698