mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibJS: Be more strict about reserved and special identifiers
This commit is contained in:
parent
2a61b90fef
commit
4485df1405
2 changed files with 57 additions and 11 deletions
|
@ -170,7 +170,7 @@ private:
|
|||
void discard_saved_state();
|
||||
Position position() const;
|
||||
|
||||
void check_identifier_name_for_assignment_validity(StringView);
|
||||
void check_identifier_name_for_assignment_validity(StringView, bool force_strict = false);
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue