| OLD | NEW |
| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 @override | 568 @override |
| 569 R visitIsNot( | 569 R visitIsNot( |
| 570 Send node, | 570 Send node, |
| 571 Node expression, | 571 Node expression, |
| 572 DartType type, | 572 DartType type, |
| 573 ResolvedKindVisitor<R> visitor) { | 573 ResolvedKindVisitor<R> visitor) { |
| 574 return visitor.visitOperatorSend(node); | 574 return visitor.visitOperatorSend(node); |
| 575 } | 575 } |
| 576 | 576 |
| 577 @override | 577 @override |
| 578 R visitIfNull( |
| 579 Send node, |
| 580 Node left, |
| 581 Node right, |
| 582 ResolvedKindVisitor<R> visitor) { |
| 583 return visitor.visitOperatorSend(node); |
| 584 } |
| 585 |
| 586 @override |
| 578 R visitLogicalAnd( | 587 R visitLogicalAnd( |
| 579 Send node, | 588 Send node, |
| 580 Node left, | 589 Node left, |
| 581 Node right, | 590 Node right, |
| 582 ResolvedKindVisitor<R> visitor) { | 591 ResolvedKindVisitor<R> visitor) { |
| 583 return visitor.visitOperatorSend(node); | 592 return visitor.visitOperatorSend(node); |
| 584 } | 593 } |
| 585 | 594 |
| 586 @override | 595 @override |
| 587 R visitLogicalOr( | 596 R visitLogicalOr( |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 R visitDynamicPropertyInvoke( | 631 R visitDynamicPropertyInvoke( |
| 623 Send node, | 632 Send node, |
| 624 Node receiver, | 633 Node receiver, |
| 625 NodeList arguments, | 634 NodeList arguments, |
| 626 Selector selector, | 635 Selector selector, |
| 627 ResolvedKindVisitor<R> visitor) { | 636 ResolvedKindVisitor<R> visitor) { |
| 628 return visitor.visitDynamicSend(node); | 637 return visitor.visitDynamicSend(node); |
| 629 } | 638 } |
| 630 | 639 |
| 631 @override | 640 @override |
| 641 R visitIfNotNullDynamicPropertyInvoke( |
| 642 Send node, |
| 643 Node receiver, |
| 644 NodeList arguments, |
| 645 Selector selector, |
| 646 ResolvedKindVisitor<R> visitor) { |
| 647 return visitor.visitDynamicSend(node); |
| 648 } |
| 649 |
| 650 @override |
| 632 R visitThisPropertyInvoke( | 651 R visitThisPropertyInvoke( |
| 633 Send node, | 652 Send node, |
| 634 NodeList arguments, | 653 NodeList arguments, |
| 635 Selector selector, | 654 Selector selector, |
| 636 ResolvedKindVisitor<R> visitor) { | 655 ResolvedKindVisitor<R> visitor) { |
| 637 return visitor.visitDynamicSend(node); | 656 return visitor.visitDynamicSend(node); |
| 638 } | 657 } |
| 639 | 658 |
| 640 @override | 659 @override |
| 641 R visitExpressionInvoke( | 660 R visitExpressionInvoke( |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 | 788 |
| 770 @override | 789 @override |
| 771 R visitSuperIndex( | 790 R visitSuperIndex( |
| 772 Send node, | 791 Send node, |
| 773 FunctionElement function, | 792 FunctionElement function, |
| 774 Node index, | 793 Node index, |
| 775 ResolvedKindVisitor<R> visitor) { | 794 ResolvedKindVisitor<R> visitor) { |
| 776 return visitor.visitSuperSend(node); | 795 return visitor.visitSuperSend(node); |
| 777 } | 796 } |
| 778 } | 797 } |
| OLD | NEW |