Lines Matching full:scope
19 #include "varbinder/scope.h"
25 auto *scope = pg->Scope(); in HoistVar() local
27 if (scope->IsGlobalScope()) { in HoistVar()
33 varbinder::ConstScopeFindResult result(decl->Name(), scope, 0, var); in HoistVar()
42 auto *scope = pg->Scope(); in HoistFunction() local
44 const auto &internalName = scriptFunction->Scope()->InternalName(); in HoistFunction()
46 if (scope->IsGlobalScope()) { in HoistFunction()
52 ES2PANDA_ASSERT(scope->IsFunctionScope() || scope->IsCatchScope() || scope->IsLocalScope() || in HoistFunction()
53 scope->IsModuleScope()); in HoistFunction()
54 varbinder::ConstScopeFindResult result(decl->Name(), scope, 0, var); in HoistFunction()
62 const auto *scope = pg->Scope(); in Hoist() local
64 for (const auto &[_, var] : scope->Bindings()) { in Hoist()