1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

JSSpecCompiler: Simplify value handling in TextParser::parse_expression

This commit is contained in:
Dan Klishch 2024-01-21 14:34:41 -05:00 committed by Andrew Kaster
parent e1a1f4ed1a
commit a9f3a14a13
2 changed files with 48 additions and 39 deletions

View file

@ -74,6 +74,7 @@ private:
TextParseErrorOr<Tree> parse_record_direct_list_initialization();
TextParseErrorOr<Vector<Tree>> parse_function_arguments();
TextParseErrorOr<Tree> parse_list_initialization();
TextParseErrorOr<Tree> parse_value();
TextParseErrorOr<Tree> parse_expression();
TextParseErrorOr<Tree> parse_condition();
TextParseErrorOr<Tree> parse_return_statement();