1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:37:44 +00:00

LibJS: Parse while statements

This commit is contained in:
Linus Groh 2020-04-21 19:27:57 +01:00 committed by Andreas Kling
parent 7e01e38cf4
commit 038051d205
3 changed files with 38 additions and 0 deletions

View file

@ -60,6 +60,7 @@ public:
NonnullRefPtr<BreakStatement> parse_break_statement();
NonnullRefPtr<ContinueStatement> parse_continue_statement();
NonnullRefPtr<DoWhileStatement> parse_do_while_statement();
NonnullRefPtr<WhileStatement> parse_while_statement();
NonnullRefPtr<ConditionalExpression> parse_conditional_expression(NonnullRefPtr<Expression> test);
NonnullRefPtr<Expression> parse_expression(int min_precedence, Associativity associate = Associativity::Right);