| OLD | NEW |
| 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/resolution.dart' show Resolution; | 13 import '../common/resolution.dart' show Resolution; |
| 14 import '../constants/constructors.dart'; | 14 import '../constants/constructors.dart'; |
| 15 import '../constants/expressions.dart'; | 15 import '../constants/expressions.dart'; |
| 16 import '../dart_types.dart'; | 16 import '../elements/resolution_types.dart'; |
| 17 import '../elements/common.dart'; | 17 import '../elements/common.dart'; |
| 18 import '../elements/elements.dart'; | 18 import '../elements/elements.dart'; |
| 19 import '../elements/modelx.dart' show FunctionSignatureX; | 19 import '../elements/modelx.dart' show FunctionSignatureX; |
| 20 import '../elements/visitor.dart'; | 20 import '../elements/visitor.dart'; |
| 21 import '../io/source_file.dart'; | 21 import '../io/source_file.dart'; |
| 22 import '../ordered_typeset.dart'; | 22 import '../ordered_typeset.dart'; |
| 23 import '../resolution/class_members.dart' as class_members; | 23 import '../resolution/class_members.dart' as class_members; |
| 24 import '../resolution/scope.dart' show Scope; | 24 import '../resolution/scope.dart' show Scope; |
| 25 import '../resolution/tree_elements.dart' show TreeElements; | 25 import '../resolution/tree_elements.dart' show TreeElements; |
| 26 import '../script.dart'; | 26 import '../script.dart'; |
| (...skipping 2371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2398 } | 2398 } |
| 2399 | 2399 |
| 2400 @override | 2400 @override |
| 2401 Node get node => throw new UnsupportedError('${this}.node'); | 2401 Node get node => throw new UnsupportedError('${this}.node'); |
| 2402 | 2402 |
| 2403 @override | 2403 @override |
| 2404 bool get hasNode => false; | 2404 bool get hasNode => false; |
| 2405 | 2405 |
| 2406 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; | 2406 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; |
| 2407 } | 2407 } |
| OLD | NEW |