| OLD | NEW |
| (Empty) |
| 1 ## 0.1.3 | |
| 2 | |
| 3 * Add an optional `endState` argument to `SpanScanner.spanFrom`. | |
| 4 | |
| 5 ## 0.1.2 | |
| 6 | |
| 7 * Add `StringScanner.substring`, which returns a substring of the source string. | |
| 8 | |
| 9 ## 0.1.1 | |
| 10 | |
| 11 * Declare `SpanScanner`'s exposed `SourceSpan`s and `SourceLocation`s to be | |
| 12 `FileSpan`s and `FileLocation`s. They always were underneath, but callers may | |
| 13 now rely on it. | |
| 14 | |
| 15 * Add `SpanScanner.location`, which returns the scanner's current | |
| 16 `SourceLocation`. | |
| 17 | |
| 18 ## 0.1.0 | |
| 19 | |
| 20 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. | |
| 21 | |
| 22 * `new StringScanner()`'s `sourceUrl` parameter is now named to make it clear | |
| 23 that it can be safely `null`. | |
| 24 | |
| 25 * `new StringScannerException()` takes different arguments in a different order | |
| 26 to match `SpanFormatException`. | |
| 27 | |
| 28 * `StringScannerException.string` has been renamed to | |
| 29 `StringScannerException.source` to match the `FormatException` interface. | |
| 30 | |
| 31 ## 0.0.3 | |
| 32 | |
| 33 * Make `StringScannerException` inherit from source_map's | |
| 34 [`SpanFormatException`][]. | |
| 35 | |
| 36 [SpanFormatException]: (http://www.dartdocs.org/documentation/source_maps/0.9.2/
index.html#source_maps/source_maps.SpanFormatException) | |
| 37 | |
| 38 ## 0.0.2 | |
| 39 | |
| 40 * `new StringScanner()` now takes an optional `sourceUrl` argument that provides | |
| 41 the URL of the source file. This is used for error reporting. | |
| 42 | |
| 43 * Add `StringScanner.readChar()` and `StringScanner.peekChar()` methods for | |
| 44 doing character-by-character scanning. | |
| 45 | |
| 46 * Scanners now throw `StringScannerException`s which provide more detailed | |
| 47 access to information about the errors that were thrown and can provide | |
| 48 terminal-colored messages. | |
| 49 | |
| 50 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line | |
| 51 and column information of the text being scanned. | |
| 52 | |
| 53 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as | |
| 54 [source map][] `Span` objects. | |
| 55 | |
| 56 [source_map]: http://pub.dartlang.org/packages/source_maps | |
| OLD | NEW |