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

Side by Side Diff: pkg/compiler/lib/src/resolved_visitor.dart

Issue 1146973002: Rename remaining runtime-error methods from errorX to visitX. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 | « pkg/compiler/lib/src/resolution/send_structure.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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; 5 part of dart2js;
6 6
7 /// Enum for the visit methods added in [ResolvedVisitor]. 7 /// Enum for the visit methods added in [ResolvedVisitor].
8 // TODO(johnniwinther): Remove this. 8 // TODO(johnniwinther): Remove this.
9 enum ResolvedKind { 9 enum ResolvedKind {
10 ASSERT, 10 ASSERT,
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 @override 405 @override
406 R visitLocalFunctionPrefix( 406 R visitLocalFunctionPrefix(
407 Send node, 407 Send node,
408 LocalFunctionElement function, 408 LocalFunctionElement function,
409 op.IncDecOperator operator, 409 op.IncDecOperator operator,
410 ResolvedKindVisitor<R> visitor) { 410 ResolvedKindVisitor<R> visitor) {
411 return visitor.handleSendSet(node); 411 return visitor.handleSendSet(node);
412 } 412 }
413 413
414 @override 414 @override
415 R errorStaticSetterGet( 415 R visitStaticSetterGet(
416 Send node, 416 Send node,
417 FunctionElement setter, 417 FunctionElement setter,
418 ResolvedKindVisitor<R> visitor) { 418 ResolvedKindVisitor<R> visitor) {
419 return visitor.visitGetterSend(node); 419 return visitor.visitGetterSend(node);
420 } 420 }
421 421
422 @override 422 @override
423 R errorStaticSetterInvoke( 423 R visitStaticSetterInvoke(
424 Send node, 424 Send node,
425 FunctionElement setter, 425 FunctionElement setter,
426 NodeList arguments, 426 NodeList arguments,
427 CallStructure callStructure, 427 CallStructure callStructure,
428 ResolvedKindVisitor<R> visitor) { 428 ResolvedKindVisitor<R> visitor) {
429 return visitor.visitStaticSend(node); 429 return visitor.visitStaticSend(node);
430 } 430 }
431 431
432 @override 432 @override
433 R errorSuperSetterGet( 433 R visitSuperSetterGet(
434 Send node, 434 Send node,
435 FunctionElement setter, 435 FunctionElement setter,
436 ResolvedKindVisitor<R> visitor) { 436 ResolvedKindVisitor<R> visitor) {
437 return visitor.visitGetterSend(node); 437 return visitor.visitGetterSend(node);
438 } 438 }
439 439
440 @override 440 @override
441 R errorSuperSetterInvoke( 441 R visitSuperSetterInvoke(
442 Send node, 442 Send node,
443 FunctionElement setter, 443 FunctionElement setter,
444 NodeList arguments, 444 NodeList arguments,
445 CallStructure callStructure, 445 CallStructure callStructure,
446 ResolvedKindVisitor<R> visitor) { 446 ResolvedKindVisitor<R> visitor) {
447 return visitor.visitSuperSend(node); 447 return visitor.visitSuperSend(node);
448 } 448 }
449 449
450 @override 450 @override
451 R errorTopLevelSetterGet( 451 R visitTopLevelSetterGet(
452 Send node, 452 Send node,
453 FunctionElement setter, 453 FunctionElement setter,
454 ResolvedKindVisitor<R> visitor) { 454 ResolvedKindVisitor<R> visitor) {
455 return visitor.visitGetterSend(node); 455 return visitor.visitGetterSend(node);
456 } 456 }
457 457
458 @override 458 @override
459 R errorTopLevelSetterInvoke( 459 R visitTopLevelSetterInvoke(
460 Send node, 460 Send node,
461 FunctionElement setter, 461 FunctionElement setter,
462 NodeList arguments, 462 NodeList arguments,
463 CallStructure callStructure, 463 CallStructure callStructure,
464 ResolvedKindVisitor<R> visitor) { 464 ResolvedKindVisitor<R> visitor) {
465 return visitor.visitStaticSend(node); 465 return visitor.visitStaticSend(node);
466 } 466 }
467 467
468 @override 468 @override
469 R errorUndefinedBinaryExpression( 469 R errorUndefinedBinaryExpression(
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 769
770 @override 770 @override
771 R visitSuperIndex( 771 R visitSuperIndex(
772 Send node, 772 Send node,
773 FunctionElement function, 773 FunctionElement function,
774 Node index, 774 Node index,
775 ResolvedKindVisitor<R> visitor) { 775 ResolvedKindVisitor<R> visitor) {
776 return visitor.visitSuperSend(node); 776 return visitor.visitSuperSend(node);
777 } 777 }
778 } 778 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698