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

Unified Diff: corelib/src/implementation/string.dart

Issue 10883052: Unify String. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing file. Created 8 years, 4 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
Index: corelib/src/implementation/string.dart
diff --git a/corelib/src/implementation/string.dart b/corelib/src/implementation/string.dart
new file mode 100644
index 0000000000000000000000000000000000000000..83f3d0de33477d27d76b93df25f9e2dd3709b349
--- /dev/null
+++ b/corelib/src/implementation/string.dart
@@ -0,0 +1,15 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+class StringImplementation {
+ /**
+ * Factory implementation of String.fromCharCodes:
+ * Allocates a new String for the specified [charCodes].
+ */
+ factory String.fromCharCodes(List<int> charCodes) {
+ return _fromCharCodes(charCodes);
+ }
+
+ external static String _fromCharCodes(List<int> charCodes);
+}

Powered by Google App Engine
This is Rietveld 408576698