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

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

Issue 1152013006: Test all methods in semantic_visitor_test. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | tests/compiler/dart2js/semantic_visitor_test.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) 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; 5 part of dart2js.semantics_visitor;
6 6
7 /// Interface for bulk handling of a [Node] in a semantic visitor. 7 /// Interface for bulk handling of a [Node] in a semantic visitor.
8 abstract class BulkHandle<R, A> { 8 abstract class BulkHandle<R, A> {
9 /// Handle [node] either regardless of semantics or to report that [node] is 9 /// Handle [node] either regardless of semantics or to report that [node] is
10 /// unhandled. [message] contains a message template for the latter case: 10 /// unhandled. [message] contains a message template for the latter case:
(...skipping 4060 matching lines...) Expand 10 before | Expand all | Expand 10 after
4071 return null; 4071 return null;
4072 } 4072 }
4073 4073
4074 @override 4074 @override
4075 R visitIfNotNullDynamicPropertySet( 4075 R visitIfNotNullDynamicPropertySet(
4076 SendSet node, 4076 SendSet node,
4077 Node receiver, 4077 Node receiver,
4078 Selector selector, 4078 Selector selector,
4079 Node rhs, 4079 Node rhs,
4080 A arg) { 4080 A arg) {
4081 apply(receiver, arg);
4081 apply(rhs, arg); 4082 apply(rhs, arg);
4082 return null; 4083 return null;
4083 } 4084 }
4084 4085
4085 @override 4086 @override
4086 R visitDynamicTypeLiteralCompound( 4087 R visitDynamicTypeLiteralCompound(
4087 Send node, 4088 Send node,
4088 ConstantExpression constant, 4089 ConstantExpression constant,
4089 AssignmentOperator operator, 4090 AssignmentOperator operator,
4090 Node rhs, 4091 Node rhs,
(...skipping 6614 matching lines...) Expand 10 before | Expand all | Expand 10 after
10705 NewExpression node, 10706 NewExpression node,
10706 ConstructorElement constructor, 10707 ConstructorElement constructor,
10707 InterfaceType type, 10708 InterfaceType type,
10708 NodeList arguments, 10709 NodeList arguments,
10709 CallStructure callStructure, 10710 CallStructure callStructure,
10710 A arg) { 10711 A arg) {
10711 return handleConstructorInvoke( 10712 return handleConstructorInvoke(
10712 node, constructor, type, arguments, callStructure, arg); 10713 node, constructor, type, arguments, callStructure, arg);
10713 } 10714 }
10714 } 10715 }
OLDNEW
« no previous file with comments | « no previous file | tests/compiler/dart2js/semantic_visitor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698