Index: src/ast/modules.h |
diff --git a/src/ast/modules.h b/src/ast/modules.h |
index 087b57426bcd8cc4031b8063d81534445e47e956..315f5281f724c90c1969c39182edb3876d5f3cd5 100644 |
--- a/src/ast/modules.h |
+++ b/src/ast/modules.h |
@@ -67,7 +67,6 @@ class ModuleDescriptor : public ZoneObject { |
PendingCompilationErrorHandler* error_handler, |
Zone* zone) const; |
- private: |
struct ModuleEntry : public ZoneObject { |
const Scanner::Location location; |
const AstRawString* export_name; |
@@ -83,6 +82,10 @@ class ModuleDescriptor : public ZoneObject { |
module_request(nullptr) {} |
}; |
+ const ZoneList<const ModuleEntry*>& exports() { return exports_; } |
+ const ZoneList<const ModuleEntry*>& imports() { return imports_; } |
+ |
+ private: |
ZoneList<const ModuleEntry*> exports_; |
ZoneList<const ModuleEntry*> imports_; |
}; |