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

Side by Side Diff: pkg/compiler/lib/src/resolution/send_structure.dart

Issue 2223133003: pkg/compiler: clean up 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) 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.resolution.send_structure; 5 library dart2js.resolution.send_structure;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
11 import '../resolution/tree_elements.dart' show TreeElements; 11 import '../resolution/tree_elements.dart' show TreeElements;
12 import '../tree/tree.dart'; 12 import '../tree/tree.dart';
13 import '../universe/call_structure.dart' show CallStructure; 13 import '../universe/call_structure.dart' show CallStructure;
14 import '../universe/selector.dart' show Selector; 14 import '../universe/selector.dart' show Selector;
15
16 import 'access_semantics.dart'; 15 import 'access_semantics.dart';
17 import 'operators.dart'; 16 import 'operators.dart';
18 import 'semantic_visitor.dart'; 17 import 'semantic_visitor.dart';
19 18
20 /// Interface for the structure of the semantics of a [Send] or [NewExpression] 19 /// Interface for the structure of the semantics of a [Send] or [NewExpression]
21 /// node. 20 /// node.
22 abstract class SemanticSendStructure<R, A> { 21 abstract class SemanticSendStructure<R, A> {
23 /// Calls the matching visit method on [visitor] with [node] and [arg]. 22 /// Calls the matching visit method on [visitor] with [node] and [arg].
24 R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg); 23 R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg);
25 } 24 }
(...skipping 2484 matching lines...) Expand 10 before | Expand all | Expand 10 after
2510 ThisConstructorInvokeStructure( 2509 ThisConstructorInvokeStructure(
2511 this.node, this.constructor, this.callStructure); 2510 this.node, this.constructor, this.callStructure);
2512 2511
2513 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) { 2512 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) {
2514 return visitor.visitThisConstructorInvoke( 2513 return visitor.visitThisConstructorInvoke(
2515 node, constructor, node.argumentsNode, callStructure, arg); 2514 node, constructor, node.argumentsNode, callStructure, arg);
2516 } 2515 }
2517 2516
2518 bool get isConstructorInvoke => true; 2517 bool get isConstructorInvoke => true;
2519 } 2518 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_resolver.dart ('k') | pkg/compiler/lib/src/resolution/tree_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698