| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 | 387 |
| 388 @override | 388 @override |
| 389 R errorInvalidAssert( | 389 R errorInvalidAssert( |
| 390 Send node, | 390 Send node, |
| 391 NodeList arguments, | 391 NodeList arguments, |
| 392 ResolvedKindVisitor<R> visitor) { | 392 ResolvedKindVisitor<R> visitor) { |
| 393 return visitor.visitAssertSend(node); | 393 return visitor.visitAssertSend(node); |
| 394 } | 394 } |
| 395 | 395 |
| 396 @override | 396 @override |
| 397 R visitLocalFunctionPostfix( | 397 R errorLocalFunctionPostfix( |
| 398 Send node, | 398 Send node, |
| 399 LocalFunctionElement function, | 399 LocalFunctionElement function, |
| 400 op.IncDecOperator operator, | 400 op.IncDecOperator operator, |
| 401 ResolvedKindVisitor<R> visitor) { | 401 ResolvedKindVisitor<R> visitor) { |
| 402 return visitor.handleSendSet(node); | 402 return visitor.handleSendSet(node); |
| 403 } | 403 } |
| 404 | 404 |
| 405 @override | 405 @override |
| 406 R visitLocalFunctionPrefix( | 406 R errorLocalFunctionPrefix( |
| 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 errorStaticSetterGet( |
| 416 Send node, | 416 Send node, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 R visitUnresolvedInvoke( | 496 R visitUnresolvedInvoke( |
| 497 Send node, | 497 Send node, |
| 498 Element element, | 498 Element element, |
| 499 NodeList arguments, | 499 NodeList arguments, |
| 500 Selector selector, | 500 Selector selector, |
| 501 ResolvedKindVisitor<R> visitor) { | 501 ResolvedKindVisitor<R> visitor) { |
| 502 return visitor.visitStaticSend(node); | 502 return visitor.visitStaticSend(node); |
| 503 } | 503 } |
| 504 | 504 |
| 505 @override | 505 @override |
| 506 R visitUnresolvedPostfix( | 506 R errorUnresolvedPostfix( |
| 507 Send node, | 507 Send node, |
| 508 Element element, | 508 Element element, |
| 509 op.IncDecOperator operator, | 509 op.IncDecOperator operator, |
| 510 ResolvedKindVisitor<R> visitor) { | 510 ResolvedKindVisitor<R> visitor) { |
| 511 return visitor.handleSendSet(node); | 511 return visitor.handleSendSet(node); |
| 512 } | 512 } |
| 513 | 513 |
| 514 @override | 514 @override |
| 515 R visitUnresolvedPrefix( | 515 R errorUnresolvedPrefix( |
| 516 Send node, | 516 Send node, |
| 517 Element element, | 517 Element element, |
| 518 op.IncDecOperator operator, | 518 op.IncDecOperator operator, |
| 519 ResolvedKindVisitor<R> visitor) { | 519 ResolvedKindVisitor<R> visitor) { |
| 520 return visitor.handleSendSet(node); | 520 return visitor.handleSendSet(node); |
| 521 } | 521 } |
| 522 | 522 |
| 523 @override | 523 @override |
| 524 R visitAs( | 524 R visitAs( |
| 525 Send node, | 525 Send node, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| OLD | NEW |