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

Unified Diff: runtime/lib/string_base.dart

Issue 12094056: Runes, a bi-directional code-point iterator/iterable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make rawIndex return null if there is no current rune. Created 7 years, 10 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 | sdk/lib/_collection_dev/iterable.dart » ('j') | tests/corelib/string_runes_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/string_base.dart
diff --git a/runtime/lib/string_base.dart b/runtime/lib/string_base.dart
index c4c62d819e221b3e1dcad260f454a14534aea2fc..2a777c2b7a59530f43479b98a8f6310141c8e23e 100644
--- a/runtime/lib/string_base.dart
+++ b/runtime/lib/string_base.dart
@@ -437,9 +437,7 @@ class _StringBase {
throw new UnimplementedError("String.codeUnits");
}
- Iterable<int> get runes {
- throw new UnimplementedError("String.runes");
- }
+ Runes get runes => new Runes(this);
String toUpperCase() native "String_toUpperCase";
« no previous file with comments | « no previous file | sdk/lib/_collection_dev/iterable.dart » ('j') | tests/corelib/string_runes_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698