Lines Matching defs:jsPandaFile
90 // Get local jsPandaFile's dirPath
91 const JSPandaFile *jsPandaFile = EcmaInterpreter::GetNativeCallPandafile(thread);
92 if (jsPandaFile == nullptr) {
93 LOG_ECMA(FATAL) << "CJS REQUIRE FAIL : jsPandaFile is null";
96 CString filename = jsPandaFile->GetJSPandaFileDesc();
102 if (jsPandaFile->IsBundlePack()) {
103 ModulePathHelper::ResolveCurrentPath(parent, dirname, jsPandaFile);
109 requestEntryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile, filename,
131 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(requestEntryPoint, &recordInfo);
136 if (jsPandaFile->IsJson(recordInfo)) {
138 ModuleDataExtractor::JsonParse(thread, jsPandaFile, requestEntryPoint));
154 LOG_ECMA(FATAL) << "CJS REQUIRE FAIL : Can not obtain module, after executing required jsPandaFile";
162 std::shared_ptr<JSPandaFile> jsPandaFile =
164 if (jsPandaFile == nullptr) {
167 JSPandaFileExecutor::Execute(thread, jsPandaFile.get(), requestEntryPoint);