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

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

Issue 1274073003: Refactor visitSendSet for super compounds and assignment. (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.semantics_visitor_test; 5 library dart2js.semantics_visitor_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:mirrors'; 8 import 'dart:mirrors';
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:expect/expect.dart'; 10 import 'package:expect/expect.dart';
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET, 200 VisitKind.VISIT_TYPE_VARIABLE_TYPE_LITERAL_SET,
201 VisitKind.VISIT_FINAL_PARAMETER_SET, 201 VisitKind.VISIT_FINAL_PARAMETER_SET,
202 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET, 202 VisitKind.VISIT_FINAL_LOCAL_VARIABLE_SET,
203 VisitKind.VISIT_LOCAL_FUNCTION_SET, 203 VisitKind.VISIT_LOCAL_FUNCTION_SET,
204 VisitKind.VISIT_STATIC_GETTER_SET, 204 VisitKind.VISIT_STATIC_GETTER_SET,
205 VisitKind.VISIT_FINAL_STATIC_FIELD_SET, 205 VisitKind.VISIT_FINAL_STATIC_FIELD_SET,
206 VisitKind.VISIT_STATIC_FUNCTION_SET, 206 VisitKind.VISIT_STATIC_FUNCTION_SET,
207 VisitKind.VISIT_FINAL_TOP_LEVEL_FIELD_SET, 207 VisitKind.VISIT_FINAL_TOP_LEVEL_FIELD_SET,
208 VisitKind.VISIT_TOP_LEVEL_GETTER_SET, 208 VisitKind.VISIT_TOP_LEVEL_GETTER_SET,
209 VisitKind.VISIT_TOP_LEVEL_FUNCTION_SET, 209 VisitKind.VISIT_TOP_LEVEL_FUNCTION_SET,
210 VisitKind.VISIT_FINAL_SUPER_FIELD_SET,
211 VisitKind.VISIT_SUPER_GETTER_SET,
212 VisitKind.VISIT_SUPER_METHOD_SET,
213 // The only undefined unary, `+`, is currently handled and skipped in the 210 // The only undefined unary, `+`, is currently handled and skipped in the
214 // parser. 211 // parser.
215 VisitKind.ERROR_UNDEFINED_UNARY_EXPRESSION, 212 VisitKind.ERROR_UNDEFINED_UNARY_EXPRESSION,
216 // Constant expression are currently not computed during resolution. 213 // Constant expression are currently not computed during resolution.
217 VisitKind.VISIT_CONSTANT_GET, 214 VisitKind.VISIT_CONSTANT_GET,
218 VisitKind.VISIT_CONSTANT_INVOKE, 215 VisitKind.VISIT_CONSTANT_INVOKE,
219 // TODO(johnniwinther): Test these when ResolverVisitor.visitSendSet has been 216 // TODO(johnniwinther): Test these when ResolverVisitor.visitSendSet has been
220 // rewritten. 217 // rewritten.
221 VisitKind.ERROR_INVALID_SET, 218 VisitKind.ERROR_INVALID_SET,
222 VisitKind.ERROR_INVALID_PREFIX, 219 VisitKind.ERROR_INVALID_PREFIX,
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 ERROR_INVALID_INDEX_SET, 728 ERROR_INVALID_INDEX_SET,
732 ERROR_INVALID_COMPOUND_INDEX_SET, 729 ERROR_INVALID_COMPOUND_INDEX_SET,
733 ERROR_INVALID_INDEX_PREFIX, 730 ERROR_INVALID_INDEX_PREFIX,
734 ERROR_INVALID_INDEX_POSTFIX, 731 ERROR_INVALID_INDEX_POSTFIX,
735 732
736 VISIT_CONSTANT_GET, 733 VISIT_CONSTANT_GET,
737 VISIT_CONSTANT_INVOKE, 734 VISIT_CONSTANT_INVOKE,
738 735
739 PREVISIT_DEFERRED_ACCESS, 736 PREVISIT_DEFERRED_ACCESS,
740 } 737 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698