• Home
  • Raw
  • Download

Lines Matching refs:SourceTextModule

37 class SourceTextModule final : public ModuleRecord {
41 CAST_CHECK(SourceTextModule, IsSourceTextModule);
45 … const JSHandle<SourceTextModule> &module,
48 …JSThread *thread, const JSHandle<SourceTextModule> &module, const JSHandle<JSTaggedValue> &moduleR…
51 …static CVector<std::string> GetExportedNames(JSThread *thread, const JSHandle<SourceTextModule> &m…
55 …static JSHandle<JSTaggedValue> ResolveExport(JSThread *thread, const JSHandle<SourceTextModule> &m…
57 CVector<std::pair<JSHandle<SourceTextModule>, JSHandle<JSTaggedValue>>> &resolveVector);
58 …ndle<JSTaggedValue> ResolveExportObject(JSThread *thread, const JSHandle<SourceTextModule> &module,
63 CVector<JSHandle<SourceTextModule>> &stack, int index);
66 …static void ModuleDeclarationEnvironmentSetup(JSThread *thread, const JSHandle<SourceTextModule> &…
67 …ModuleDeclarationArrayEnvironmentSetup(JSThread *thread, const JSHandle<SourceTextModule> &module);
71 CVector<JSHandle<SourceTextModule>> &stack, int index, const void *buffer = nullptr,
74 CVector<JSHandle<SourceTextModule>> &stack, int index);
77 static void ModuleExecution(JSThread *thread, const JSHandle<SourceTextModule> &module,
81 …ndle<JSTaggedValue> GetModuleNamespace(JSThread *thread, const JSHandle<SourceTextModule> &module);
83 static void AddImportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
85 static void AddLocalExportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
87 static void AddIndirectExportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
89 static void AddStarExportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
121 static int Evaluate(JSThread *thread, const JSHandle<SourceTextModule> &module,
123 static int EvaluateForConcurrent(JSThread *thread, const JSHandle<SourceTextModule> &module);
127 static void InstantiateCJS(JSThread *thread, const JSHandle<SourceTextModule> &currentModule,
128 const JSHandle<SourceTextModule> &requiredModule);
129 static void InstantiateNativeModule(JSThread *thread, JSHandle<SourceTextModule> &currentModule,
130 JSHandle<SourceTextModule> &requiredModule, const JSHandle<JSTaggedValue> &moduleRequest,
140 const JSHandle<SourceTextModule> &module,
141 … CVector<std::pair<JSHandle<SourceTextModule>,
147 … const JSHandle<JSTaggedValue> &moduleRequest, const JSHandle<SourceTextModule> &module,
151 const JSHandle<SourceTextModule> &module,
153 CVector<std::pair<JSHandle<SourceTextModule>,
159 const JSHandle<SourceTextModule> &module);
163 const JSHandle<SourceTextModule> &module);
164 static bool CheckCircularImport(const JSHandle<SourceTextModule> &module,
166 CVector<std::pair<JSHandle<SourceTextModule>, JSHandle<JSTaggedValue>>> &resolveVector);
167 …static void InitializeEnvironment(JSThread *thread, const JSHandle<SourceTextModule> &currentModul…
170 static void CheckResolvedBinding(JSThread *thread, const JSHandle<SourceTextModule> &module);
171 … static void CheckResolvedIndexBinding(JSThread *thread, const JSHandle<SourceTextModule> &module);
174 …static JSHandle<SourceTextModule> GetModuleFromBinding(JSThread *thread, const JSTaggedValue &JSTa…