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

Side by Side Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 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 4
5 /// Implementation of the element model used for deserialiation. 5 /// Implementation of the element model used for deserialiation.
6 /// 6 ///
7 /// These classes are created by [ElementDeserializer] triggered by the 7 /// These classes are created by [ElementDeserializer] triggered by the
8 /// [Deserializer]. 8 /// [Deserializer].
9 9
10 library dart2js.serialization.modelz; 10 library dart2js.serialization.modelz;
11 11
12 import '../common.dart'; 12 import '../common.dart';
13 import '../common/names.dart';
14 import '../common/resolution.dart' show Resolution; 13 import '../common/resolution.dart' show Resolution;
15 import '../constants/constructors.dart'; 14 import '../constants/constructors.dart';
16 import '../constants/expressions.dart'; 15 import '../constants/expressions.dart';
17 import '../dart_types.dart'; 16 import '../dart_types.dart';
18 import '../elements/common.dart'; 17 import '../elements/common.dart';
19 import '../elements/elements.dart'; 18 import '../elements/elements.dart';
20 import '../elements/modelx.dart' show FunctionSignatureX; 19 import '../elements/modelx.dart' show FunctionSignatureX;
21 import '../elements/visitor.dart'; 20 import '../elements/visitor.dart';
22 import '../io/source_file.dart'; 21 import '../io/source_file.dart';
23 import '../ordered_typeset.dart'; 22 import '../ordered_typeset.dart';
24 import '../resolution/class_members.dart' as class_members; 23 import '../resolution/class_members.dart' as class_members;
25 import '../resolution/scope.dart' show Scope; 24 import '../resolution/scope.dart' show Scope;
26 import '../resolution/tree_elements.dart' show TreeElements; 25 import '../resolution/tree_elements.dart' show TreeElements;
27 import '../script.dart'; 26 import '../script.dart';
28 import '../serialization/constant_serialization.dart'; 27 import '../serialization/constant_serialization.dart';
29 import '../tokens/token.dart' show Token; 28 import '../tokens/token.dart' show Token;
30 import '../tree/tree.dart'; 29 import '../tree/tree.dart';
31 import '../util/util.dart' show Link, LinkBuilder; 30 import '../util/util.dart' show Link, LinkBuilder;
32 import 'keys.dart'; 31 import 'keys.dart';
33 import 'serialization.dart'; 32 import 'serialization.dart';
34 import 'serialization_util.dart';
35 33
36 /// Compute a [Link] from an [Iterable]. 34 /// Compute a [Link] from an [Iterable].
37 Link toLink(Iterable iterable) { 35 Link toLink(Iterable iterable) {
38 LinkBuilder builder = new LinkBuilder(); 36 LinkBuilder builder = new LinkBuilder();
39 for (var element in iterable) { 37 for (var element in iterable) {
40 builder.addLast(element); 38 builder.addLast(element);
41 } 39 }
42 return builder.toLink(); 40 return builder.toLink();
43 } 41 }
44 42
(...skipping 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2391 } 2389 }
2392 2390
2393 @override 2391 @override
2394 Node get node => throw new UnsupportedError('${this}.node'); 2392 Node get node => throw new UnsupportedError('${this}.node');
2395 2393
2396 @override 2394 @override
2397 bool get hasNode => false; 2395 bool get hasNode => false;
2398 2396
2399 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; 2397 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})';
2400 } 2398 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698