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

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

Issue 401753002: Move a number of packages and some of pub over to using source_span. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 5 months 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 | « pkg/polymer/pubspec.yaml ('k') | pkg/string_scanner/lib/src/exception.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.0
2
3 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class.
4
5 * `new StringScanner()`'s `sourceUrl` parameter is now named to make it clear
6 that it can be safely `null`.
7
8 * `new StringScannerException()` takes different arguments in a different order
9 to match `SpanFormatException`.
10
11 * `StringScannerException.string` has been renamed to
12 `StringScannerException.source` to match the `FormatException` interface.
13
1 ## 0.0.3 14 ## 0.0.3
2 15
3 * Make `StringScannerException` inherit from source_map's 16 * Make `StringScannerException` inherit from source_map's
4 [`SpanFormatException`][]. 17 [`SpanFormatException`][].
5 18
6 [SpanFormatException]: (http://www.dartdocs.org/documentation/source_maps/0.9.2/ index.html#source_maps/source_maps.SpanFormatException) 19 [SpanFormatException]: (http://www.dartdocs.org/documentation/source_maps/0.9.2/ index.html#source_maps/source_maps.SpanFormatException)
7 20
8 ## 0.0.2 21 ## 0.0.2
9 22
10 * `new StringScanner()` now takes an optional `sourceUrl` argument that provides 23 * `new StringScanner()` now takes an optional `sourceUrl` argument that provides
11 the URL of the source file. This is used for error reporting. 24 the URL of the source file. This is used for error reporting.
12 25
13 * Add `StringScanner.readChar()` and `StringScanner.peekChar()` methods for 26 * Add `StringScanner.readChar()` and `StringScanner.peekChar()` methods for
14 doing character-by-character scanning. 27 doing character-by-character scanning.
15 28
16 * Scanners now throw `StringScannerException`s which provide more detailed 29 * Scanners now throw `StringScannerException`s which provide more detailed
17 access to information about the errors that were thrown and can provide 30 access to information about the errors that were thrown and can provide
18 terminal-colored messages. 31 terminal-colored messages.
19 32
20 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line 33 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line
21 and column information of the text being scanned. 34 and column information of the text being scanned.
22 35
23 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as 36 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as
24 [source map][] `Span` objects. 37 [source map][] `Span` objects.
25 38
26 [source_map]: http://pub.dartlang.org/packages/source_maps 39 [source_map]: http://pub.dartlang.org/packages/source_maps
OLDNEW
« no previous file with comments | « pkg/polymer/pubspec.yaml ('k') | pkg/string_scanner/lib/src/exception.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698