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

Unified Diff: pkg/utf/lib/src/utf/utf32.dart

Issue 418433003: pkg/utf: fixed layout, added todos, updated docs and homepage pubspec links (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/utf/lib/src/utf/utf16.dart ('k') | pkg/utf/lib/src/utf/utf8.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/utf/lib/src/utf/utf32.dart
diff --git a/pkg/utf/lib/utf32.dart b/pkg/utf/lib/src/utf/utf32.dart
similarity index 97%
rename from pkg/utf/lib/utf32.dart
rename to pkg/utf/lib/src/utf/utf32.dart
index c481c81771c73bc250a9ba63f0a75dae058516e1..e51009d6bbac57f4afe2bf7885bcf66121918913 100644
--- a/pkg/utf/lib/utf32.dart
+++ b/pkg/utf/lib/src/utf/utf32.dart
@@ -195,8 +195,9 @@ class IterableUtf32Decoder extends IterableBase<int> {
/**
* Abstrace parent class converts encoded bytes to codepoints.
*/
-abstract class Utf32BytesDecoder implements _ListRangeIterator {
- final _ListRangeIterator utf32EncodedBytesIterator;
+abstract class Utf32BytesDecoder implements ListRangeIterator {
+ // TODO(kevmoo): should this field be private?
+ final ListRangeIterator utf32EncodedBytesIterator;
final int replacementCodepoint;
int _current = null;
@@ -286,7 +287,7 @@ class Utf32beBytesDecoder extends Utf32BytesDecoder {
int length, bool stripBom = true,
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) :
super._fromListRangeIterator(
- (new _ListRange(utf32EncodedBytes, offset, length)).iterator,
+ (new ListRange(utf32EncodedBytes, offset, length)).iterator,
replacementCodepoint) {
if (stripBom && hasUtf32beBom(utf32EncodedBytes, offset, length)) {
skip();
@@ -315,7 +316,7 @@ class Utf32leBytesDecoder extends Utf32BytesDecoder {
int length, bool stripBom = true,
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) :
super._fromListRangeIterator(
- (new _ListRange(utf32EncodedBytes, offset, length)).iterator,
+ (new ListRange(utf32EncodedBytes, offset, length)).iterator,
replacementCodepoint) {
if (stripBom && hasUtf32leBom(utf32EncodedBytes, offset, length)) {
skip();
« no previous file with comments | « pkg/utf/lib/src/utf/utf16.dart ('k') | pkg/utf/lib/src/utf/utf8.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698