/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | blockStatement.cpp | 55 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
|
D | switchStatement.cpp | 83 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 116 auto scopeCtx = binder::LexicalScope<binder::LocalScope>::Enter(binder, scope_); in UpdateSelf() local
|
D | functionDeclaration.cpp | 49 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
|
D | whileStatement.cpp | 59 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
|
D | doWhileStatement.cpp | 61 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
|
D | forUpdateStatement.cpp | 89 checker::ScopeContext scopeCtx(checker, scope_); in Check() local
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsConstructorType.cpp | 54 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 72 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
D | tsFunctionType.cpp | 53 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 71 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
D | tsMethodSignature.cpp | 67 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 88 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
D | tsSignatureDeclaration.cpp | 62 checker::ScopeContext scopeCtx(checker, scope_); in Check() local 99 auto scopeCtx = binder::LexicalScope<binder::Scope>::Enter(binder, scope_); in UpdateSelf() local
|
D | tsModuleDeclaration.cpp | 55 auto scopeCtx = binder::LexicalScope<binder::TSModuleScope>::Enter(binder, scope_); in UpdateSelf() local
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
D | varbinder.cpp | 372 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
|
D | TypedBinder.cpp | 62 …auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope(), false… in BuildSignatureDeclarationBaseParams() local
|
D | ETSBinder.cpp | 155 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/ |
D | binder.cpp | 527 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/ |
D | functionExpression.cpp | 51 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
|
D | arrowFunctionExpression.cpp | 51 checker::ScopeContext scopeCtx(checker, func_->Scope()); in Check() local
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
D | catchClause.cpp | 94 auto scopeCtx = binder::LexicalScope<binder::CatchScope>::Enter(binder, scope_); in UpdateSelf() local
|
D | classProperty.cpp | 93 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, ctor->Scope()); in UpdateSelf() local
|
D | scriptFunction.cpp | 131 auto scopeCtx = binder::LexicalScope<binder::FunctionScope>::Enter(binder, scope_); in UpdateSelf() local
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
D | TSAnalyzer.cpp | 144 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 …]
|
D | ETSAnalyzer.cpp | 108 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/ |
D | function.cpp | 70 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
D | object.cpp | 173 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/ |
D | function.cpp | 75 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local
|