LibJS: Allow reserved words as keys in object expressions.

This commit is contained in:
Stephan Unverwerth 2020-04-18 20:31:27 +02:00 committed by Andreas Kling
commit bf5b251684
Notes: sideshowbarker 2024-07-19 07:29:33 +09:00
5 changed files with 61 additions and 3 deletions

View file

@ -84,6 +84,7 @@ private:
bool match_secondary_expression() const;
bool match_statement() const;
bool match_variable_declaration() const;
bool match_identifier_name() const;
bool match(TokenType type) const;
bool done() const;
void expected(const char* what);