summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Parser.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-05 00:22:42 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-05 00:22:42 +0200
commit9ebd066ac84d6a4b132299c4a927e2c4049a2f42 (patch)
treef88ed91b0c838b5cf5d95f994f3c1081418c8022 /Libraries/LibJS/Parser.h
parente3b92caa6d9f00a25095d294601131e106b94c93 (diff)
downloadserenity-9ebd066ac84d6a4b132299c4a927e2c4049a2f42.zip
LibJS: Add support for "continue" inside "for" statements :^)
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 04bfcc85c9..5b4ed28891 100644
--- a/Libraries/LibJS/Parser.h
+++ b/Libraries/LibJS/Parser.h
@@ -58,6 +58,7 @@ public:
NonnullRefPtr<SwitchStatement> parse_switch_statement();
NonnullRefPtr<SwitchCase> parse_switch_case();
NonnullRefPtr<BreakStatement> parse_break_statement();
+ NonnullRefPtr<ContinueStatement> parse_continue_statement();
NonnullRefPtr<DoWhileStatement> parse_do_while_statement();
NonnullRefPtr<ConditionalExpression> parse_conditional_expression(NonnullRefPtr<Expression> test);