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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 @override | 474 @override |
475 R errorUndefinedUnaryExpression( | 475 R errorUndefinedUnaryExpression( |
476 Send node, | 476 Send node, |
477 Operator operator, | 477 Operator operator, |
478 Node expression, | 478 Node expression, |
479 ResolvedKindVisitor<R> visitor) { | 479 ResolvedKindVisitor<R> visitor) { |
480 return visitor.visitOperatorSend(node); | 480 return visitor.visitOperatorSend(node); |
481 } | 481 } |
482 | 482 |
483 @override | 483 @override |
484 R errorUnresolvedGet( | 484 R visitUnresolvedGet( |
485 Send node, | 485 Send node, |
486 Element element, | 486 Element element, |
487 ResolvedKindVisitor<R> visitor) { | 487 ResolvedKindVisitor<R> visitor) { |
488 return visitor.visitGetterSend(node); | 488 return visitor.visitGetterSend(node); |
489 } | 489 } |
490 | 490 |
491 @override | 491 @override |
492 R errorUnresolvedInvoke( | 492 R visitUnresolvedInvoke( |
493 Send node, | 493 Send node, |
494 Element element, | 494 Element element, |
495 NodeList arguments, | 495 NodeList arguments, |
496 Selector selector, | 496 Selector selector, |
497 ResolvedKindVisitor<R> visitor) { | 497 ResolvedKindVisitor<R> visitor) { |
498 return visitor.visitStaticSend(node); | 498 return visitor.visitStaticSend(node); |
499 } | 499 } |
500 | 500 |
501 @override | 501 @override |
502 R errorUnresolvedPostfix( | 502 R errorUnresolvedPostfix( |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 | 765 |
766 @override | 766 @override |
767 R visitSuperIndex( | 767 R visitSuperIndex( |
768 Send node, | 768 Send node, |
769 FunctionElement function, | 769 FunctionElement function, |
770 Node index, | 770 Node index, |
771 ResolvedKindVisitor<R> visitor) { | 771 ResolvedKindVisitor<R> visitor) { |
772 return visitor.visitSuperSend(node); | 772 return visitor.visitSuperSend(node); |
773 } | 773 } |
774 } | 774 } |
OLD | NEW |