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

Side by Side Diff: pkg/compiler/lib/src/constants/expressions.dart

Issue 2862163003: Move resolution/operators.dart to elements/operators.dart (Closed)
Patch Set: Created 3 years, 7 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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.expressions; 5 library dart2js.constants.expressions;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../constants/constant_system.dart'; 8 import '../constants/constant_system.dart';
9 import '../common_elements.dart'; 9 import '../common_elements.dart';
10 import '../elements/entities.dart';
11 import '../elements/operators.dart';
10 import '../elements/types.dart'; 12 import '../elements/types.dart';
11 import '../elements/entities.dart';
12 import '../resolution/operators.dart';
13 import '../tree/dartstring.dart' show DartString; 13 import '../tree/dartstring.dart' show DartString;
14 import '../universe/call_structure.dart' show CallStructure; 14 import '../universe/call_structure.dart' show CallStructure;
15 import 'constructors.dart'; 15 import 'constructors.dart';
16 import 'evaluation.dart'; 16 import 'evaluation.dart';
17 import 'values.dart'; 17 import 'values.dart';
18 18
19 enum ConstantExpressionKind { 19 enum ConstantExpressionKind {
20 BINARY, 20 BINARY,
21 BOOL, 21 BOOL,
22 BOOL_FROM_ENVIRONMENT, 22 BOOL_FROM_ENVIRONMENT,
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1936 visit(exp.name); 1936 visit(exp.name);
1937 if (exp.defaultValue != null) { 1937 if (exp.defaultValue != null) {
1938 sb.write(', defaultValue: '); 1938 sb.write(', defaultValue: ');
1939 visit(exp.defaultValue); 1939 visit(exp.defaultValue);
1940 } 1940 }
1941 sb.write(')'); 1941 sb.write(')');
1942 } 1942 }
1943 1943
1944 String toString() => sb.toString(); 1944 String toString() => sb.toString();
1945 } 1945 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/constants/constant_system.dart ('k') | pkg/compiler/lib/src/elements/operators.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698