1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

LibJS: Handle escaped keywords in more cases and handle 'await' labels

This commit is contained in:
davidot 2021-09-18 23:02:50 +02:00 committed by Linus Groh
parent 79caca8ca2
commit 4428e494b0
3 changed files with 53 additions and 10 deletions

View file

@ -199,6 +199,8 @@ private:
bool try_parse_arrow_function_expression_failed_at_position(const Position&) const;
void set_try_parse_arrow_function_expression_failed_at_position(const Position&, bool);
bool match_invalid_escaped_keyword() const;
struct RulePosition {
AK_MAKE_NONCOPYABLE(RulePosition);
AK_MAKE_NONMOVABLE(RulePosition);