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

LibJS: Implement for statement

This commit is contained in:
Conrad Pankoff 2020-03-12 23:12:12 +11:00 committed by Andreas Kling
parent e88f2f15ee
commit 097e1af4e8
6 changed files with 119 additions and 0 deletions

View file

@ -42,6 +42,7 @@ public:
NonnullOwnPtr<ReturnStatement> parse_return_statement();
NonnullOwnPtr<FunctionDeclaration> parse_function_declaration();
NonnullOwnPtr<VariableDeclaration> parse_variable_declaration();
NonnullOwnPtr<ForStatement> parse_for_statement();
NonnullOwnPtr<Expression> parse_expression();
NonnullOwnPtr<Expression> parse_primary_expression();