Lines Matching refs:exportDecl
635 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDecl *decl)
637 decl->BindNode(exportDecl);
642 AddExportDecl(exportDecl, std::move(decls));
645 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDeclList &&decls)
647 auto res = exports_.emplace_back(exportDecl, decls);
650 decl->BindNode(exportDecl);
675 for (const auto &[exportDecl, decls] : exports_) {
676 if (exportDecl->IsExportAllDeclaration()) {
677 const auto *exportAllDecl = exportDecl->AsExportAllDeclaration();
691 if (exportDecl->IsExportNamedDeclaration()) {
692 const auto *exportNamedDecl = exportDecl->AsExportNamedDeclaration();