OLD | NEW |
| 1 ## 0.1.1 |
| 2 |
| 3 * Declare `SpanScanner`'s exposed `SourceSpan`s and `SourceLocation`s to be |
| 4 `FileSpan`s and `FileLocation`s. They always were underneath, but callers may |
| 5 now rely on it. |
| 6 |
| 7 * Add `SpanScanner.location`, which returns the scanner's current |
| 8 `SourceLocation`. |
| 9 |
1 ## 0.1.0 | 10 ## 0.1.0 |
2 | 11 |
3 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. | 12 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. |
4 | 13 |
5 * `new StringScanner()`'s `sourceUrl` parameter is now named to make it clear | 14 * `new StringScanner()`'s `sourceUrl` parameter is now named to make it clear |
6 that it can be safely `null`. | 15 that it can be safely `null`. |
7 | 16 |
8 * `new StringScannerException()` takes different arguments in a different order | 17 * `new StringScannerException()` takes different arguments in a different order |
9 to match `SpanFormatException`. | 18 to match `SpanFormatException`. |
10 | 19 |
(...skipping 19 matching lines...) Expand all Loading... |
30 access to information about the errors that were thrown and can provide | 39 access to information about the errors that were thrown and can provide |
31 terminal-colored messages. | 40 terminal-colored messages. |
32 | 41 |
33 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line | 42 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line |
34 and column information of the text being scanned. | 43 and column information of the text being scanned. |
35 | 44 |
36 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as | 45 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as |
37 [source map][] `Span` objects. | 46 [source map][] `Span` objects. |
38 | 47 |
39 [source_map]: http://pub.dartlang.org/packages/source_maps | 48 [source_map]: http://pub.dartlang.org/packages/source_maps |
OLD | NEW |