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

Side by Side Diff: pkg/compiler/lib/src/inferrer/inferrer_visitor.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 inferrer_visitor; 5 library inferrer_visitor;
6 6
7 import 'dart:collection' show 7 import 'dart:collection' show
8 IterableMixin; 8 IterableMixin;
9 9
10 import '../common.dart';
10 import '../compiler.dart' show 11 import '../compiler.dart' show
11 Compiler; 12 Compiler;
12 import '../constants/constant_system.dart'; 13 import '../constants/constant_system.dart';
13 import '../constants/expressions.dart'; 14 import '../constants/expressions.dart';
14 import '../dart_types.dart'; 15 import '../dart_types.dart';
15 import '../diagnostics/diagnostic_listener.dart' show
16 DiagnosticReporter;
17 import '../diagnostics/spannable.dart' show
18 Spannable;
19 import '../elements/elements.dart'; 16 import '../elements/elements.dart';
20 import '../resolution/operators.dart'; 17 import '../resolution/operators.dart';
21 import '../resolution/semantic_visitor.dart'; 18 import '../resolution/semantic_visitor.dart';
22 import '../resolution/send_resolver.dart' show 19 import '../resolution/send_resolver.dart' show
23 SendResolverMixin; 20 SendResolverMixin;
24 import '../resolution/tree_elements.dart' show 21 import '../resolution/tree_elements.dart' show
25 TreeElements; 22 TreeElements;
26 import '../tree/tree.dart'; 23 import '../tree/tree.dart';
27 import '../types/types.dart' show 24 import '../types/types.dart' show
28 TypeMask; 25 TypeMask;
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 return type; 1535 return type;
1539 } 1536 }
1540 1537
1541 T visitCascade(Cascade node) { 1538 T visitCascade(Cascade node) {
1542 // Ignore the result of the cascade send and return the type of the cascade 1539 // Ignore the result of the cascade send and return the type of the cascade
1543 // receiver. 1540 // receiver.
1544 visit(node.expression); 1541 visit(node.expression);
1545 return cascadeReceiverStack.removeLast(); 1542 return cascadeReceiverStack.removeLast();
1546 } 1543 }
1547 } 1544 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/helpers/helpers.dart ('k') | pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698