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

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

Issue 2862163003: Move resolution/operators.dart to elements/operators.dart (Closed)
Patch Set: Created 3 years, 7 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 '../elements/elements.dart';
10 import '../elements/operators.dart';
9 import '../elements/resolution_types.dart'; 11 import '../elements/resolution_types.dart';
10 import '../elements/elements.dart';
11 import '../resolution/tree_elements.dart' show TreeElements; 12 import '../resolution/tree_elements.dart' show TreeElements;
12 import '../tree/tree.dart'; 13 import '../tree/tree.dart';
13 import '../universe/call_structure.dart' show CallStructure; 14 import '../universe/call_structure.dart' show CallStructure;
14 import '../universe/selector.dart' show Selector; 15 import '../universe/selector.dart' show Selector;
15 import 'access_semantics.dart'; 16 import 'access_semantics.dart';
16 import 'operators.dart';
17 import 'semantic_visitor.dart'; 17 import 'semantic_visitor.dart';
18 18
19 /// 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]
20 /// node. 20 /// node.
21 abstract class SemanticSendStructure<R, A> { 21 abstract class SemanticSendStructure<R, A> {
22 /// Calls the matching visit method on [visitor] with [node] and [arg]. 22 /// Calls the matching visit method on [visitor] with [node] and [arg].
23 R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg); 23 R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg);
24 } 24 }
25 25
26 enum SendStructureKind { 26 enum SendStructureKind {
(...skipping 2488 matching lines...) Expand 10 before | Expand all | Expand 10 after
2515 ThisConstructorInvokeStructure( 2515 ThisConstructorInvokeStructure(
2516 this.node, this.constructor, this.callStructure); 2516 this.node, this.constructor, this.callStructure);
2517 2517
2518 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) { 2518 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) {
2519 return visitor.visitThisConstructorInvoke( 2519 return visitor.visitThisConstructorInvoke(
2520 node, constructor, node.argumentsNode, callStructure, arg); 2520 node, constructor, node.argumentsNode, callStructure, arg);
2521 } 2521 }
2522 2522
2523 bool get isConstructorInvoke => true; 2523 bool get isConstructorInvoke => true;
2524 } 2524 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/semantic_visitor.dart ('k') | pkg/compiler/lib/src/serialization/constant_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698