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

Side by Side Diff: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 IterableMixin; 7 import 'dart:collection' show IterableMixin;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
11 import '../constants/constant_system.dart'; 11 import '../constants/constant_system.dart';
12 import '../constants/expressions.dart'; 12 import '../constants/expressions.dart';
13 import '../dart_types.dart'; 13 import '../dart_types.dart';
14 import '../elements/elements.dart'; 14 import '../elements/elements.dart';
15 import '../resolution/operators.dart'; 15 import '../resolution/operators.dart';
16 import '../resolution/semantic_visitor.dart'; 16 import '../resolution/semantic_visitor.dart';
17 import '../resolution/tree_elements.dart' show TreeElements; 17 import '../resolution/tree_elements.dart' show TreeElements;
18 import '../tree/tree.dart'; 18 import '../tree/tree.dart';
19 import '../types/constants.dart' show computeTypeMask;
19 import '../types/types.dart' show TypeMask; 20 import '../types/types.dart' show TypeMask;
20 import '../types/constants.dart' show computeTypeMask;
21 import '../universe/call_structure.dart' show CallStructure; 21 import '../universe/call_structure.dart' show CallStructure;
22 import '../universe/selector.dart' show Selector; 22 import '../universe/selector.dart' show Selector;
23 import '../util/util.dart'; 23 import '../util/util.dart';
24 import '../world.dart' show ClassWorld; 24 import '../world.dart' show ClassWorld;
25 25
26 /** 26 /**
27 * The interface [InferrerVisitor] will use when working on types. 27 * The interface [InferrerVisitor] will use when working on types.
28 */ 28 */
29 abstract class TypeSystem<T> { 29 abstract class TypeSystem<T> {
30 T get dynamicType; 30 T get dynamicType;
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 return type; 1483 return type;
1484 } 1484 }
1485 1485
1486 T visitCascade(Cascade node) { 1486 T visitCascade(Cascade node) {
1487 // Ignore the result of the cascade send and return the type of the cascade 1487 // Ignore the result of the cascade send and return the type of the cascade
1488 // receiver. 1488 // receiver.
1489 visit(node.expression); 1489 visit(node.expression);
1490 return cascadeReceiverStack.removeLast(); 1490 return cascadeReceiverStack.removeLast();
1491 } 1491 }
1492 } 1492 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/inferrer/closure_tracer.dart ('k') | pkg/compiler/lib/src/inferrer/list_tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698