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

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

Issue 2669363004: Set fileUri when creating library builders. (Closed)
Patch Set: Created 3 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
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 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'package:kernel/ast.dart' show 10 import 'package:kernel/ast.dart' show
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return internalError("not implemented."); 57 return internalError("not implemented.");
58 } 58 }
59 59
60 Future<Null> writeOutline(Uri uri) async { 60 Future<Null> writeOutline(Uri uri) async {
61 if (loader.input == null) return null; 61 if (loader.input == null) return null;
62 await loader.buildOutlines(); 62 await loader.buildOutlines();
63 isLoaded = true; 63 isLoaded = true;
64 return null; 64 return null;
65 } 65 }
66 66
67 DillLibraryBuilder createLibraryBuilder(Uri uri) { 67 DillLibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri) {
68 return new DillLibraryBuilder(uri, loader); 68 return new DillLibraryBuilder(uri, loader);
69 } 69 }
70 70
71 void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set) { 71 void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set) {
72 } 72 }
73 73
74 List<ClassBuilder> collectAllClasses() { 74 List<ClassBuilder> collectAllClasses() {
75 return null; 75 return null;
76 } 76 }
77 77
78 void breakCycle(ClassBuilder cls) { 78 void breakCycle(ClassBuilder cls) {
79 } 79 }
80 80
81 Class get objectClass { 81 Class get objectClass {
82 KernelClassBuilder builder = loader.coreLibrary.exports["Object"]; 82 KernelClassBuilder builder = loader.coreLibrary.exports["Object"];
83 return builder.cls; 83 return builder.cls;
84 } 84 }
85 } 85 }
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_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698