Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: pkg/string_scanner/CHANGELOG.md

Issue 683323002: Add SpanScanner.location. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/string_scanner/lib/src/span_scanner.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | pkg/string_scanner/lib/src/span_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698