Home
last modified time | relevance | path

Searched refs:exportAllDecl (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp281 void ScopesInitPhase::VisitExportAllDeclaration(ir::ExportAllDeclaration *exportAllDecl) in VisitExportAllDeclaration() argument
283 Iterate(exportAllDecl); in VisitExportAllDeclaration()
284 const auto name = exportAllDecl->Exported() != nullptr ? exportAllDecl->Exported()->Name() : "*"; in VisitExportAllDeclaration()
286 AddOrGetDecl<varbinder::ExportDecl>(VarBinder(), name, exportAllDecl, exportAllDecl->Start(), name, "*"); in VisitExportAllDeclaration()
287 VarBinder()->GetScope()->AsModuleScope()->AddExportDecl(exportAllDecl, decl); in VisitExportAllDeclaration()
H A DscopesInitPhase.h109 void VisitExportAllDeclaration(ir::ExportAllDeclaration *exportAllDecl) override;
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dscope.cpp677 const auto *exportAllDecl = exportDecl->AsExportAllDeclaration(); in ExportAnalysis() local
679 if (exportAllDecl->Exported() == nullptr) { in ExportAnalysis()
683 auto result = exportedNames.insert(exportAllDecl->Exported()->Name()); in ExportAnalysis()

Completed in 6 milliseconds