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

Side by Side Diff: lib/src/list_proxy.dart

Issue 10916294: switch html5lib to new pkg layout (Closed) Base URL: https://github.com/dart-lang/html5lib.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « lib/src/inputstream.dart ('k') | lib/src/token.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 // TODO(jmesserly): remove this once we have a subclassable growable list 1 // TODO(jmesserly): remove this once we have a subclassable growable list
2 // in our libraries. 2 // in our libraries.
3 3
4 /** A [List] proxy that you can subclass. */ 4 /** A [List] proxy that you can subclass. */
5 #library('list_proxy'); 5 #library('list_proxy');
6 6
7 /** 7 /**
8 * A [List<T>] proxy that you can subclass. 8 * A [List<T>] proxy that you can subclass.
9 */ 9 */
10 class ListProxy<T> implements List<T> { 10 class ListProxy<T> implements List<T> {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void clear() { _list.clear(); } 47 void clear() { _list.clear(); }
48 T removeLast() => _list.removeLast(); 48 T removeLast() => _list.removeLast();
49 void setRange(int start, int length, List<T> from, [int startFrom]) { 49 void setRange(int start, int length, List<T> from, [int startFrom]) {
50 _list.setRange(start, length, from, startFrom); 50 _list.setRange(start, length, from, startFrom);
51 } 51 }
52 void removeRange(int start, int length) { _list.removeRange(start, length); } 52 void removeRange(int start, int length) { _list.removeRange(start, length); }
53 void insertRange(int start, int length, [T initialValue]) { 53 void insertRange(int start, int length, [T initialValue]) {
54 _list.insertRange(start, length, initialValue); 54 _list.insertRange(start, length, initialValue);
55 } 55 }
56 } 56 }
OLDNEW
« no previous file with comments | « lib/src/inputstream.dart ('k') | lib/src/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698