summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/AST.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/AST.h')
-rw-r--r--Libraries/LibJS/AST.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibJS/AST.h b/Libraries/LibJS/AST.h
index 4372fbe185..80138b2af5 100644
--- a/Libraries/LibJS/AST.h
+++ b/Libraries/LibJS/AST.h
@@ -715,6 +715,9 @@ public:
{
}
+ const Expression* test() const { return m_test; }
+ const NonnullRefPtrVector<Statement>& consequent() const { return m_consequent; }
+
virtual void dump(int indent) const override;
virtual Value execute(Interpreter&) const override;