Lines Matching defs:resolution

178         JSHandle<JSTaggedValue> resolution(thread, JSTaggedValue::Hole());
186 resolution = ResolveElementOfObject(thread, jsHclass, exportName, module);
192 resolution = JSHandle<JSTaggedValue>::Cast(factory->NewResolvedIndexBindingRecord(module, entry));
195 if (!resolution->IsUndefined()) {
196 return resolution;
250 JSHandle<JSTaggedValue> resolution = ResolveLocalExport(thread, localExportEntriesTv, exportName, module);
251 if (!resolution->IsUndefined()) {
252 return resolution;
258 JSHandle<JSTaggedValue> resolution = ResolveIndirectExport(thread, indirectExportEntriesTv,
261 if (!resolution->IsUndefined()) {
262 return resolution;
730 // i. Let resolution be ? importedModule.ResolveExport(in.[[ImportName]], « »).
732 JSHandle<JSTaggedValue> resolution =
735 // ii. If resolution is null or "ambiguous", throw a SyntaxError exception.
736 if (resolution->IsNull() || resolution->IsString()) {
738 CString msg = "the requested module '" + requestMod + GetResolveErrorReason(resolution) +
749 // in.[[LocalName]], resolution.[[Module]], resolution.[[BindingName]]).
751 JSHandle<NameDictionary> newMap = NameDictionary::Put(thread, mapHandle, localName, resolution,
827 // i. Let resolution be ? importedModule.ResolveExport(in.[[ImportName]], « »).
829 JSHandle<JSTaggedValue> resolution =
832 // ii. If resolution is null or "ambiguous", throw a SyntaxError exception.
833 if (resolution->IsNull() || resolution->IsString()) {
835 CString msg = "the requested module '" + requestMod + GetResolveErrorReason(resolution) +
847 // in.[[LocalName]], resolution.[[Module]], resolution.[[BindingName]]).
848 envRec->Set(thread, idx, resolution);
876 // i. Let resolution be ? module.ResolveExport(name, « »).
879 JSHandle<JSTaggedValue> resolution =
882 // ii. If resolution is a ResolvedBinding Record, append name to unambiguousNames.
883 if (resolution->IsModuleBinding()) {
1416 JSTaggedValue resolution = FindByExport(exportEntriesTv, key, dictionary);
1417 if (!resolution.IsHole()) {
1418 return resolution;
1549 // b. Let resolution be ? importedModule.ResolveExport(exportName, resolveVector).
1552 JSHandle<JSTaggedValue> resolution;
1554 resolution = isNativeModule
1558 resolution = SourceTextModule::ResolveExport(thread, importedModule, exportName, resolveVector);
1562 // c. If resolution is "ambiguous", return "ambiguous".
1563 if (resolution->IsString()) { // if resolution is string, resolution must be "ambiguous"
1566 // d. If resolution is not null, then
1567 if (resolution->IsNull()) {
1570 // i. Assert: resolution is a ResolvedBinding Record.
1571 ASSERT(resolution->IsResolvedBinding() || resolution->IsResolvedIndexBinding());
1572 // ii. If starResolution is null, set starResolution to resolution.
1574 starResolution.Update(resolution.GetTaggedValue());
1577 // 2. If resolution.[[Module]] and starResolution.[[Module]] are not the same Module Record or
1579 // resolution.[[BindingName]], starResolution.[[BindingName]]) is false, return "ambiguous".
1581 if (resolution->IsResolvedBinding()) {
1582 JSHandle<ResolvedBinding> resolutionBd = JSHandle<ResolvedBinding>::Cast(resolution);
1590 JSHandle<ResolvedIndexBinding> resolutionBd = JSHandle<ResolvedIndexBinding>::Cast(resolution);
1598 return resolution;
1720 // a. Let resolution be ? module.ResolveExport(e.[[ExportName]], « »).
1723 JSHandle<JSTaggedValue> resolution =
1726 // b. If resolution is null or "ambiguous", throw a SyntaxError exception.
1727 if (resolution->IsNull() || resolution->IsString()) {
1729 CString msg = "the requested module '" + requestMod + GetResolveErrorReason(resolution) +
1739 // c. Assert: resolution is a ResolvedBinding Record.
1740 ASSERT(resolution->IsResolvedBinding());
1759 // a. Let resolution be ? module.ResolveExport(e.[[ExportName]], « »).
1762 JSHandle<JSTaggedValue> resolution =
1765 // b. If resolution is null or "ambiguous", throw a SyntaxError exception.
1766 if (resolution->IsNull() || resolution->IsString()) {
1768 CString msg = "the requested module '" + requestMod + GetResolveErrorReason(resolution) +