Searched refs:localCtx (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.cpp | 68 auto localCtx = LexicalScopeCreateOrEnter<varbinder::LocalScopeWithTypeAlias>(VarBinder(), blockStmt); in VisitBlockStatement() local 237 auto localCtx = LexicalScopeCreateOrEnter<varbinder::LocalScopeWithTypeAlias>(VarBinder(), switchStmt); in VisitSwitchStatement() local 239 BindScopeNode(localCtx.GetScope(), switchStmt); in VisitSwitchStatement() 500 auto localCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), moduleDecl); in VisitTSModuleDeclaration() local 501 BindScopeNode(localCtx.GetScope(), moduleDecl); in VisitTSModuleDeclaration() 507 auto localCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), block); in VisitTSModuleBlock() local 509 BindScopeNode(localCtx.GetScope(), block); in VisitTSModuleBlock() 786 auto localCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), blockExpr); in VisitBlockExpression() local
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | statementParser.cpp | 388 auto localCtx = binder::LexicalScope<binder::TSModuleScope>(Binder(), exportBindings); in ParseTsAmbientExternalModuleDeclaration() local 399 auto *moduleDecl = AllocNode<ir::TSModuleDeclaration>(localCtx.GetScope(), name, body, isDeclare, isGlobal); in ParseTsAmbientExternalModuleDeclaration() 401 localCtx.GetScope()->BindNode(moduleDecl); in ParseTsAmbientExternalModuleDeclaration() 444 auto localCtx = binder::LexicalScope<binder::TSModuleScope>(Binder(), exportBindings); in ParseTsModuleOrNamespaceDelaration() local 453 auto *moduleDecl = AllocNode<ir::TSModuleDeclaration>(localCtx.GetScope(), identNode, body, in ParseTsModuleOrNamespaceDelaration() 456 localCtx.GetScope()->BindNode(moduleDecl); in ParseTsModuleOrNamespaceDelaration() 649 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); in ParseFunctionStatement() local 654 auto *localBlockStmt = AllocNode<ir::BlockStatement>(localCtx.GetScope(), std::move(stmts)); in ParseFunctionStatement() 656 localCtx.GetScope()->BindNode(localBlockStmt); in ParseFunctionStatement() 1007 auto localCtx in ParseBlockStatement() local 1805 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); ParseSwitchStatement() local [all...] |
H A D | parserImpl.cpp | 3889 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); in ParseTsTypeParameterDeclaration() local 3937 AllocNode<ir::TSTypeParameterDeclaration>(localCtx.GetScope(), std::move(params), requiredParams); in ParseTsTypeParameterDeclaration() 3939 localCtx.GetScope()->BindNode(typeParamDecl); in ParseTsTypeParameterDeclaration()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.cpp | 1260 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); in CreateClassStaticBlock() local 1262 blockStatement = AllocNode<ir::BlockStatement>(localCtx.GetScope(), std::move(statements)); in CreateClassStaticBlock() 1263 localCtx.GetScope()->BindNode(blockStatement); in CreateClassStaticBlock()
|
Completed in 17 milliseconds