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

Side by Side Diff: pkg/front_end/lib/src/fasta/dill/dill_target.dart

Issue 3009573002: Serialize exports scopes. (Closed)
Patch Set: Update status file for rasta/export.dart Created 3 years, 3 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library fasta.dill_target; 5 library fasta.dill_target;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'package:kernel/ast.dart' show Class; 9 import 'package:kernel/ast.dart' show Class;
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 @override 45 @override
46 Future<Null> buildProgram() { 46 Future<Null> buildProgram() {
47 return new Future<Null>.sync(() => unsupported("buildProgram", -1, null)); 47 return new Future<Null>.sync(() => unsupported("buildProgram", -1, null));
48 } 48 }
49 49
50 @override 50 @override
51 Future<Null> buildOutlines() async { 51 Future<Null> buildOutlines() async {
52 if (loader.libraries.isNotEmpty) { 52 if (loader.libraries.isNotEmpty) {
53 await loader.buildOutlines(); 53 await loader.buildOutlines();
54 loader.finalizeExports();
54 } 55 }
55 isLoaded = true; 56 isLoaded = true;
56 } 57 }
57 58
58 DillLibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri, bool isPatch) { 59 DillLibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri, bool isPatch) {
59 assert(!isPatch); 60 assert(!isPatch);
60 return new DillLibraryBuilder(uri, loader); 61 return new DillLibraryBuilder(uri, loader);
61 } 62 }
62 63
63 void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set) {} 64 void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set) {}
64 65
65 List<ClassBuilder> collectAllClasses() { 66 List<ClassBuilder> collectAllClasses() {
66 return null; 67 return null;
67 } 68 }
68 69
69 void breakCycle(ClassBuilder cls) {} 70 void breakCycle(ClassBuilder cls) {}
70 71
71 Class get objectClass => loader.coreLibrary["Object"].target; 72 Class get objectClass => loader.coreLibrary["Object"].target;
72 } 73 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/dill/dill_loader.dart ('k') | pkg/front_end/lib/src/fasta/kernel/kernel_invalid_type_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698