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

Side by Side Diff: pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart

Issue 742023002: Handle named and optional arguments in cps-ir. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix formatting Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/universe/universe.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 tree_ir_nodes; 5 library tree_ir_nodes;
6 6
7 import '../constants/expressions.dart'; 7 import '../constants/expressions.dart';
8 import '../constants/values.dart' as values; 8 import '../constants/values.dart' as values;
9 import '../cps_ir/cps_ir_nodes.dart' as cps_ir; 9 import '../cps_ir/cps_ir_nodes.dart' as cps_ir;
10 import '../dart_types.dart' show DartType, GenericType; 10 import '../dart_types.dart' show DartType, GenericType;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 assert(receiver != null); 145 assert(receiver != null);
146 } 146 }
147 147
148 accept(ExpressionVisitor visitor) => visitor.visitInvokeMethod(this); 148 accept(ExpressionVisitor visitor) => visitor.visitInvokeMethod(this);
149 } 149 }
150 150
151 class InvokeSuperMethod extends Expression implements Invoke { 151 class InvokeSuperMethod extends Expression implements Invoke {
152 final Selector selector; 152 final Selector selector;
153 final List<Expression> arguments; 153 final List<Expression> arguments;
154 154
155 InvokeSuperMethod(this.selector, this.arguments) ; 155 InvokeSuperMethod(this.selector, this.arguments);
156 156
157 accept(ExpressionVisitor visitor) => visitor.visitInvokeSuperMethod(this); 157 accept(ExpressionVisitor visitor) => visitor.visitInvokeSuperMethod(this);
158 } 158 }
159 159
160 /** 160 /**
161 * Call to a factory or generative constructor. 161 * Call to a factory or generative constructor.
162 */ 162 */
163 class InvokeConstructor extends Expression implements Invoke { 163 class InvokeConstructor extends Expression implements Invoke {
164 final DartType type; 164 final DartType type;
165 final FunctionElement target; 165 final FunctionElement target;
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 visitFunctionDeclaration(FunctionDeclaration node) { 654 visitFunctionDeclaration(FunctionDeclaration node) {
655 visitFunctionDefinition(node.definition); 655 visitFunctionDefinition(node.definition);
656 visitStatement(node.next); 656 visitStatement(node.next);
657 } 657 }
658 658
659 visitExpressionStatement(ExpressionStatement node) { 659 visitExpressionStatement(ExpressionStatement node) {
660 visitExpression(node.expression); 660 visitExpression(node.expression);
661 visitStatement(node.next); 661 visitStatement(node.next);
662 } 662 }
663 } 663 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/universe/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698