mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
LibJS: Handle escaped keywords in more cases and handle 'await' labels
This commit is contained in:
parent
79caca8ca2
commit
4428e494b0
3 changed files with 53 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue