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 dart2js.constants.values; | 5 library dart2js.constants.values; |
6 | 6 |
7 import '../core_types.dart'; | 7 import '../core_types.dart'; |
8 import '../dart_types.dart'; | 8 import '../dart_types.dart'; |
9 import '../dart2jslib.dart' | 9 import '../diagnostics/invariant.dart' |
10 show assertDebugMode; | 10 show assertDebugMode; |
11 import '../elements/elements.dart' | 11 import '../elements/elements.dart' |
12 show ClassElement, | 12 show ClassElement, |
13 Element, | 13 Element, |
14 FieldElement, | 14 FieldElement, |
15 FunctionElement, | 15 FunctionElement, |
16 PrefixElement; | 16 PrefixElement; |
17 import '../tree/tree.dart' hide unparse; | 17 import '../tree/tree.dart' hide unparse; |
18 import '../util/util.dart' show Hashing; | 18 import '../util/util.dart' show Hashing; |
19 | 19 |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 | 743 |
744 @override | 744 @override |
745 DartType getType(CoreTypes types) => const DynamicType(); | 745 DartType getType(CoreTypes types) => const DynamicType(); |
746 | 746 |
747 @override | 747 @override |
748 String toStructuredString() => 'NonConstant'; | 748 String toStructuredString() => 'NonConstant'; |
749 | 749 |
750 @override | 750 @override |
751 String unparse() => '>>non-constant<<'; | 751 String unparse() => '>>non-constant<<'; |
752 } | 752 } |
OLD | NEW |