| 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.compile_time_constant_evaluator; | 5 library dart2js.compile_time_constant_evaluator; |
| 6 | 6 |
| 7 import 'common/tasks.dart' show |
| 8 CompilerTask; |
| 9 import 'compiler.dart' show |
| 10 Compiler; |
| 7 import 'constant_system_dart.dart'; | 11 import 'constant_system_dart.dart'; |
| 8 import 'constants/constant_system.dart'; | 12 import 'constants/constant_system.dart'; |
| 9 import 'constants/evaluation.dart'; | 13 import 'constants/evaluation.dart'; |
| 10 import 'constants/expressions.dart'; | 14 import 'constants/expressions.dart'; |
| 11 import 'constants/values.dart'; | 15 import 'constants/values.dart'; |
| 12 import 'dart_types.dart'; | 16 import 'dart_types.dart'; |
| 13 import 'dart2jslib.dart' show | 17 import 'diagnostics/invariant.dart' show |
| 14 Compiler, | |
| 15 CompilerTask, | |
| 16 invariant; | 18 invariant; |
| 17 import 'enqueue.dart' show | 19 import 'enqueue.dart' show |
| 18 WorldImpact; | 20 WorldImpact; |
| 19 import 'elements/elements.dart'; | 21 import 'elements/elements.dart'; |
| 20 import 'elements/modelx.dart' show FunctionElementX; | 22 import 'elements/modelx.dart' show FunctionElementX; |
| 21 import 'messages.dart' show MessageKind; | 23 import 'messages.dart' show MessageKind; |
| 22 import 'resolution/resolution.dart'; | 24 import 'resolution/resolution.dart'; |
| 23 import 'resolution/operators.dart'; | 25 import 'resolution/operators.dart'; |
| 24 import 'tree/tree.dart'; | 26 import 'tree/tree.dart'; |
| 25 import 'util/util.dart' show Link; | 27 import 'util/util.dart' show Link; |
| (...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1259 class _CompilerEnvironment implements Environment { | 1261 class _CompilerEnvironment implements Environment { |
| 1260 final Compiler compiler; | 1262 final Compiler compiler; |
| 1261 | 1263 |
| 1262 _CompilerEnvironment(this.compiler); | 1264 _CompilerEnvironment(this.compiler); |
| 1263 | 1265 |
| 1264 @override | 1266 @override |
| 1265 String readFromEnvironment(String name) { | 1267 String readFromEnvironment(String name) { |
| 1266 return compiler.fromEnvironment(name); | 1268 return compiler.fromEnvironment(name); |
| 1267 } | 1269 } |
| 1268 } | 1270 } |
| OLD | NEW |