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

Side by Side Diff: tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart

Issue 1278353003: Handle more unqualified SendSets (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
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test_send_data.dart ('k') | no next file » | 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) 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 part of dart2js.semantics_visitor_test; 5 part of dart2js.semantics_visitor_test;
6 6
7 class SemanticSendTestVisitor extends SemanticTestVisitor { 7 class SemanticSendTestVisitor extends SemanticTestVisitor {
8 8
9 SemanticSendTestVisitor(TreeElements elements) : super(elements); 9 SemanticSendTestVisitor(TreeElements elements) : super(elements);
10 10
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 constant: constant.getText(), arguments: arguments)); 373 constant: constant.getText(), arguments: arguments));
374 } 374 }
375 375
376 @override 376 @override
377 visitDynamicTypeLiteralSet( 377 visitDynamicTypeLiteralSet(
378 Send node, 378 Send node,
379 ConstantExpression constant, 379 ConstantExpression constant,
380 Node rhs, 380 Node rhs,
381 arg) { 381 arg) {
382 visits.add(new Visit(VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, 382 visits.add(new Visit(VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET,
383 rhs: rhs)); 383 constant: constant.getText(), rhs: rhs));
384 super.visitDynamicTypeLiteralSet(node, constant, rhs, arg); 384 super.visitDynamicTypeLiteralSet(node, constant, rhs, arg);
385 } 385 }
386 386
387 @override 387 @override
388 visitExpressionInvoke( 388 visitExpressionInvoke(
389 Send node, 389 Send node,
390 Node expression, 390 Node expression,
391 NodeList arguments, 391 NodeList arguments,
392 Selector selector, 392 Selector selector,
393 arg) { 393 arg) {
(...skipping 2720 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 } 3114 }
3115 3115
3116 @override 3116 @override
3117 previsitDeferredAccess( 3117 previsitDeferredAccess(
3118 Send node, 3118 Send node,
3119 PrefixElement prefix, 3119 PrefixElement prefix,
3120 arg) { 3120 arg) {
3121 visits.add(new Visit(VisitKind.PREVISIT_DEFERRED_ACCESS, element: prefix)); 3121 visits.add(new Visit(VisitKind.PREVISIT_DEFERRED_ACCESS, element: prefix));
3122 } 3122 }
3123 } 3123 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/semantic_visitor_test_send_data.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698