Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Side by Side Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 1238783003: Handle deferred access as pre-step in SemanticSendVisitor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 } 549 }
550 550
551 bool isAssert(Send node) { 551 bool isAssert(Send node) {
552 return mapping.isAssert(node); 552 return mapping.isAssert(node);
553 } 553 }
554 554
555 void registerSendStructure(Send node, SendStructure sendStructure) { 555 void registerSendStructure(Send node, SendStructure sendStructure) {
556 mapping.setSendStructure(node, sendStructure); 556 mapping.setSendStructure(node, sendStructure);
557 } 557 }
558 558
559 // TODO(johnniwinther): Remove this when [SendStructure]s are part of the
560 // [ResolutionResult].
561 SendStructure getSendStructure(Send node) {
562 return mapping.getSendStructure(node);
563 }
564
559 void registerAsyncMarker(FunctionElement element) { 565 void registerAsyncMarker(FunctionElement element) {
560 backend.registerAsyncMarker(element, world, this); 566 backend.registerAsyncMarker(element, world, this);
561 } 567 }
562 568
563 void registerAsyncForIn(AsyncForIn node) { 569 void registerAsyncForIn(AsyncForIn node) {
564 backend.resolutionCallbacks.onAsyncForIn(node, this); 570 backend.resolutionCallbacks.onAsyncForIn(node, this);
565 } 571 }
566 } 572 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/resolution_result.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698