| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | varbinder.cpp | 332 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
|
| D | TypedBinder.cpp | 62 …auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope(), false… in BuildSignatureDeclarationBaseParams() local
|
| D | ETSBinder.cpp | 185 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/ |
| D | tsMethodSignature.cpp | 63 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 85 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
| D | tsConstructorType.cpp | 50 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 68 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
| D | tsFunctionType.cpp | 49 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 67 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
| D | tsSignatureDeclaration.cpp | 59 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 96 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
| D | tsModuleDeclaration.cpp | 53 auto scopeCtx = binder::LexicalScope<binder::TSModuleScope>::Enter(binder, scope_); in UpdateSelf() local
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | blockStatement.cpp | 53 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
|
| D | switchStatement.cpp | 79 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 112 auto scopeCtx = binder::LexicalScope<binder::LocalScope>::Enter(binder, scope_); in UpdateSelf() local
|
| D | functionDeclaration.cpp | 46 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
|
| D | whileStatement.cpp | 54 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
|
| D | doWhileStatement.cpp | 57 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
|
| D | forUpdateStatement.cpp | 83 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | binder.cpp | 551 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/ |
| D | functionExpression.cpp | 50 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
|
| D | arrowFunctionExpression.cpp | 50 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
|
| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | classProperty.cpp | 88 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, ctor->Scope()); in UpdateSelf() local
|
| D | catchClause.cpp | 90 auto scopeCtx = binder::LexicalScope<binder::CatchScope>::Enter(binder, scope_); in UpdateSelf() local
|
| D | scriptFunction.cpp | 129 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, scope_); in UpdateSelf() local
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | TSAnalyzer.cpp | 95 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 …]
|
| D | ETSAnalyzer.cpp | 158 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/ |
| D | util.cpp | 259 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/ |
| D | function.cpp | 70 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | function.cpp | 69 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local
|