Home
last modified time | relevance | path

Searched refs:insRes (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/varbinder/
H A DETSBinder.cpp1096 const auto insRes = TopScope()->InsertForeignBinding(name, var); in ImportGlobalPropertiesForNotDefaultedExports() local
1097 if (!(!insRes.second && insRes.first != TopScope()->Bindings().end()) || !(insRes.first->second != var)) { in ImportGlobalPropertiesForNotDefaultedExports()
1100 if (insRes.first->second->Declaration()->IsFunctionDecl() && var->Declaration()->IsFunctionDecl()) { in ImportGlobalPropertiesForNotDefaultedExports()
1101 AddOverloadFlag(Allocator(), isStdLib, var, insRes.first->second); in ImportGlobalPropertiesForNotDefaultedExports()
1105 ThrowError(classElement->Id()->Start(), RedeclarationErrorMessageAssembler(var, insRes.first->second, name.Utf8())); in ImportGlobalPropertiesForNotDefaultedExports()
H A Dscope.cpp529 const auto insRes = Scope::TryInsertBinding(name, var); in TryInsertBinding() local
530 if (insRes.second) { in TryInsertBinding()
535 return insRes; in TryInsertBinding()
570 const auto insRes = Scope::InsertBinding(name, var); in InsertImpl() local
571 if (insRes.second) { in InsertImpl()
576 return insRes; in InsertImpl()

Completed in 6 milliseconds