OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.line_scanner; | 5 library string_scanner.line_scanner; |
6 | 6 |
7 import 'package:charcode/ascii.dart'; | 7 import 'package:charcode/ascii.dart'; |
8 | 8 |
9 import 'string_scanner.dart'; | 9 import 'string_scanner.dart'; |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 final int position; | 118 final int position; |
119 | 119 |
120 /// The zero-based line number of the scanner in this state. | 120 /// The zero-based line number of the scanner in this state. |
121 final int line; | 121 final int line; |
122 | 122 |
123 /// The zero-based column number of the scanner in this state. | 123 /// The zero-based column number of the scanner in this state. |
124 final int column; | 124 final int column; |
125 | 125 |
126 LineScannerState._(this._scanner, this.position, this.line, this.column); | 126 LineScannerState._(this._scanner, this.position, this.line, this.column); |
127 } | 127 } |
OLD | NEW |