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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.constructors; 5 library dart2js.constants.constructors;
6 6
7 import '../dart_types.dart'; 7 import '../elements/resolution_types.dart';
8 import '../elements/elements.dart' show FieldElement; 8 import '../elements/elements.dart' show FieldElement;
9 import '../universe/call_structure.dart' show CallStructure; 9 import '../universe/call_structure.dart' show CallStructure;
10 import '../util/util.dart'; 10 import '../util/util.dart';
11 import 'evaluation.dart'; 11 import 'evaluation.dart';
12 import 'expressions.dart'; 12 import 'expressions.dart';
13 13
14 enum ConstantConstructorKind { 14 enum ConstantConstructorKind {
15 GENERATIVE, 15 GENERATIVE,
16 REDIRECTING_GENERATIVE, 16 REDIRECTING_GENERATIVE,
17 REDIRECTING_FACTORY, 17 REDIRECTING_FACTORY,
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 String toString() { 237 String toString() {
238 StringBuffer sb = new StringBuffer(); 238 StringBuffer sb = new StringBuffer();
239 sb.write("{"); 239 sb.write("{");
240 sb.write("'constructor': ${targetConstructorInvocation.toDartText()}"); 240 sb.write("'constructor': ${targetConstructorInvocation.toDartText()}");
241 sb.write("}"); 241 sb.write("}");
242 return sb.toString(); 242 return sb.toString();
243 } 243 }
244 } 244 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/constants/constant_system.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698