Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsMethodSignature.cpp67 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
89 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
DtsConstructorType.cpp54 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
72 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.cpp373 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in BuildClassProperty() local
401 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
467 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
520 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in VisitScriptFunction() local
571 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockStatement()->Scope()); in ResolveReference() local
577 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockExpression()->Scope()); in ResolveReference() local
583 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
693 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in AddMandatoryParams() local
702 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.cpp162 auto scopeCtx = LexicalScope<Scope>::Enter(this, scope); in ResolveReferenceForScope() local
174 auto scopeCtx = LexicalScope<Scope>::Enter(this, node->AsBlockExpression()->Scope()); in ResolveReferenceForScope() local
247 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, decl->Scope()->AsClassScope()); in ResolveInterfaceDeclaration() local
285 …auto scopeCtx = LexicalScope<LocalScope>::Enter(this, methodDef->Function()->TypeParams()->Scope()… in BuildMethodDefinition() local
325 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->TypeParams()->Scope()); in BuildClassDefinition() local
1096 const auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()->AsClassScope()); in ImportGlobalProperties() local
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp544 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope()); in BuildTSSignatureDeclarationBaseParams() local
588 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
685 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
788 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in ResolveReference() local
812 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in ResolveReference() local
826 … auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, method->Function()->Scope()); in ResolveReference() local
833 auto scopeCtx = scope != nullptr ? in ResolveReference() local
844 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
905 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSModuleDeclaration()->Scope()); in ResolveReference() local
910 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSEnumDeclaration()->Scope()); in ResolveReference() local
[all …]
/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/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/
DclassProperty.cpp94 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, ctor->Scope()); in UpdateSelf() local
DcatchClause.cpp94 auto scopeCtx = binder::LexicalScope<binder::CatchScope>::Enter(binder, scope_); in UpdateSelf() local
DscriptFunction.cpp131 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, scope_); in UpdateSelf() local
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp94 checker::ScopeContext scopeCtx(checker, node->Scope()); in Check() local
142 checker::ScopeContext scopeCtx(checker, node->Scope()); in Check() local
317 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
560 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
1120 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1137 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1160 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1191 checker::ScopeContext scopeCtx(checker, st->Function()->Scope()); in Check() local
1252 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1403 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
[all …]
DETSAnalyzer.cpp103 checker::ScopeContext scopeCtx(checker, func->Scope()); in Check() local
663 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
879 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1719 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1782 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1815 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1877 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2052 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2207 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2332 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dutil.cpp122 auto scopeCtx = checker::ScopeContext(checker, scope); in Recheck() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DspreadLowering.cpp102 auto scopeCtx = in Perform() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Dfunction.cpp70 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local

12