Home
last modified time | relevance | path

Searched refs:scopeCtx (Results 1 – 25 of 37) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/statements/
DblockStatement.cpp55 auto scopeCtx = checker::ScopeContext(checker, scope_ != nullptr ? scope_ : checker->Scope()); in Check() local
66 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, in UpdateSelf() local
DswitchStatement.cpp83 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
116 auto scopeCtx = binder::LexicalScope<binder::LocalScope>::Enter(binder, scope_); in UpdateSelf() local
DfunctionDeclaration.cpp49 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
DwhileStatement.cpp59 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
DdoWhileStatement.cpp61 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
DforUpdateStatement.cpp89 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsConstructorType.cpp54 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
72 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsFunctionType.cpp53 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
71 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsMethodSignature.cpp67 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
88 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsSignatureDeclaration.cpp62 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
99 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsModuleDeclaration.cpp55 auto scopeCtx = binder::LexicalScope<binder::TSModuleScope>::Enter(binder, scope_); in UpdateSelf() local
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvarbinder.cpp372 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in BuildClassProperty() local
399 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
465 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
516 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in VisitScriptFunction() local
567 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockStatement()->Scope()); in ResolveReference() local
573 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
682 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in AddMandatoryParams() local
691 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in AddMandatoryParams() local
DTypedBinder.cpp62 …auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope(), false… in BuildSignatureDeclarationBaseParams() local
DETSBinder.cpp155 auto scopeCtx = LexicalScope<Scope>::Enter(this, scope); in ResolveReferenceForScope() local
229 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, decl->Scope()->AsClassScope()); in ResolveInterfaceDeclaration() local
267 …auto scopeCtx = LexicalScope<LocalScope>::Enter(this, methodDef->Function()->TypeParams()->Scope()… in BuildMethodDefinition() local
310 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->TypeParams()->Scope()); in BuildClassDefinition() local
1083 const auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()->AsClassScope()); in ImportGlobalProperties() local
1094 auto *const var = scopeCtx.GetScope()->FindLocal(name, ResolveBindingOptions::ALL); in ImportGlobalProperties()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp527 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope()); in BuildTSSignatureDeclarationBaseParams() local
558 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
651 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
731 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in ResolveReference() local
755 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in ResolveReference() local
766 … auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, method->Function()->Scope()); in ResolveReference() local
773 auto scopeCtx = scope != nullptr ? in ResolveReference() local
784 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
845 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSModuleDeclaration()->Scope()); in ResolveReference() local
850 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSEnumDeclaration()->Scope()); in ResolveReference() local
[all …]
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DfunctionExpression.cpp51 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
DarrowFunctionExpression.cpp51 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
/arkcompiler/ets_frontend/es2panda/ir/base/
DcatchClause.cpp94 auto scopeCtx = binder::LexicalScope<binder::CatchScope>::Enter(binder, scope_); in UpdateSelf() local
DclassProperty.cpp93 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, ctor->Scope()); in UpdateSelf() local
DscriptFunction.cpp131 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, scope_); in UpdateSelf() local
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp144 checker::ScopeContext scopeCtx(checker, node->Scope()); in Check() local
192 checker::ScopeContext scopeCtx(checker, node->Scope()); in Check() local
451 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
683 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
1274 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1307 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1340 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1371 checker::ScopeContext scopeCtx(checker, st->Function()->Scope()); in Check() local
1442 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1598 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
[all …]
DETSAnalyzer.cpp108 checker::ScopeContext scopeCtx(checker, func->Scope()); in Check() local
202 checker::ScopeContext scopeCtx(checker, scriptFunc->Scope()); in DoBodyTypeChecking() local
770 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
1916 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1961 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2032 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2074 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2328 checker::ScopeContext scopeCtx(checker, st->scope_); in Check() local
2460 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2631 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Dfunction.cpp70 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dobject.cpp173 checker::ScopeContext scopeCtx(this, typeParams->Scope()); in CreateTypeForTypeParameters() local
312 checker::ScopeContext scopeCtx(this, interfaceDecl->Scope()); in BuildInterfaceProperties() local
371 checker::ScopeContext scopeCtx(this, classScope); in BuildClassProperties() local
385 checker::ScopeContext scopeCtx(this, classDef->Scope()); in BuildAnonymousClassProperties() local
779 checker::ScopeContext scopeCtx(this, classDef->Scope()); in CheckClassDefinition() local
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp75 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local

12