| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 resolution; | 5 part of resolution; |
| 6 | 6 |
| 7 /// [ResolutionRegistry] collects all resolution information. It stores node | 7 /// [ResolutionRegistry] collects all resolution information. It stores node |
| 8 /// related information in a [TreeElements] mapping and registers calls with | 8 /// related information in a [TreeElements] mapping and registers calls with |
| 9 /// [Backend], [World] and [Enqueuer]. | 9 /// [Backend], [World] and [Enqueuer]. |
| 10 // TODO(johnniwinther): Split this into an interface and implementation class. | 10 // TODO(johnniwinther): Split this into an interface and implementation class. |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 backend.resolutionCallbacks.onAssert(node, this); | 365 backend.resolutionCallbacks.onAssert(node, this); |
| 366 } | 366 } |
| 367 | 367 |
| 368 bool isAssert(Send node) { | 368 bool isAssert(Send node) { |
| 369 return mapping.isAssert(node); | 369 return mapping.isAssert(node); |
| 370 } | 370 } |
| 371 | 371 |
| 372 void registerAsyncMarker(FunctionElement element) { | 372 void registerAsyncMarker(FunctionElement element) { |
| 373 backend.registerAsyncMarker(element, world, this); | 373 backend.registerAsyncMarker(element, world, this); |
| 374 } | 374 } |
| 375 |
| 376 void registerAsyncForIn(AsyncForIn node) { |
| 377 backend.resolutionCallbacks.onAsyncForIn(node, this); |
| 378 } |
| 375 } | 379 } |
| OLD | NEW |