/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | localClassLowering.h | 42 ir::ETSParameterExpression *CreateParam(checker::ETSChecker *const checker, varbinder::FunctionParamScope *scope,
|
H A D | enumLowering.cpp | 29 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 D | enumLowering.h | 45 varbinder::FunctionParamScope *paramScope;
|
H A D | localClassLowering.cpp | 106 varbinder::FunctionParamScope *scope, in CreateParam() 112 auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(checker->VarBinder(), scope, false); in CreateParam()
|
H A D | interfacePropertyDeclarations.cpp | 72 auto *paramScope = checker->Allocator()->New<varbinder::FunctionParamScope>(checker->Allocator(), classScope); in GenerateGetterOrSetter()
|
H A D | lambdaLowering.cpp | 280 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 D | TypedBinder.cpp | 62 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope(), false); in BuildSignatureDeclarationBaseParams()
|
H A D | varbinder.h | 308 if constexpr (std::is_same_v<T, FunctionParamScope>) { in Enter() 354 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope_->AsFunctionVariableScope()->ParamScope()); in AddMandatoryParams()
|
H A D | variableFlags.h | 58 _(FUNCTION_PARAM, FunctionParamScope) \
|
H A D | scope.h | 454 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 D | ETSBinder.cpp | 314 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 D | scope.cpp | 433 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName() 441 Variable *FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding()
|
H A D | varbinder.cpp | 504 auto paramScopeCtx = LexicalScope<FunctionParamScope>::Enter(this, funcScope->ParamScope()); in VisitScriptFunction()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | scope.h | 367 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 D | scope.cpp | 96 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 D | variableFlags.h | 53 _(FUNCTION_PARAM, FunctionParamScope) \
|
H A D | binder.cpp | 560 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 D | scriptFunction.cpp | 113 auto paramScopeCtx = binder::LexicalScope<binder::FunctionParamScope>::Enter(binder, scope_->ParamScope()); in UpdateSelf()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.cpp | 89 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 D | scopesInitPhase.h | 154 varbinder::FunctionParamScope *HandleFunctionSig(ir::TSTypeParameterDeclaration *typeParams, 183 static void BindFunctionScopes(varbinder::FunctionScope *scope, varbinder::FunctionParamScope *paramScope);
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 147 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 D | function.cpp | 1831 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 *> ¶ms, 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 D | utilityTypeHandlers.cpp | 412 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 D | ETSchecker.h | 38 class FunctionParamScope; 475 varbinder::FunctionParamScope *paramScope, ir::TypeNode *returnType, 477 varbinder::FunctionParamScope *CopyParams(const ArenaVector<ir::Expression *> ¶ms, 621 ir::ClassProperty *field, varbinder::FunctionParamScope *paramScope, bool isSetter);
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.cpp | 913 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()
|