mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibJS: Rename Environment Records so they match the spec :^)
This patch makes the following name changes: - ScopeObject => EnvironmentRecord - LexicalEnvironment => DeclarativeEnvironmentRecord - WithScope => ObjectEnvironmentRecord
This commit is contained in:
parent
e9b4a0a830
commit
6c6dbcfc36
35 changed files with 297 additions and 297 deletions
|
@ -15,9 +15,9 @@
|
|||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/Heap/DeferGC.h>
|
||||
#include <LibJS/Heap/Heap.h>
|
||||
#include <LibJS/Runtime/DeclarativeEnvironmentRecord.h>
|
||||
#include <LibJS/Runtime/ErrorTypes.h>
|
||||
#include <LibJS/Runtime/Exception.h>
|
||||
#include <LibJS/Runtime/LexicalEnvironment.h>
|
||||
#include <LibJS/Runtime/MarkedValueList.h>
|
||||
#include <LibJS/Runtime/VM.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
|
@ -56,8 +56,8 @@ public:
|
|||
ALWAYS_INLINE Heap& heap() { return vm().heap(); }
|
||||
ALWAYS_INLINE Exception* exception() { return vm().exception(); }
|
||||
|
||||
ScopeObject* current_scope() { return vm().current_scope(); }
|
||||
LexicalEnvironment* current_environment();
|
||||
EnvironmentRecord* current_scope() { return vm().current_scope(); }
|
||||
DeclarativeEnvironmentRecord* current_environment();
|
||||
|
||||
void enter_scope(const ScopeNode&, ScopeType, GlobalObject&);
|
||||
void exit_scope(const ScopeNode&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue