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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11365196: Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two pending TODO's. Created 8 years, 1 month 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
OLDNEW
1 library html; 1 library html;
2 2
3 import 'dart:isolate'; 3 import 'dart:isolate';
4 import 'dart:json'; 4 import 'dart:json';
5 import 'dart:svg' as svg; 5 import 'dart:svg' as svg;
6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7 // for details. All rights reserved. Use of this source code is governed by a 7 // for details. All rights reserved. Use of this source code is governed by a
8 // BSD-style license that can be found in the LICENSE file. 8 // BSD-style license that can be found in the LICENSE file.
9 9
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 13629 matching lines...) Expand 10 before | Expand all | Expand 10 after
13640 13640
13641 /** @domName NodeIterator.previousNode */ 13641 /** @domName NodeIterator.previousNode */
13642 Node previousNode() native; 13642 Node previousNode() native;
13643 } 13643 }
13644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13645 // for details. All rights reserved. Use of this source code is governed by a 13645 // for details. All rights reserved. Use of this source code is governed by a
13646 // BSD-style license that can be found in the LICENSE file. 13646 // BSD-style license that can be found in the LICENSE file.
13647 13647
13648 13648
13649 // TODO(nweiz): when all implementations we target have the same name for the 13649 // TODO(nweiz): when all implementations we target have the same name for the
13650 // coreimpl implementation of List<E>, extend that rather than wrapping. 13650 // implementation of List<E>, extend that rather than wrapping.
13651 class _ListWrapper<E> implements List<E> { 13651 class _ListWrapper<E> implements List<E> {
13652 List _list; 13652 List _list;
13653 13653
13654 _ListWrapper(List this._list); 13654 _ListWrapper(List this._list);
13655 13655
13656 Iterator<E> iterator() => _list.iterator(); 13656 Iterator<E> iterator() => _list.iterator();
13657 13657
13658 bool contains(E element) => _list.contains(element); 13658 bool contains(E element) => _list.contains(element);
13659 13659
13660 void forEach(void f(E element)) => _list.forEach(f); 13660 void forEach(void f(E element)) => _list.forEach(f);
(...skipping 11183 matching lines...) Expand 10 before | Expand all | Expand 10 after
24844 if (length < 0) throw new ArgumentError('length'); 24844 if (length < 0) throw new ArgumentError('length');
24845 if (start < 0) throw new RangeError.value(start); 24845 if (start < 0) throw new RangeError.value(start);
24846 int end = start + length; 24846 int end = start + length;
24847 if (end > a.length) throw new RangeError.value(end); 24847 if (end > a.length) throw new RangeError.value(end);
24848 for (int i = start; i < end; i++) { 24848 for (int i = start; i < end; i++) {
24849 accumulator.add(a[i]); 24849 accumulator.add(a[i]);
24850 } 24850 }
24851 return accumulator; 24851 return accumulator;
24852 } 24852 }
24853 } 24853 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698