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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.dart

Issue 11867024: Move some core classes to collection library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with bug number. Created 7 years, 11 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 library mirrors_util; 5 library mirrors_util;
6 6
7 import 'dart:collection' show Queue;
8
7 // TODO(rnystrom): Use "package:" URL (#4968). 9 // TODO(rnystrom): Use "package:" URL (#4968).
8 import 'mirrors.dart'; 10 import 'mirrors.dart';
9 11
10 //------------------------------------------------------------------------------ 12 //------------------------------------------------------------------------------
11 // Utility functions for using the Mirror API 13 // Utility functions for using the Mirror API
12 //------------------------------------------------------------------------------ 14 //------------------------------------------------------------------------------
13 15
14 /** 16 /**
15 * Returns an iterable over the type declarations directly inheriting from 17 * Returns an iterable over the type declarations directly inheriting from
16 * the declaration of this type. 18 * the declaration of this type.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // * Foo 152 // * Foo
151 // */ 153 // */
152 // as "\nFoo\n" and not as "\nFoo\n ". 154 // as "\nFoo\n" and not as "\nFoo\n ".
153 sb.add(line); 155 sb.add(line);
154 } 156 }
155 } 157 }
156 return sb.toString(); 158 return sb.toString();
157 } 159 }
158 throw new ArgumentError('Invalid comment $comment'); 160 throw new ArgumentError('Invalid comment $comment');
159 } 161 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698