| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 dart2js.io.line_column; | 5 library dart2js.io.line_column; |
| 6 | 6 |
| 7 import 'code_output.dart'; | 7 import 'code_output.dart'; |
| 8 | 8 |
| 9 /// Interface for providing line/column information. | 9 /// Interface for providing line/column information. |
| 10 abstract class LineColumnProvider { | 10 abstract class LineColumnProvider { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 @override | 68 @override |
| 69 void onDone(int length) { | 69 void onDone(int length) { |
| 70 lineStarts.add(length + 1); | 70 lineStarts.add(length + 1); |
| 71 this.length = length; | 71 this.length = length; |
| 72 } | 72 } |
| 73 | 73 |
| 74 String toString() { | 74 String toString() { |
| 75 return 'lineStarts=$lineStarts,length=$length'; | 75 return 'lineStarts=$lineStarts,length=$length'; |
| 76 } | 76 } |
| 77 } | 77 } |
| OLD | NEW |