summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Parser.h')
-rw-r--r--Libraries/LibJS/Parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Parser.h b/Libraries/LibJS/Parser.h
index 7cbd614b32..25bc408da4 100644
--- a/Libraries/LibJS/Parser.h
+++ b/Libraries/LibJS/Parser.h
@@ -63,6 +63,7 @@ public:
NonnullRefPtr<ArrayExpression> parse_array_expression();
NonnullRefPtr<Expression> parse_secondary_expression(NonnullRefPtr<Expression>, int min_precedence, Associativity associate = Associativity::Right);
NonnullRefPtr<CallExpression> parse_call_expression(NonnullRefPtr<Expression>);
+ NonnullRefPtr<NewExpression> parse_new_expression();
bool has_errors() const { return m_has_errors; }