Home
last modified time | relevance | path

Searched refs:newScope (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DenvScope.cpp23 ScopeContext::ScopeContext(CodeGen *cg, varbinder::Scope *newScope) : cg_(cg), prevScope_(cg_->scope_) in ScopeContext() argument
25 cg->scope_ = newScope; in ScopeContext()
H A DenvScope.h35 explicit ScopeContext(CodeGen *cg, varbinder::Scope *newScope);
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DenvScope.cpp24 ScopeContext::ScopeContext(PandaGen *pg, binder::Scope *newScope) : pg_(pg), prevScope_(pg_->scope_) in ScopeContext() argument
26 pg_->scope_ = newScope; in ScopeContext()
H A DenvScope.h36 explicit ScopeContext(PandaGen *pg, binder::Scope *newScope);
/arkcompiler/ets_frontend/ets2panda/checker/
H A Dchecker.h299 explicit ScopeContext(Checker *checker, varbinder::Scope *newScope) in ScopeContext() argument
302 checker_->scope_ = newScope; in ScopeContext()
H A DETSchecker.h479 void ReplaceScope(ir::AstNode *root, ir::AstNode *oldNode, varbinder::Scope *newScope);
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h501 explicit ScopeContext(Checker *checker, binder::Scope *newScope) : checker_(checker), prevScope_(checker_->scope_) in ScopeContext() argument
503 checker_->scope_ = newScope; in ScopeContext()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dfunction.cpp1982 void ETSChecker::ReplaceScope(ir::AstNode *root, ir::AstNode *oldNode, varbinder::Scope *newScope) in ReplaceScope() argument
1988 root->Iterate([this, oldNode, newScope](ir::AstNode *child) { in ReplaceScope()
1994 scope->SetParent(newScope); in ReplaceScope()
1996 ReplaceScope(child, oldNode, newScope); in ReplaceScope()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DlambdaLowering.cpp100 auto *newScope = allocator->New<varbinder::LocalScope>(allocator, enclosingScope); in CloneTypeParams() local
120 newScope->InsertBinding(newTypeParamId->Name(), newTypeParamVar); in CloneTypeParams()
147 newIrTypeParams->SetScope(newScope); in CloneTypeParams()

Completed in 12 milliseconds