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 …ASSERT(scope->IsFunctionScope() || scope->IsCatchScope() || scope->IsLocalScope() || scope->IsModu… in HoistFunction()
53 varbinder::ConstScopeFindResult result(decl->Name(), scope, 0, var); in HoistFunction()
61 const auto *scope = pg->Scope(); in Hoist() local
63 for (const auto &[_, var] : scope->Bindings()) { in Hoist()