| OLD | NEW |
| 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 // TODO(rnystrom): Use "package:" URL (#4968). | 7 // TODO(rnystrom): Use "package:" URL (#4968). |
| 8 import 'mirrors.dart'; | 8 import 'mirrors.dart'; |
| 9 | 9 |
| 10 //------------------------------------------------------------------------------ | 10 //------------------------------------------------------------------------------ |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 type = object; | 106 type = object; |
| 107 object = null; | 107 object = null; |
| 108 return type; | 108 return type; |
| 109 } else { | 109 } else { |
| 110 return push(queue.removeFirst()); | 110 return push(queue.removeFirst()); |
| 111 } | 111 } |
| 112 } | 112 } |
| 113 | 113 |
| 114 bool get hasNext => !queue.isEmpty || object != null; | 114 bool get hasNext => !queue.isEmpty || object != null; |
| 115 } | 115 } |
| OLD | NEW |