• Home
  • Raw
  • Download

Lines Matching refs:SourceTextModule

45 class SourceTextModule final : public ModuleRecord {
52 CAST_CHECK(SourceTextModule, IsSourceTextModule);
56 … const JSHandle<SourceTextModule> &module,
59 … const JSHandle<SourceTextModule> &module,
63 …static CVector<std::string> GetExportedNames(JSThread *thread, const JSHandle<SourceTextModule> &m…
67 …static JSHandle<JSTaggedValue> ResolveExport(JSThread *thread, const JSHandle<SourceTextModule> &m…
69 CVector<std::pair<JSHandle<SourceTextModule>, JSHandle<JSTaggedValue>>> &resolveVector);
70 …ndle<JSTaggedValue> ResolveExportObject(JSThread *thread, const JSHandle<SourceTextModule> &module,
75 const JSHandle<ModuleRecord> &moduleRecord, CVector<JSHandle<SourceTextModule>> &stack,
79 …static void ModuleDeclarationEnvironmentSetup(JSThread *thread, const JSHandle<SourceTextModule> &…
80 …ModuleDeclarationArrayEnvironmentSetup(JSThread *thread, const JSHandle<SourceTextModule> &module);
84 CVector<JSHandle<SourceTextModule>> &stack, int index, const void *buffer = nullptr,
87 CVector<JSHandle<SourceTextModule>> &stack, int index);
90 static void ModuleExecution(JSThread *thread, const JSHandle<SourceTextModule> &module,
94 …ndle<JSTaggedValue> GetModuleNamespace(JSThread *thread, const JSHandle<SourceTextModule> &module);
96 static void AddImportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
98 static void AddLocalExportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
100 static void AddIndirectExportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
102 static void AddStarExportEntry(JSThread *thread, const JSHandle<SourceTextModule> &module,
109 static bool LoadNativeModule(JSThread *thread, JSHandle<SourceTextModule> &requiredModule,
154 static int Evaluate(JSThread *thread, const JSHandle<SourceTextModule> &module,
156 static int EvaluateForConcurrent(JSThread *thread, const JSHandle<SourceTextModule> &module);
161 static void InstantiateCJS(JSThread *thread, const JSHandle<SourceTextModule> &currentModule,
162 const JSHandle<SourceTextModule> &requiredModule);
163 static void InstantiateNativeModule(JSThread *thread, JSHandle<SourceTextModule> &currentModule,
164 JSHandle<SourceTextModule> &requiredModule,
175 const JSHandle<SourceTextModule> &module,
176 … CVector<std::pair<JSHandle<SourceTextModule>,
183 … const JSHandle<JSTaggedValue> &moduleRequest, const JSHandle<SourceTextModule> &module,
187 const JSHandle<SourceTextModule> &module,
189 CVector<std::pair<JSHandle<SourceTextModule>,
195 const JSHandle<SourceTextModule> &module);
199 const JSHandle<SourceTextModule> &module);
200 static bool CheckCircularImport(const JSHandle<SourceTextModule> &module,
202 CVector<std::pair<JSHandle<SourceTextModule>, JSHandle<JSTaggedValue>>> &resolveVector);
203 …static void InitializeEnvironment(JSThread *thread, const JSHandle<SourceTextModule> &currentModul…
206 static void CheckResolvedBinding(JSThread *thread, const JSHandle<SourceTextModule> &module);
207 … static void CheckResolvedIndexBinding(JSThread *thread, const JSHandle<SourceTextModule> &module);
210 …static JSHandle<SourceTextModule> GetModuleFromBinding(JSThread *thread, const JSTaggedValue &JSTa…