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

Unified Diff: pkg/analysis_services/lib/json.dart

Issue 407833002: more progress implementing analysis server code completion (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
Index: pkg/analysis_services/lib/json.dart
diff --git a/pkg/analysis_server/lib/src/collections.dart b/pkg/analysis_services/lib/json.dart
similarity index 53%
copy from pkg/analysis_server/lib/src/collections.dart
copy to pkg/analysis_services/lib/json.dart
index 1c5fefc17d7ce90dc79a66af4858d676e7a584c7..462bea826462b4aca0b825fd57be5404a2b50d11 100644
--- a/pkg/analysis_server/lib/src/collections.dart
+++ b/pkg/analysis_services/lib/json.dart
@@ -2,21 +2,7 @@
// 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.
-library collections;
-
-/**
- * Returns the concatentation of the input iterables.
- *
- * The returned iterable is a lazily-evaluated view on the input iterables.
- */
-Iterable concat(Iterable<Iterable> iterables) => iterables.expand((x) => x);
-
-
-/**
- * Returns the concatentation of the input iterables as a [List].
- */
-List concatToList(Iterable<Iterable> iterables) => concat(iterables).toList();
-
+library services.json;
/**
* Instances of the class [HasToJson] implement [toJson] method that returns

Powered by Google App Engine
This is Rietveld 408576698