Home
last modified time | relevance | path

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

12

/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/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
522 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in VisitScriptFunction() local
578 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockStatement()->Scope()); in ResolveReference() local
583 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsBlockExpression()->Scope()); in ResolveReference() local
588 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
670 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in AddMandatoryParams() local
679 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.cpp181 auto scopeCtx = LexicalScope<Scope>::Enter(this, scope); in ResolveReferenceForScope() local
193 auto scopeCtx = LexicalScope<Scope>::Enter(this, node->AsBlockExpression()->Scope()); in ResolveReferenceForScope() local
306 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, decl->Scope()->AsClassScope()); in ResolveInterfaceDeclaration() local
344 …auto scopeCtx = LexicalScope<LocalScope>::Enter(this, methodDef->Function()->TypeParams()->Scope()… in BuildMethodDefinition() local
358 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, annoDecl->Scope()); in BuildAnnotationDeclaration() local
414 auto scopeCtx = LexicalScope<LocalScope>::Enter(this, classDef->TypeParams()->Scope()); in BuildClassDefinition() local
1281 const auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()->AsClassScope()); in ImportGlobalProperties() 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.cpp550 auto scopeCtx = LexicalScope<FunctionParamScope>::Enter(this, scope->AsFunctionParamScope()); in BuildTSSignatureDeclarationBaseParams() local
594 auto scopeCtx = LexicalScope<ClassScope>::Enter(this, classDef->Scope()); in BuildClassDefinition() local
693 auto scopeCtx = LexicalScope<CatchScope>::Enter(this, catchClauseStmt->Scope()); in BuildCatchClause() local
821 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, funcScope); in ResolveReference() local
847 auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, ctor->Scope()); in ResolveReference() local
861 … auto scopeCtx = LexicalScope<FunctionScope>::Enter(this, method->Function()->Scope()); in ResolveReference() local
868 auto scopeCtx = scope != nullptr ? in ResolveReference() local
879 … auto scopeCtx = LexicalScope<LocalScope>::Enter(this, childNode->AsSwitchStatement()->Scope()); in ResolveReference() local
940 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSModuleDeclaration()->Scope()); in ResolveReference() local
945 … auto scopeCtx = LexicalScope<Scope>::Enter(this, childNode->AsTSEnumDeclaration()->Scope()); in ResolveReference() local
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dutil.cpp119 auto scopeCtx = checker::ScopeContext(checker, scope); in Recheck() local
135 auto scopeCtx = checker::ScopeContext(checker, scope); in CheckLoweredNode() local
/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.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
1130 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1147 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1170 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1201 checker::ScopeContext scopeCtx(checker, st->Function()->Scope()); in Check() local
1262 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1413 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
[all …]
DETSAnalyzer.cpp110 checker::ScopeContext scopeCtx(checker, func->Scope()); in Check() local
819 checker::ScopeContext scopeCtx(checker, expr->Function()->Scope()); in Check() local
1115 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
1308 checker::ScopeContext scopeCtx(checker, signature->Function()->Body()->Scope()); in GetCallExpressionReturnType() local
2136 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2284 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2348 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2389 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2578 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
2733 checker::ScopeContext scopeCtx(checker, st->Scope()); in Check() local
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DenumPostCheckLowering.cpp97 auto scopeCtx = checker::ScopeContext(checker, nearestScope); in GenerateValueOfCall() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Dfunction.cpp70 ScopeContext scopeCtx(pg, func->Scope()->ParamScope()); in CompileFunctionParameterDeclaration() local

12