Lines Matching defs:scope
516 auto *scope = Binder()->GetScope();
518 auto *var = scope->FindLocalTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name);
520 var->AsImportEqualsVariable()->SetScope(scope);
521 if (isExport && scope->IsTSModuleScope()) {
522 scope->AsTSModuleScope()->AddExportTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name, var);
986 ir::BlockStatement *ParserImpl::ParseBlockStatement(binder::Scope *scope)
998 auto *blockNode = AllocNode<ir::BlockStatement>(scope, std::move(statements));
1000 scope->BindNode(blockNode);
1151 // The while expression should be included in the outer scope
3121 auto *scope = Binder()->GetScope();
3122 auto *var = scope->FindLocalTSVariable<binder::TSBindingType::IMPORT_EQUALS>(local->Name());
3124 var->AsImportEqualsVariable()->SetScope(scope);