summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/AST.h
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-01-18 19:07:13 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-22 01:21:18 +0000
commit023968a489fdc281ec2bd7f1f04a8bc5a1065cbc (patch)
tree5d1bcf552709cc78ed3d5657fdabf4d526f6026d /Userland/Libraries/LibJS/AST.h
parent779e6774670632d5430244a5d3d7789f4942c161 (diff)
downloadserenity-023968a489fdc281ec2bd7f1f04a8bc5a1065cbc.zip
LibJS: Implement evaluation of im- and exports statements
Diffstat (limited to 'Userland/Libraries/LibJS/AST.h')
-rw-r--r--Userland/Libraries/LibJS/AST.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/AST.h b/Userland/Libraries/LibJS/AST.h
index 028e8aa1d4..52382b14f0 100644
--- a/Userland/Libraries/LibJS/AST.h
+++ b/Userland/Libraries/LibJS/AST.h
@@ -1344,6 +1344,8 @@ public:
StringView name() const { return m_class_expression->name(); }
private:
+ friend ExportStatement;
+
NonnullRefPtr<ClassExpression> m_class_expression;
};