Lines Matching refs:GetScope
399 auto *moduleDecl = AllocNode<ir::TSModuleDeclaration>(localCtx.GetScope(), name, body, isDeclare, isGlobal);
401 localCtx.GetScope()->BindNode(moduleDecl);
414 auto *parentScope = Binder()->GetScope();
453 auto *moduleDecl = AllocNode<ir::TSModuleDeclaration>(localCtx.GetScope(), identNode, body,
456 localCtx.GetScope()->BindNode(moduleDecl);
516 auto *scope = Binder()->GetScope();
654 auto *localBlockStmt = AllocNode<ir::BlockStatement>(localCtx.GetScope(), std::move(stmts));
656 localCtx.GetScope()->BindNode(localBlockStmt);
790 const auto &bindings = Binder()->GetScope()->Bindings();
824 AllocNode<ir::TSInterfaceDeclaration>(localScope.GetScope(), id, typeParamDecl, body, std::move(extends));
1008 auto *blockNode = ParseBlockStatement(localCtx.GetScope());
1132 auto *savedScope = Binder()->GetScope();
1161 auto *doWhileStatement = AllocNode<ir::DoWhileStatement>(iterCtx.LexicalScope().GetScope(), body, test);
1163 iterCtx.LexicalScope().GetScope()->BindNode(doWhileStatement);
1257 const auto &bindings = Binder()->GetScope()->Bindings();
1609 auto *loopScope = iterCtx.LexicalScope().GetScope();
1812 auto *switchStatement = AllocNode<ir::SwitchStatement>(localCtx.GetScope(), discriminant, std::move(cases));
1814 localCtx.GetScope()->BindNode(switchStatement);
1911 auto *catchParamScope = catchParamCtx.GetScope();
1921 auto *catchScope = catchCtx.GetScope();
2218 auto *whileStatement = AllocNode<ir::WhileStatement>(iterCtx.LexicalScope().GetScope(), test, body);
2220 iterCtx.LexicalScope().GetScope()->BindNode(whileStatement);
2301 ASSERT(Binder()->GetScope()->IsTSModuleScope());
2416 ASSERT(Binder()->GetScope()->IsTSModuleScope());
2417 tsModuleScope = Binder()->GetScope()->AsTSModuleScope();
3121 auto *scope = Binder()->GetScope();