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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 '../constants/constant_system.dart'; 8 import '../constants/constant_system.dart';
8 import '../core_types.dart'; 9 import '../core_types.dart';
9 import '../dart_types.dart'; 10 import '../dart_types.dart';
10 import '../diagnostics/invariant.dart' show
11 assertDebugMode;
12 import '../elements/elements.dart' show 11 import '../elements/elements.dart' show
13 ConstructorElement, 12 ConstructorElement,
14 Element, 13 Element,
15 FieldElement, 14 FieldElement,
16 FunctionElement, 15 FunctionElement,
17 PrefixElement, 16 PrefixElement,
18 VariableElement; 17 VariableElement;
19 import '../resolution/operators.dart'; 18 import '../resolution/operators.dart';
20 import '../tree/tree.dart' show 19 import '../tree/tree.dart' show
21 DartString; 20 DartString;
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 visit(exp.name); 1599 visit(exp.name);
1601 if (exp.defaultValue != null) { 1600 if (exp.defaultValue != null) {
1602 sb.write(', defaultValue: '); 1601 sb.write(', defaultValue: ');
1603 visit(exp.defaultValue); 1602 visit(exp.defaultValue);
1604 } 1603 }
1605 sb.write(')'); 1604 sb.write(')');
1606 } 1605 }
1607 1606
1608 String toString() => sb.toString(); 1607 String toString() => sb.toString();
1609 } 1608 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/constants/constant_constructors.dart ('k') | pkg/compiler/lib/src/constants/values.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698