OLD | NEW |
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 library string_scanner.eager_span_scanner; | 5 library string_scanner.eager_span_scanner; |
6 | 6 |
7 import 'package:charcode/ascii.dart'; | 7 import 'package:charcode/ascii.dart'; |
8 | 8 |
9 import 'line_scanner.dart'; | 9 import 'line_scanner.dart'; |
10 import 'span_scanner.dart'; | 10 import 'span_scanner.dart'; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 /// A class representing the state of an [EagerSpanScanner]. | 106 /// A class representing the state of an [EagerSpanScanner]. |
107 class _EagerSpanScannerState implements LineScannerState { | 107 class _EagerSpanScannerState implements LineScannerState { |
108 final EagerSpanScanner _scanner; | 108 final EagerSpanScanner _scanner; |
109 final int position; | 109 final int position; |
110 final int line; | 110 final int line; |
111 final int column; | 111 final int column; |
112 | 112 |
113 _EagerSpanScannerState(this._scanner, this.position, this.line, this.column); | 113 _EagerSpanScannerState(this._scanner, this.position, this.line, this.column); |
114 } | 114 } |
115 | 115 |
OLD | NEW |