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

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

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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.send_structure; 5 library dart2js.send_structure;
6 6
7 import 'access_semantics.dart'; 7 import 'access_semantics.dart';
8 import 'operators.dart'; 8 import 'operators.dart';
9 import 'semantic_visitor.dart'; 9 import 'semantic_visitor.dart';
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
11 import '../constants/expressions.dart'; 11 import '../constants/expressions.dart';
12 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
13 import '../tree/tree.dart'; 13 import '../tree/tree.dart';
14 import '../universe/universe.dart'; 14 import '../universe/universe.dart';
15 import '../util/util.dart'; 15 import '../diagnostics/spannable.dart' show
16 SpannableAssertionFailure;
16 17
17 /// Interface for the structure of the semantics of a [Send] or [NewExpression] 18 /// Interface for the structure of the semantics of a [Send] or [NewExpression]
18 /// node. 19 /// node.
19 abstract class SemanticSendStructure<R, A> { 20 abstract class SemanticSendStructure<R, A> {
20 /// Calls the matching visit method on [visitor] with [node] and [arg]. 21 /// Calls the matching visit method on [visitor] with [node] and [arg].
21 R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg); 22 R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg);
22 } 23 }
23 24
24 /// Interface for the structure of the semantics of a [Send] node. 25 /// Interface for the structure of the semantics of a [Send] node.
25 /// 26 ///
(...skipping 2725 matching lines...) Expand 10 before | Expand all | Expand 10 after
2751 ThisConstructorInvokeStructure( 2752 ThisConstructorInvokeStructure(
2752 this.node, this.constructor, this.callStructure); 2753 this.node, this.constructor, this.callStructure);
2753 2754
2754 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) { 2755 R dispatch(SemanticDeclarationVisitor<R, A> visitor, A arg) {
2755 return visitor.visitThisConstructorInvoke( 2756 return visitor.visitThisConstructorInvoke(
2756 node, constructor, node.argumentsNode, callStructure, arg); 2757 node, constructor, node.argumentsNode, callStructure, arg);
2757 } 2758 }
2758 2759
2759 bool get isConstructorInvoke => true; 2760 bool get isConstructorInvoke => true;
2760 } 2761 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/semantic_visitor.dart ('k') | pkg/compiler/lib/src/resolved_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698