Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 ## 0.0.2 | |
| 2 | |
| 3 * `new StringScanner` now takes an optional `sourceUrl` argument that provides | |
|
Bob Nystrom
2014/05/28 21:28:57
Nit, but a ctor call without () looks weird to me.
nweiz
2014/05/28 23:56:34
Done.
| |
| 4 the URL of the source file. This is used for error reporting. | |
| 5 | |
| 6 * Add `StringScanner.readChar` and `StringScanner.peekChar` methods for doing | |
|
Bob Nystrom
2014/05/28 21:28:57
And here too, since otherwise a reader might think
nweiz
2014/05/28 23:56:34
Done.
| |
| 7 character-by-character scanning. | |
| 8 | |
| 9 * Scanners now throw `StringScannerException`s which provide more detailed | |
| 10 access to information about the errors that were thrown and can provide | |
| 11 terminal-colored messages. | |
| 12 | |
| 13 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line | |
| 14 and column information of the text being scanned. | |
| 15 | |
| 16 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as | |
| 17 [source map][] `Span` objects. | |
| 18 | |
| 19 [source_map]: http://pub.dartlang.org/packages/source_maps | |
| OLD | NEW |