Lines Matching refs:Binder
356 auto localCtx = binder::LexicalScope<binder::TSModuleScope>(Binder(), exportBindings); in ParseTsAmbientExternalModuleDeclaration()
382 auto *parentScope = Binder()->GetScope(); in ParseTsModuleOrNamespaceDelaration()
391 …Binder()->AddTsDecl<binder::NamespaceDecl>(lexer_->GetToken().Start(), isDeclare, Allocator(), nam… in ParseTsModuleOrNamespaceDelaration()
412 auto localCtx = binder::LexicalScope<binder::TSModuleScope>(Binder(), exportBindings); in ParseTsModuleOrNamespaceDelaration()
476 …auto *decl = Binder()->AddDecl<binder::ImportEqualsDecl>(id->Start(), declflag, false, id->Name()); in ParseTsImportEqualsDeclaration()
478 auto *scope = Binder()->GetScope(); in ParseTsImportEqualsDeclaration()
611 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); in ParseFunctionStatement()
674 …auto *decl = Binder()->AddDecl<binder::ClassDecl>(location, flag, classDefinition->Declare(), clas… in ParseClassDeclaration()
703 …auto *decl = Binder()->AddTsDecl<binder::TypeAliasDecl>(lexer_->GetToken().Start(), isDeclare, tsB… in ParseTsTypeAliasDeclaration()
752 const auto &bindings = Binder()->GetScope()->Bindings(); in ParseTsInterfaceDeclaration()
757 decl = Binder()->AddTsDecl<binder::InterfaceDecl>(lexer_->GetToken().Start(), isDeclare, in ParseTsInterfaceDeclaration()
760 Binder()->ThrowRedeclaration(lexer_->GetToken().Start(), ident); in ParseTsInterfaceDeclaration()
770 binder::LexicalScope<binder::LocalScope> localScope(Binder()); in ParseTsInterfaceDeclaration()
952 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); in ParseBlockStatement()
1076 IterationContext<binder::LoopScope> iterCtx(&context_, Binder()); in ParseDoWhileStatement()
1146 Binder()->AddDecl<binder::FunctionDecl>(startLoc, declflag, isDeclare, Allocator(), in ParseFunctionDeclaration()
1195 const auto &bindings = Binder()->GetScope()->Bindings(); in AddFunctionToBinder()
1202 … decl = Binder()->AddDecl<binder::FunctionDecl>(identNode->Start(), declflag, func->Declare(), in AddFunctionToBinder()
1206 Binder()->ThrowRedeclaration(startLoc, currentDecl->Name()); in AddFunctionToBinder()
1211 Binder()->ThrowRedeclaration(startLoc, currentDecl->Name()); in AddFunctionToBinder()
1220 Binder()->AddDecl<binder::FunctionDecl>(identNode->Start(), declflag, func->Declare(), in AddFunctionToBinder()
1475 IterationContext<binder::LoopScope> iterCtx(&context_, Binder()); in ParseForStatement()
1736 auto localCtx = binder::LexicalScope<binder::LocalScope>(Binder()); in ParseSwitchStatement()
1812 Binder()->AddParamDecl(param); in ParseCatchParam()
1841 auto catchParamCtx = binder::LexicalScope<binder::CatchParamScope>(Binder()); in ParseCatchClause()
1851 auto catchCtx = binder::LexicalScope<binder::CatchScope>(Binder()); in ParseCatchClause()
2058 … decl = Binder()->AddDecl<binder::VarDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2060 … decl = Binder()->AddDecl<binder::LetDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2062 … decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2135 IterationContext<binder::LoopScope> iterCtx(&context_, Binder()); in ParseWhileStatement()
2206 ASSERT(Binder()->GetScope()->IsTSModuleScope()); in AddExportNamedEntryItem()
2260 … auto *decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, binder::DeclarationFlags::EXPORT, in AddExportStarEntryItem()
2315 ASSERT(Binder()->GetScope()->IsTSModuleScope()); in AddExportLocalEntryItem()
2316 tsModuleScope = Binder()->GetScope()->AsTSModuleScope(); in AddExportLocalEntryItem()
2410 Binder()->AddDecl<binder::LetDecl>(declNode->Start(), binder::DeclarationFlags::EXPORT, in ParseExportDefaultDeclaration()
2766 return Binder()->AddTsDecl<binder::TypeAliasDecl>(startPos, flag, false, tsBinding.View()); in AddImportDecl()
2768 return Binder()->AddDecl<binder::ConstDecl>(startPos, flag, false, name); in AddImportDecl()
2885 …auto *decl = Binder()->AddDecl<binder::ImportEqualsDecl>(local->Start(), binder::DeclarationFlags:… in ParseImportDefaultSpecifier()
2888 auto *scope = Binder()->GetScope(); in ParseImportDefaultSpecifier()