mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +00:00
LibJS: Rename scope to environment
This is an editorial change in the ECMA-262 spec.
See: 3246553
This commit is contained in:
parent
cb66474fb5
commit
acda12597a
Notes:
sideshowbarker
2024-07-17 17:40:13 +09:00
Author: https://github.com/linusg
Commit: acda12597a
Pull-request: https://github.com/SerenityOS/serenity/pull/13874
Reviewed-by: https://github.com/IdanHo ✅
8 changed files with 43 additions and 43 deletions
|
@ -30,8 +30,8 @@ public:
|
|||
static DeclarativeEnvironment* create_for_per_iteration_bindings(Badge<ForStatement>, DeclarativeEnvironment& other, size_t bindings_size);
|
||||
|
||||
DeclarativeEnvironment();
|
||||
explicit DeclarativeEnvironment(Environment* parent_scope);
|
||||
explicit DeclarativeEnvironment(Environment* parent_scope, Span<Binding const> bindings);
|
||||
explicit DeclarativeEnvironment(Environment* parent_environment);
|
||||
explicit DeclarativeEnvironment(Environment* parent_environment, Span<Binding const> bindings);
|
||||
virtual ~DeclarativeEnvironment() override = default;
|
||||
|
||||
virtual ThrowCompletionOr<bool> has_binding(FlyString const& name, Optional<size_t>* = nullptr) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue