| 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 Send node, | 599 Send node, |
| 600 NodeList arguments, | 600 NodeList arguments, |
| 601 Selector selector, | 601 Selector selector, |
| 602 ResolvedKindVisitor<R> visitor) { | 602 ResolvedKindVisitor<R> visitor) { |
| 603 return visitor.visitClosureSend(node); | 603 return visitor.visitClosureSend(node); |
| 604 } | 604 } |
| 605 | 605 |
| 606 @override | 606 @override |
| 607 R visitClassTypeLiteralGet( | 607 R visitClassTypeLiteralGet( |
| 608 Send node, | 608 Send node, |
| 609 TypeConstantExpression constant, | 609 ConstantExpression constant, |
| 610 ResolvedKindVisitor<R> visitor) { | 610 ResolvedKindVisitor<R> visitor) { |
| 611 return visitor.visitTypeLiteralSend(node); | 611 return visitor.visitTypeLiteralSend(node); |
| 612 } | 612 } |
| 613 | 613 |
| 614 @override | 614 @override |
| 615 R visitTypedefTypeLiteralGet( | 615 R visitTypedefTypeLiteralGet( |
| 616 Send node, | 616 Send node, |
| 617 TypeConstantExpression constant, | 617 ConstantExpression constant, |
| 618 ResolvedKindVisitor<R> visitor) { | 618 ResolvedKindVisitor<R> visitor) { |
| 619 return visitor.visitTypeLiteralSend(node); | 619 return visitor.visitTypeLiteralSend(node); |
| 620 } | 620 } |
| 621 | 621 |
| 622 @override | 622 @override |
| 623 R visitDynamicTypeLiteralGet( | 623 R visitDynamicTypeLiteralGet( |
| 624 Send node, | 624 Send node, |
| 625 TypeConstantExpression constant, | 625 ConstantExpression constant, |
| 626 ResolvedKindVisitor<R> visitor) { | 626 ResolvedKindVisitor<R> visitor) { |
| 627 return visitor.visitTypeLiteralSend(node); | 627 return visitor.visitTypeLiteralSend(node); |
| 628 } | 628 } |
| 629 | 629 |
| 630 @override | 630 @override |
| 631 R visitTypeVariableTypeLiteralGet( | 631 R visitTypeVariableTypeLiteralGet( |
| 632 Send node, | 632 Send node, |
| 633 TypeVariableElement element, | 633 TypeVariableElement element, |
| 634 ResolvedKindVisitor<R> visitor) { | 634 ResolvedKindVisitor<R> visitor) { |
| 635 return visitor.visitTypeLiteralSend(node); | 635 return visitor.visitTypeLiteralSend(node); |
| 636 } | 636 } |
| 637 | 637 |
| 638 @override | 638 @override |
| 639 R visitClassTypeLiteralInvoke( | 639 R visitClassTypeLiteralInvoke( |
| 640 Send node, | 640 Send node, |
| 641 TypeConstantExpression constant, | 641 ConstantExpression constant, |
| 642 NodeList arguments, | 642 NodeList arguments, |
| 643 Selector selector, | 643 Selector selector, |
| 644 ResolvedKindVisitor<R> visitor) { | 644 ResolvedKindVisitor<R> visitor) { |
| 645 return visitor.visitTypeLiteralSend(node); | 645 return visitor.visitTypeLiteralSend(node); |
| 646 } | 646 } |
| 647 | 647 |
| 648 @override | 648 @override |
| 649 R visitTypedefTypeLiteralInvoke( | 649 R visitTypedefTypeLiteralInvoke( |
| 650 Send node, | 650 Send node, |
| 651 TypeConstantExpression constant, | 651 ConstantExpression constant, |
| 652 NodeList arguments, | 652 NodeList arguments, |
| 653 Selector selector, | 653 Selector selector, |
| 654 ResolvedKindVisitor<R> visitor) { | 654 ResolvedKindVisitor<R> visitor) { |
| 655 return visitor.visitTypeLiteralSend(node); | 655 return visitor.visitTypeLiteralSend(node); |
| 656 } | 656 } |
| 657 | 657 |
| 658 @override | 658 @override |
| 659 R visitDynamicTypeLiteralInvoke( | 659 R visitDynamicTypeLiteralInvoke( |
| 660 Send node, | 660 Send node, |
| 661 TypeConstantExpression constant, | 661 ConstantExpression constant, |
| 662 NodeList arguments, | 662 NodeList arguments, |
| 663 Selector selector, | 663 Selector selector, |
| 664 ResolvedKindVisitor<R> visitor) { | 664 ResolvedKindVisitor<R> visitor) { |
| 665 return visitor.visitTypeLiteralSend(node); | 665 return visitor.visitTypeLiteralSend(node); |
| 666 } | 666 } |
| 667 | 667 |
| 668 @override | 668 @override |
| 669 R visitTypeVariableTypeLiteralInvoke( | 669 R visitTypeVariableTypeLiteralInvoke( |
| 670 Send node, | 670 Send node, |
| 671 TypeVariableElement element, | 671 TypeVariableElement element, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 695 | 695 |
| 696 @override | 696 @override |
| 697 R errorUnresolvedSuperIndex( | 697 R errorUnresolvedSuperIndex( |
| 698 Send node, | 698 Send node, |
| 699 Element function, | 699 Element function, |
| 700 Node index, | 700 Node index, |
| 701 ResolvedKindVisitor<R> visitor) { | 701 ResolvedKindVisitor<R> visitor) { |
| 702 return visitor.visitSuperSend(node); | 702 return visitor.visitSuperSend(node); |
| 703 } | 703 } |
| 704 } | 704 } |
| OLD | NEW |