mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibJS: Add using declaration support in for and for of loops
The using declarations have kind of special behavior in for loops so this is seperated.
This commit is contained in:
parent
541637e15a
commit
bff038411a
6 changed files with 447 additions and 77 deletions
|
@ -227,6 +227,7 @@ private:
|
|||
bool try_match_using_declaration() const;
|
||||
bool match_variable_declaration() const;
|
||||
bool match_identifier() const;
|
||||
bool token_is_identifier(Token const&) const;
|
||||
bool match_identifier_name() const;
|
||||
bool match_property_key() const;
|
||||
bool is_private_identifier_valid() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue