Home
last modified time | relevance | path

Searched refs:FunctionParamScope (Results 1 - 25 of 28) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DlocalClassLowering.h42 ir::ETSParameterExpression *CreateParam(checker::ETSChecker *const checker, varbinder::FunctionParamScope *scope,
H A DenumLowering.cpp29 varbinder::FunctionParamScope *const scope, in MakeFunctionParam()
33 const auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(varbinder, scope, false); in MakeFunctionParam()
210 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), program_->GlobalScope()); in CreateCCtorForEnumClass()
275 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), program_->GlobalScope()); in CreateCtorForEnumClass()
608 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), enumClass->Scope());
648 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), enumClass->Scope());
676 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), enumClass->Scope());
705 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), enumClass->Scope());
811 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocator(), enumClass->Scope());
862 varbinder_->Allocator()->New<varbinder::FunctionParamScope>(Allocato
[all...]
H A DenumLowering.h45 varbinder::FunctionParamScope *paramScope;
H A DlocalClassLowering.cpp106 varbinder::FunctionParamScope *scope, in CreateParam()
112 auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(checker->VarBinder(), scope, false); in CreateParam()
H A DinterfacePropertyDeclarations.cpp72 auto *paramScope = checker->Allocator()->New<varbinder::FunctionParamScope>(checker->Allocator(), classScope); in GenerateGetterOrSetter()
H A DlambdaLowering.cpp280 auto paramScopeCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(varBinder, paramScope); in SetUpCalleeMethod()
344 auto paramScope = allocator->New<varbinder::FunctionParamScope>(allocator, scopeForMethod); in CreateCalleeMethod()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A DTypedBinder.cpp62 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope(), false); in BuildSignatureDeclarationBaseParams()
H A Dvarbinder.h308 if constexpr (std::is_same_v<T, FunctionParamScope>) { in Enter()
354 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope_->AsFunctionVariableScope()->ParamScope()); in AddMandatoryParams()
H A DvariableFlags.h58 _(FUNCTION_PARAM, FunctionParamScope) \
H A Dscope.h454 class FunctionParamScope : public ParamScope { class
456 explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, parent) {} in FunctionParamScope() function in ark::es2panda::ark::es2panda::ark::es2panda::varbinder::FunctionParamScope
572 class FunctionScope : public ScopeWithParamScope<VariableScope, FunctionParamScope> {
863 auto *paramScope = allocator->New<FunctionParamScope>(allocator, this); in GlobalScope()
H A DETSBinder.cpp314 auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, func->Scope()->ParamScope()); in ResolveMethodDefinition()
396 auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, func->Scope()->ParamScope()); in AddFunctionThisParam()
408 auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, func->Scope()->ParamScope()); in BuildProxyMethod()
H A Dscope.cpp433 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName()
441 Variable *FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding()
H A Dvarbinder.cpp504 auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, funcScope->ParamScope()); in VisitScriptFunction()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dscope.h367 void CalculateLevelInCorrespondingFunctionScope(const FunctionParamScope *scope, uint32_t &lexLevel,
662 class FunctionParamScope : public ParamScope { class
664 explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, parent) {} in FunctionParamScope() function in FunctionParamScope
754 class FunctionScope : public ScopeWithParamScope<VariableScope, FunctionParamScope> {
819 // FunctionParamScope has the same scope name with functionScope
1014 paramScope_ = allocator->New<FunctionParamScope>(allocator, this); in GlobalScope()
1046 paramScope_ = allocator->New<FunctionParamScope>(allocator, this); in ModuleScope()
1092 paramScope_ = allocator->New<FunctionParamScope>(allocator, parent); in TSModuleScope()
1160 paramScope_ = allocator->New<FunctionParamScope>(allocator, parent); in TSEnumScope()
H A Dscope.cpp96 void Scope::CalculateLevelInCorrespondingFunctionScope(const FunctionParamScope *scope, uint32_t &lexLevel, in CalculateLevelInCorrespondingFunctionScope()
523 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName()
529 bool FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding()
536 const util::StringView &FunctionParamScope::GetFullScopeName() in GetFullScopeName()
551 uint32_t FunctionParamScope::GetDuplicateScopeIndex(const util::StringView &childScopeName) in GetDuplicateScopeIndex()
H A DvariableFlags.h53 _(FUNCTION_PARAM, FunctionParamScope) \
H A Dbinder.cpp560 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope()); in BuildTSSignatureDeclarationBaseParams()
790 auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, funcScope->ParamScope()); in ResolveReference()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DscriptFunction.cpp113 auto paramScopeCtx = binder::LexicalScope<binder::FunctionParamScope>::Enter(binder, scope_->ParamScope()); in UpdateSelf()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp89 varbinder::FunctionParamScope *ScopesInitPhase::HandleFunctionSig(ir::TSTypeParameterDeclaration *typeParams, in HandleFunctionSig()
96 auto lexicalScope = varbinder::LexicalScope<varbinder::FunctionParamScope>(VarBinder()); in HandleFunctionSig()
110 auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(VarBinder(), funcParamScope, false); in HandleFunction()
352 auto lexicalScope = LexicalScopeCreateOrEnter<varbinder::FunctionParamScope>(VarBinder(), funcType); in VisitTSFunctionType()
414 void ScopesInitPhase::BindFunctionScopes(varbinder::FunctionScope *scope, varbinder::FunctionParamScope *paramScope) in BindFunctionScopes()
799 ? varbinder::LexicalScope<varbinder::FunctionParamScope>(VarBinder()) in VisitClassStaticBlock()
800 : varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter( in VisitClassStaticBlock()
985 varbinder::LexicalScope<varbinder::FunctionParamScope> lexicalScope(VarBinder()); in VisitETSFunctionType()
H A DscopesInitPhase.h154 varbinder::FunctionParamScope *HandleFunctionSig(ir::TSTypeParameterDeclaration *typeParams,
183 static void BindFunctionScopes(varbinder::FunctionScope *scope, varbinder::FunctionParamScope *paramScope);
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h147 explicit ArrowFunctionDescriptor(ArenaVector<ir::Expression *> &&p, binder::FunctionParamScope *ps, in ArrowFunctionDescriptor()
154 binder::FunctionParamScope *paramScope;
399 binder::FunctionParamScope *paramScope);
729 binder::LexicalScope<binder::FunctionParamScope> lexicalScope_;
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dfunction.cpp1831 varbinder::FunctionParamScope *paramScope = CopyParams(asyncFunc->Params(), params); in CreateAsyncImplMethod()
1928 varbinder::FunctionParamScope *paramScope, ir::TypeNode *returnType, in CreateMethod()
1958 varbinder::FunctionParamScope *ETSChecker::CopyParams(const ArenaVector<ir::Expression *> &params, in CopyParams()
1961 auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>(VarBinder()); in CopyParams()
2028 auto *funcParamScope = varbinder::LexicalScope<varbinder::FunctionParamScope>(VarBinder()).GetScope(); in TransformTraillingLambda()
2029 auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(VarBinder(), funcParamScope, false); in TransformTraillingLambda()
H A DutilityTypeHandlers.cpp412 auto *paramScope = Allocator()->New<varbinder::FunctionParamScope>(Allocator(), classScope); in CreateNonStaticClassInitializer()
417 const auto funcParamCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(VarBinder(), paramScope); in CreateNonStaticClassInitializer()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSchecker.h38 class FunctionParamScope;
475 varbinder::FunctionParamScope *paramScope, ir::TypeNode *returnType,
477 varbinder::FunctionParamScope *CopyParams(const ArenaVector<ir::Expression *> &params,
621 ir::ClassProperty *field, varbinder::FunctionParamScope *paramScope, bool isSetter);
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp913 auto *paramScope = Binder()->Allocator()->New<binder::FunctionParamScope>(Allocator(), Binder()->GetScope()); in AddMethodToClass()
1928 binder::FunctionParamScope *funcParamScope = funcScope->ParamScope(); in CreateCallExpressionForTsModule()
1931 auto paramScopeCtx = binder::LexicalScope<binder::FunctionParamScope>::Enter(Binder(), funcParamScope); in CreateCallExpressionForTsModule()
2067 binder::FunctionParamScope *funcParamScope = funcScope->ParamScope(); in CreateCallExpressionForTsEnum()
2070 auto paramScopeCtx = binder::LexicalScope<binder::FunctionParamScope>::Enter(Binder(), funcParamScope); in CreateCallExpressionForTsEnum()

Completed in 37 milliseconds

12