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

Side by Side Diff: pkg/compiler/lib/src/compile_time_constants.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) 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.dart';
8 import 'common/resolution.dart' show Resolution; 7 import 'common/resolution.dart' show Resolution;
9 import 'common/tasks.dart' show CompilerTask, Measurer; 8 import 'common/tasks.dart' show CompilerTask, Measurer;
9 import 'common.dart';
10 import 'compiler.dart' show Compiler; 10 import 'compiler.dart' show Compiler;
11 import 'constant_system_dart.dart'; 11 import 'constant_system_dart.dart';
12 import 'constants/constant_system.dart'; 12 import 'constants/constant_system.dart';
13 import 'constants/evaluation.dart'; 13 import 'constants/evaluation.dart';
14 import 'constants/expressions.dart'; 14 import 'constants/expressions.dart';
15 import 'constants/values.dart'; 15 import 'constants/values.dart';
16 import 'core_types.dart' show CoreTypes; 16 import 'core_types.dart' show CoreTypes;
17 import 'dart_types.dart'; 17 import 'dart_types.dart';
18 import 'elements/elements.dart'; 18 import 'elements/elements.dart';
19 import 'elements/modelx.dart' 19 import 'elements/modelx.dart'
20 show FieldElementX, FunctionElementX, ConstantVariableMixin; 20 show FieldElementX, FunctionElementX, ConstantVariableMixin;
21 import 'resolution/operators.dart';
21 import 'resolution/tree_elements.dart' show TreeElements; 22 import 'resolution/tree_elements.dart' show TreeElements;
22 import 'resolution/operators.dart';
23 import 'tree/tree.dart'; 23 import 'tree/tree.dart';
24 import 'universe/call_structure.dart' show CallStructure;
24 import 'util/util.dart' show Link; 25 import 'util/util.dart' show Link;
25 import 'universe/call_structure.dart' show CallStructure;
26 26
27 /// A [ConstantEnvironment] provides access for constants compiled for variable 27 /// A [ConstantEnvironment] provides access for constants compiled for variable
28 /// initializers. 28 /// initializers.
29 abstract class ConstantEnvironment { 29 abstract class ConstantEnvironment {
30 /// The [ConstantSystem] used by this environment. 30 /// The [ConstantSystem] used by this environment.
31 ConstantSystem get constantSystem; 31 ConstantSystem get constantSystem;
32 32
33 /// Returns `true` if a value has been computed for [expression]. 33 /// Returns `true` if a value has been computed for [expression].
34 bool hasConstantValue(ConstantExpression expression); 34 bool hasConstantValue(ConstantExpression expression);
35 35
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 class _CompilerEnvironment implements Environment { 1410 class _CompilerEnvironment implements Environment {
1411 final Compiler compiler; 1411 final Compiler compiler;
1412 1412
1413 _CompilerEnvironment(this.compiler); 1413 _CompilerEnvironment(this.compiler);
1414 1414
1415 @override 1415 @override
1416 String readFromEnvironment(String name) { 1416 String readFromEnvironment(String name) {
1417 return compiler.fromEnvironment(name); 1417 return compiler.fromEnvironment(name);
1418 } 1418 }
1419 } 1419 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/constants/constant_constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698