mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
LibJS: Convert EnvironmentRecord & friends to east-const style
This commit is contained in:
parent
6c6dbcfc36
commit
46f2c23030
6 changed files with 14 additions and 16 deletions
|
@ -37,15 +37,13 @@ public:
|
|||
virtual ~DeclarativeEnvironmentRecord() override;
|
||||
|
||||
// ^EnvironmentRecord
|
||||
virtual Optional<Variable> get_from_scope(const FlyString&) const override;
|
||||
virtual void put_to_scope(const FlyString&, Variable) override;
|
||||
virtual Optional<Variable> get_from_scope(FlyString const&) const override;
|
||||
virtual void put_to_scope(FlyString const&, Variable) override;
|
||||
virtual bool delete_from_scope(FlyString const&) override;
|
||||
virtual bool has_this_binding() const override;
|
||||
virtual Value get_this_binding(GlobalObject&) const override;
|
||||
|
||||
void clear();
|
||||
|
||||
const HashMap<FlyString, Variable>& variables() const { return m_variables; }
|
||||
HashMap<FlyString, Variable> const& variables() const { return m_variables; }
|
||||
|
||||
void set_home_object(Value object) { m_home_object = object; }
|
||||
bool has_super_binding() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue