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

Unified Diff: pkg/string_scanner/CHANGELOG.md

Issue 299973002: Add LineScanner and SpanScanner classes to string_scanner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: analyzer fixes Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/string_scanner/lib/src/exception.dart » ('j') | pkg/string_scanner/lib/src/exception.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/string_scanner/CHANGELOG.md
diff --git a/pkg/string_scanner/CHANGELOG.md b/pkg/string_scanner/CHANGELOG.md
new file mode 100644
index 0000000000000000000000000000000000000000..7f66c36a02c8b3b19023194bdb0ce7aa9ad13268
--- /dev/null
+++ b/pkg/string_scanner/CHANGELOG.md
@@ -0,0 +1,19 @@
+## 0.0.2
+
+* `new StringScanner` now takes an optional `sourceUrl` argument that provides
Bob Nystrom 2014/05/28 21:28:57 Nit, but a ctor call without () looks weird to me.
nweiz 2014/05/28 23:56:34 Done.
+ the URL of the source file. This is used for error reporting.
+
+* Add `StringScanner.readChar` and `StringScanner.peekChar` methods for doing
Bob Nystrom 2014/05/28 21:28:57 And here too, since otherwise a reader might think
nweiz 2014/05/28 23:56:34 Done.
+ character-by-character scanning.
+
+* Scanners now throw `StringScannerException`s which provide more detailed
+ access to information about the errors that were thrown and can provide
+ terminal-colored messages.
+
+* Add a `LineScanner` subclass of `StringScanner` that automatically tracks line
+ and column information of the text being scanned.
+
+* Add a `SpanScanner` subclass of `LineScanner` that exposes matched ranges as
+ [source map][] `Span` objects.
+
+[source_map]: http://pub.dartlang.org/packages/source_maps
« no previous file with comments | « no previous file | pkg/string_scanner/lib/src/exception.dart » ('j') | pkg/string_scanner/lib/src/exception.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698