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

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

Issue 1880323002: dart2js cleanup: remove unused imports and variables (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge master Created 4 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../dart_types.dart';
8 import '../elements/elements.dart' show ConstructorElement, 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,
18 } 18 }
(...skipping 216 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.getText()}"); 240 sb.write("'constructor': ${targetConstructorInvocation.getText()}");
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/compiler.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698