| 190 | } |
| 191 | |
| 192 | std::shared_ptr<hippy::napi::CtxValue> Scope::GetModuleValue( |
| 193 | const std::string& moduleName) { |
| 194 | auto it = module_value_map_.find(moduleName); |
| 195 | return it != module_value_map_.end() ? it->second : nullptr; |
| 196 | } |
| 197 | |
| 198 | void Scope::AddModuleValue(const std::string& name, |
| 199 | std::shared_ptr<CtxValue> value) { |
no test coverage detected