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

Unified Diff: pkg/front_end/lib/src/fasta/builder/prefix_builder.dart

Issue 2788913002: Prepare for separate setter scope. (Closed)
Patch Set: Address comments. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/builder/prefix_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart b/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart
index 27d93ee054e09bf189651d8ab4aab12c689437da..9ea1c43fec502bcffada9ea998339411c6932b21 100644
--- a/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart
@@ -25,6 +25,10 @@ class PrefixBuilder extends Builder {
: parent = parent,
super(parent, charOffset, parent.fileUri);
+ Builder lookup(String name, int charOffset, Uri fileUri) {
+ return exports[name];
+ }
+
Member findTopLevelMember(String name) {
// TODO(ahe): Move this to KernelPrefixBuilder.
Builder builder = exports[name];

Powered by Google App Engine
This is Rietveld 408576698