mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibJS: Rename virtuals in EnvironmentRecord
This patch makes the following renames: - get_from_scope() => get_from_environment_record() - put_to_scope() => put_into_environment_record() - delete_from_scope() => delete_from_environment_record()
This commit is contained in:
parent
5edd259b0a
commit
d407f247b7
10 changed files with 32 additions and 31 deletions
|
@ -19,9 +19,10 @@ class EnvironmentRecord : public Object {
|
|||
JS_OBJECT(EnvironmentRecord, Object);
|
||||
|
||||
public:
|
||||
virtual Optional<Variable> get_from_scope(FlyString const&) const = 0;
|
||||
virtual void put_to_scope(FlyString const&, Variable) = 0;
|
||||
virtual bool delete_from_scope(FlyString const&) = 0;
|
||||
virtual Optional<Variable> get_from_environment_record(FlyString const&) const = 0;
|
||||
virtual void put_into_environment_record(FlyString const&, Variable) = 0;
|
||||
virtual bool delete_from_environment_record(FlyString const&) = 0;
|
||||
|
||||
virtual bool has_this_binding() const = 0;
|
||||
virtual Value get_this_binding(GlobalObject&) const = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue