| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 R bulkHandleIndexSet(SendSet node, ResolvedKindVisitor<R> visitor) { | 382 R bulkHandleIndexSet(SendSet node, ResolvedKindVisitor<R> visitor) { |
| 383 return visitor.handleSendSet(node); | 383 return visitor.handleSendSet(node); |
| 384 } | 384 } |
| 385 | 385 |
| 386 @override | 386 @override |
| 387 R bulkHandleNew(NewExpression node, ResolvedKindVisitor<R> visitor) { | 387 R bulkHandleNew(NewExpression node, ResolvedKindVisitor<R> visitor) { |
| 388 return visitor.handleNewExpression(node); | 388 return visitor.handleNewExpression(node); |
| 389 } | 389 } |
| 390 | 390 |
| 391 @override | 391 @override |
| 392 void previsitDeferredAccess( |
| 393 Send node, |
| 394 PrefixElement prefix, |
| 395 ResolvedKindVisitor<R> visitor) { |
| 396 } |
| 397 |
| 398 @override |
| 392 R errorInvalidAssert( | 399 R errorInvalidAssert( |
| 393 Send node, | 400 Send node, |
| 394 NodeList arguments, | 401 NodeList arguments, |
| 395 ResolvedKindVisitor<R> visitor) { | 402 ResolvedKindVisitor<R> visitor) { |
| 396 return visitor.visitAssertSend(node); | 403 return visitor.visitAssertSend(node); |
| 397 } | 404 } |
| 398 | 405 |
| 399 @override | 406 @override |
| 400 R visitLocalFunctionPostfix( | 407 R visitLocalFunctionPostfix( |
| 401 Send node, | 408 Send node, |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 @override | 816 @override |
| 810 R visitLocalFunctionIncompatibleInvoke( | 817 R visitLocalFunctionIncompatibleInvoke( |
| 811 Send node, | 818 Send node, |
| 812 LocalFunctionElement function, | 819 LocalFunctionElement function, |
| 813 NodeList arguments, | 820 NodeList arguments, |
| 814 CallStructure callStructure, | 821 CallStructure callStructure, |
| 815 ResolvedKindVisitor<R> visitor) { | 822 ResolvedKindVisitor<R> visitor) { |
| 816 return visitor.visitClosureSend(node); | 823 return visitor.visitClosureSend(node); |
| 817 } | 824 } |
| 818 } | 825 } |
| OLD | NEW |