Home
last modified time | relevance | path

Searched defs:scopeCtx (Results 1 – 25 of 44) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvarbinder.cpp332 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in BuildClassProperty() local
360 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
427 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
479 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in VisitScriptFunction() local
495 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in VisitScriptFunction() local
554 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockStatement()->Scope()); in ResolveReference() local
558 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockExpression()->Scope()); in ResolveReference() local
562 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
643 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in AddMandatoryParams() local
652 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.cpp185 auto scopeCtx = LexicalScope<Scope>::Enter(this, scope); in ResolveReferenceForScope() local
197 auto scopeCtx = LexicalScope<Scope>::Enter(this, node->AsBlockExpression()->Scope()); in ResolveReferenceForScope() local
366 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, decl->Scope()->AsClassScope()); in ResolveInterfaceDeclaration() local
411 …auto scopeCtx = LexicalScope<LocalScope>::Enter(this, methodDef->Function()->TypeParams()->Scope()… in BuildMethodDefinition() local
425 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, annoDecl->Scope()); in BuildAnnotationDeclaration() local
485 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->TypeParams()->Scope()); in BuildClassDefinition() local
1574 const auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()->AsClassScope()); in ImportGlobalProperties() local
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsMethodSignature.cpp63 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
85 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsConstructorType.cpp50 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
68 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsFunctionType.cpp49 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
67 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsSignatureDeclaration.cpp59 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
96 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
DtsModuleDeclaration.cpp53 auto scopeCtx = binder::LexicalScope<binder::TSModuleScope>::Enter(binder, scope_); in UpdateSelf() local
/arkcompiler/ets_frontend/es2panda/ir/statements/
DblockStatement.cpp53 auto scopeCtx = checker::ScopeContext(checker, scope_ != nullptr ? scope_ : checker->Scope()); in Check() local
64 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, in UpdateSelf() local
DswitchStatement.cpp79 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
112 auto scopeCtx = binder::LexicalScope<binder::LocalScope>::Enter(binder, scope_); in UpdateSelf() local
DfunctionDeclaration.cpp46 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
DwhileStatement.cpp54 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
DdoWhileStatement.cpp57 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
DforUpdateStatement.cpp83 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp551 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope()); in BuildTSSignatureDeclarationBaseParams() local
595 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
694 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
823 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in ResolveReference() local
850 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in ResolveReference() local
864 … auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, method->Function()->Scope()); in ResolveReference() local
871 auto scopeCtx = scope != nullptr ? in ResolveReference() local
882 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
943 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSModuleDeclaration()->Scope()); in ResolveReference() local
948 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSEnumDeclaration()->Scope()); in ResolveReference() local
[all …]
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DfunctionExpression.cpp50 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
DarrowFunctionExpression.cpp50 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
/arkcompiler/ets_frontend/es2panda/ir/base/
DclassProperty.cpp88 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, ctor->Scope()); in UpdateSelf() local
DcatchClause.cpp90 auto scopeCtx = binder::LexicalScope<binder::CatchScope>::Enter(binder, scope_); in UpdateSelf() local
DscriptFunction.cpp129 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, scope_); in UpdateSelf() local
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp95 checker::ScopeContext scopeCtx(checker, node->Scope()); in Check() local
144 checker::ScopeContext scopeCtx(checker, node->Scope()); in Check() local
320 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
563 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
1140 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1157 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1180 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1211 checker::ScopeContext scopeCtx(checker, st->Function()->Scope()); in Check() local
1271 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1420 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
[all …]
DETSAnalyzer.cpp158 checker::ScopeContext scopeCtx(checker, func->Scope()); in Check() local
975 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
1338 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1549 checker::ScopeContext scopeCtx(checker, signature->Function()->Body()->Scope()); in GetCallExpressionReturnType() local
2811 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2897 ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2981 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
3040 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
3081 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
3324 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dutil.cpp259 auto scopeCtx = checker::ScopeContext(checker, scope); in Recheck() local
306 auto scopeCtx = checker::ScopeContext(checker, scope); in CheckLoweredNode() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Dfunction.cpp70 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp69 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local

12