Index: pkg/compiler/lib/src/io/source_file.dart |
diff --git a/pkg/compiler/lib/src/source_file.dart b/pkg/compiler/lib/src/io/source_file.dart |
similarity index 95% |
rename from pkg/compiler/lib/src/source_file.dart |
rename to pkg/compiler/lib/src/io/source_file.dart |
index ad92b4626bcf42993a632a8eddcb1bcb5fbaaa7c..a106e5e0d42fc29fbc8f012c23bef7b99f9aebc4 100644 |
--- a/pkg/compiler/lib/src/source_file.dart |
+++ b/pkg/compiler/lib/src/io/source_file.dart |
@@ -2,19 +2,12 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library source_file; |
+library dart2js.io.source_file; |
import 'dart:math'; |
import 'dart:convert' show UTF8; |
-/// Interface for providing line/column information. |
-abstract class LineColumnProvider { |
- /// Returns the line number (0-based) for [offset]. |
- int getLine(int offset); |
- |
- /// Returns the column number (0-based) for [offset] at the given [line]. |
- int getColumn(int line, int offset); |
-} |
+import 'line_column_provider.dart'; |
/** |
* Represents a file of source code. The content can be either a [String] or |