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

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

Issue 343043002: Make StringScannerException extend SpanFormatException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « no previous file | 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.0.3
2
3 * Make `StringScannerException` inherit from source_map's
4 [`SpanFormatException`][].
5
6 [SpanFormatException]: (http://www.dartdocs.org/documentation/source_maps/0.9.2/ index.html#source_maps/source_maps.SpanFormatException)
7
1 ## 0.0.2 8 ## 0.0.2
2 9
3 * `new StringScanner()` now takes an optional `sourceUrl` argument that provides 10 * `new StringScanner()` now takes an optional `sourceUrl` argument that provides
4 the URL of the source file. This is used for error reporting. 11 the URL of the source file. This is used for error reporting.
5 12
6 * Add `StringScanner.readChar()` and `StringScanner.peekChar()` methods for 13 * Add `StringScanner.readChar()` and `StringScanner.peekChar()` methods for
7 doing character-by-character scanning. 14 doing character-by-character scanning.
8 15
9 * Scanners now throw `StringScannerException`s which provide more detailed 16 * Scanners now throw `StringScannerException`s which provide more detailed
10 access to information about the errors that were thrown and can provide 17 access to information about the errors that were thrown and can provide
11 terminal-colored messages. 18 terminal-colored messages.
12 19
13 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line 20 * Add a `LineScanner` subclass of `StringScanner` that automatically tracks line
14 and column information of the text being scanned. 21 and column information of the text being scanned.
15 22
16 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as 23 * Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as
17 [source map][] `Span` objects. 24 [source map][] `Span` objects.
18 25
19 [source_map]: http://pub.dartlang.org/packages/source_maps 26 [source_map]: http://pub.dartlang.org/packages/source_maps
OLDNEW
« no previous file with comments | « no previous file | pkg/string_scanner/lib/src/exception.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698