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 '../dart_types.dart'; | 7 import '../dart_types.dart'; |
8 import '../dart2jslib.dart' | 8 import '../dart2jslib.dart' |
9 show assertDebugMode, | 9 show assertDebugMode, |
10 Compiler; | 10 Compiler; |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 DartType computeType(Compiler compiler) => referenced.computeType(compiler); | 825 DartType computeType(Compiler compiler) => referenced.computeType(compiler); |
826 | 826 |
827 ti.TypeMask computeMask(Compiler compiler) { | 827 ti.TypeMask computeMask(Compiler compiler) { |
828 return referenced.computeMask(compiler); | 828 return referenced.computeMask(compiler); |
829 } | 829 } |
830 | 830 |
831 String unparse() => 'deferred(${referenced.unparse()})'; | 831 String unparse() => 'deferred(${referenced.unparse()})'; |
832 | 832 |
833 String toStructuredString() => 'DeferredConstant($referenced)'; | 833 String toStructuredString() => 'DeferredConstant($referenced)'; |
834 } | 834 } |
OLD | NEW |