Lines Matching refs:funcScope
344 void Binder::BuildFunction(FunctionScope *funcScope, util::StringView name, const ir::ScriptFunctio… in BuildFunction() argument
346 if (funcScope->InFunctionScopes()) { in BuildFunction()
349 functionScopes_.push_back(funcScope); in BuildFunction()
350 funcScope->SetInFunctionScopes(); in BuildFunction()
358 funcScope->BindName(name, util::UString(internalName, Allocator()).View()); in BuildFunction()
388 funcScope->BindName(name, util::UString(internalNameStr, Allocator()).View()); in BuildFunction()
656 auto *funcScope = scriptFunc->Scope(); in ResolveReference() local
665 … auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, funcScope->ParamScope()); in ResolveReference()
691 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in ResolveReference()
827 [[maybe_unused]] auto *funcScope = *iter++; in AddMandatoryParams() local
829 ASSERT(funcScope->IsGlobalScope() || funcScope->IsModuleScope()); in AddMandatoryParams()
838 funcScope = *iter; in AddMandatoryParams()
839 const auto *scriptFunc = funcScope->Node()->AsScriptFunction(); in AddMandatoryParams()
841 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in AddMandatoryParams()
852 funcScope->HasFlag(VariableScopeFlags::USE_SUPER)) { in AddMandatoryParams()
864 if (funcScope->HasFlag(VariableScopeFlags::USE_ARGS)) { in AddMandatoryParams()