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

Side by Side Diff: packages/initialize/lib/src/static_loader.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library initialize.static_loader; 4 library initialize.static_loader;
5 5
6 import 'dart:collection' show Queue; 6 import 'dart:collection' show Queue;
7 import 'package:initialize/initialize.dart'; 7 import 'package:initialize/initialize.dart';
8 8
9 /// This represents an annotation/declaration pair. 9 /// This represents an annotation/declaration pair.
10 class InitEntry<T> { 10 class InitEntry<T> {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 }; 42 };
43 43
44 result.addAll(initializers 44 result.addAll(initializers
45 .where(matchesFilters) 45 .where(matchesFilters)
46 .map((i) => () => i.meta.initialize(i.target))); 46 .map((i) => () => i.meta.initialize(i.target)));
47 47
48 initializers.removeWhere(matchesFilters); 48 initializers.removeWhere(matchesFilters);
49 49
50 return result; 50 return result;
51 } 51 }
OLDNEW
« no previous file with comments | « packages/initialize/lib/src/mirror_loader.dart ('k') | packages/initialize/lib/transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698