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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/string_helper.dart

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of _js_helper; 5 part of _js_helper;
6 6
7 class StringMatch implements Match { 7 class StringMatch implements Match {
8 const StringMatch(int this.start, 8 const StringMatch(int this.start,
9 String this.input, 9 String this.input,
10 String this.pattern); 10 String this.pattern);
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 } else { 206 } else {
207 checkNull(from); 207 checkNull(from);
208 // TODO(floitsch): implement generic String.replace (with patterns). 208 // TODO(floitsch): implement generic String.replace (with patterns).
209 throw "String.replace(Pattern) UNIMPLEMENTED"; 209 throw "String.replace(Pattern) UNIMPLEMENTED";
210 } 210 }
211 } 211 }
212 212
213 stringJoinUnchecked(array, separator) { 213 stringJoinUnchecked(array, separator) {
214 return JS('String', r'#.join(#)', array, separator); 214 return JS('String', r'#.join(#)', array, separator);
215 } 215 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/regexp_helper.dart ('k') | sdk/lib/_internal/compiler/js_lib/typed_data_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698