/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_manager_helper.cpp | 71 JSTaggedValue bindingName) in GetModuleValue() 76 bindingName, thread->GlobalConstants()->GetHandledDefaultString().GetTaggedValue()))) { in GetModuleValue() 82 bindingName, in GetModuleValue() 202 JSHandle<SourceTextModule> requiredModule, int32_t index, JSTaggedValue bindingName) in UpdateBindingAndGetModuleValue() 211 JSHandle<JSTaggedValue> exportName(thread, bindingName); in UpdateBindingAndGetModuleValue() 221 ModulePathHelper::Utf8ConvertToString(bindingName) + in UpdateBindingAndGetModuleValue() 70 GetModuleValue(JSThread *thread, JSHandle<SourceTextModule> module, JSTaggedValue bindingName) GetModuleValue() argument 201 UpdateBindingAndGetModuleValue(JSThread *thread, JSHandle<SourceTextModule> module, JSHandle<SourceTextModule> requiredModule, int32_t index, JSTaggedValue bindingName) UpdateBindingAndGetModuleValue() argument
|
H A D | module_manager_helper.h | 29 JSTaggedValue bindingName); 61 JSHandle<SourceTextModule> requiredModule, int32_t index, JSTaggedValue bindingName);
|
H A D | js_shared_module.cpp | 70 JSHandle<JSTaggedValue> bindingName(thread, resolvedBinding->GetBindingName()); in CloneRecordNameBinding() 72 factory->NewSResolvedBindingRecord(resolvedModule, bindingName)); in CloneRecordNameBinding() 77 JSHandle<JSTaggedValue> bindingName(thread, resolvedBinding->GetBindingName()); in CloneRecordNameBinding() 78 return JSHandle<JSTaggedValue>::Cast(factory->NewSResolvedRecordBindingRecord(record, bindingName)); in CloneRecordNameBinding()
|
/arkcompiler/ets_frontend/ets2panda/evaluate/ |
H A D | pathResolver.h | 38 std::string_view FindNamedImportAll(std::string_view filePath, std::string_view bindingName);
|
H A D | pathResolver.cpp | 85 std::string_view PathResolver::FindNamedImportAll(std::string_view filePath, std::string_view bindingName) in FindNamedImportAll() argument 94 auto optEntity = imports.find(bindingName); in FindNamedImportAll()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | ETSBinder.cpp | 513 for (const auto [bindingName, var] : globalBindings) { in ImportAllForeignBindings() 514 if (bindingName.Is(compiler::Signatures::ETS_GLOBAL)) { in ImportAllForeignBindings() 520 if (!importGlobalScope->IsForeignBinding(bindingName) && !var->Declaration()->Node()->IsDefaultExported() && in ImportAllForeignBindings() 523 auto variable = Program()->GlobalClassScope()->FindLocal(bindingName, ResolveBindingOptions::ALL); in ImportAllForeignBindings() 531 ThrowError(import->Source()->Start(), RedeclarationErrorMessageAssembler(var, variable, bindingName)); in ImportAllForeignBindings() 533 InsertForeignBinding(specifier, import, bindingName, var); in ImportAllForeignBindings() 537 for (const auto [bindingName, var] : importProgram->GlobalClassScope()->StaticMethodScope()->Bindings()) { in ImportAllForeignBindings() 539 InsertForeignBinding(specifier, import, bindingName, var); in ImportAllForeignBindings() 543 for (const auto [bindingName, var] : importProgram->GlobalClassScope()->StaticFieldScope()->Bindings()) { in ImportAllForeignBindings() 545 InsertForeignBinding(specifier, import, bindingName, va in ImportAllForeignBindings() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | shared_object_factory.cpp | 842 JSHandle<JSTaggedValue> bindingName(undefinedValue); in NewSResolvedBindingRecord() 843 return NewSResolvedBindingRecord(ecmaModule, bindingName); in NewSResolvedBindingRecord() 847 const JSHandle<JSTaggedValue> &bindingName) in NewSResolvedBindingRecord() 854 obj->SetBindingName(thread_, bindingName); in NewSResolvedBindingRecord() 884 JSHandle<JSTaggedValue> bindingName(undefinedValue); in NewSResolvedRecordBindingRecord() 885 return NewSResolvedRecordBindingRecord(ecmaModule, bindingName); in NewSResolvedRecordBindingRecord() 889 const JSHandle<EcmaString> &moduleRecord, const JSHandle<JSTaggedValue> &bindingName) in NewSResolvedRecordBindingRecord() 896 obj->SetBindingName(thread_, bindingName); in NewSResolvedRecordBindingRecord() 846 NewSResolvedBindingRecord(const JSHandle<SourceTextModule> &module, const JSHandle<JSTaggedValue> &bindingName) NewSResolvedBindingRecord() argument 888 NewSResolvedRecordBindingRecord( const JSHandle<EcmaString> &moduleRecord, const JSHandle<JSTaggedValue> &bindingName) NewSResolvedRecordBindingRecord() argument
|
H A D | object_factory.h | 693 const JSHandle<JSTaggedValue> &bindingName); 840 const JSHandle<JSTaggedValue> &bindingName); 850 const JSHandle<EcmaString> &moduleRecord, const JSHandle<JSTaggedValue> &bindingName);
|
H A D | object_factory.cpp | 4737 JSHandle<JSTaggedValue> bindingName(undefinedValue); in NewResolvedBindingRecord() 4738 return NewResolvedBindingRecord(ecmaModule, bindingName); in NewResolvedBindingRecord() 4742 const JSHandle<JSTaggedValue> &bindingName) in NewResolvedBindingRecord() 4749 obj->SetBindingName(thread_, bindingName); in NewResolvedBindingRecord() 4741 NewResolvedBindingRecord(const JSHandle<SourceTextModule> &module, const JSHandle<JSTaggedValue> &bindingName) NewResolvedBindingRecord() argument
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | helpers.cpp | 1391 for (auto [bindingName, var] : etsBinder->TopScope()->Bindings()) { in SetrModuleObjectTsType() 1392 if (bindingName.Is(local->Name().Mutf8())) { in SetrModuleObjectTsType()
|