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

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

Issue 918893003: Revert "Remove implicit dependencies." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 backend.resolutionCallbacks.onAssert(node, this); 364 backend.resolutionCallbacks.onAssert(node, this);
365 } 365 }
366 366
367 bool isAssert(Send node) { 367 bool isAssert(Send node) {
368 return mapping.isAssert(node); 368 return mapping.isAssert(node);
369 } 369 }
370 370
371 void registerAsyncMarker(FunctionElement element) { 371 void registerAsyncMarker(FunctionElement element) {
372 backend.registerAsyncMarker(element, world, this); 372 backend.registerAsyncMarker(element, world, this);
373 } 373 }
374
375 void registerLiteralInt() {
376 backend.resolutionCallbacks.onLiteralInt(this);
377 }
378
379 void registerLiteralDouble() {
380 backend.resolutionCallbacks.onLiteralDouble(this);
381 }
382
383 void registerLiteralBool() {
384 backend.resolutionCallbacks.onLiteralBool(this);
385 }
386
387 void registerLiteralString() {
388 backend.resolutionCallbacks.onLiteralString(this);
389 }
390
391 void registerLiteralNull() {
392 backend.resolutionCallbacks.onLiteralNull(this);
393 }
394
395 void registerLiteralSymbol(String name) {
396 backend.resolutionCallbacks.onLiteralSymbol(this);
397 registerConstSymbol(name);
398 }
399
400 void registerLiteralFunction() {
401 backend.resolutionCallbacks.onLiteralFunction(this);
402 }
403 } 374 }
OLDNEW
« no previous file with comments | « dart/pkg/compiler/lib/src/resolution/members.dart ('k') | dart/tests/compiler/dart2js/mock_libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698