Lines Matching defs:extractor
85 DebugInfoExtractor *extractor = GetExtractor(jsPandaFile);
86 if (extractor == nullptr) {
93 const std::string &source = extractor->GetSourceCode(mainMethodIndex);
94 const std::string &url = extractor->GetSourceFile(mainMethodIndex);
168 DebugInfoExtractor *extractor = JSPandaFileManager::GetInstance()->GetJSPtExtractor(jsPandaFile);
169 if (extractor == nullptr) {
170 LOG_DEBUGGER(ERROR) << "extractor is nullptr";
174 const std::string &url = extractor->GetSourceFile(methodId);
178 const std::string &source = extractor->GetSourceCode(methodId);
242 DebugInfoExtractor *extractor = nullptr;
244 auto scriptFunc = [this, &extractor, jsPandaFile](PtScript *) -> bool {
245 extractor = GetExtractor(jsPandaFile);
251 if (!MatchScripts(scriptFunc, fileName.c_str(), ScriptMatchType::FILE_NAME) || extractor == nullptr) {
261 if (extractor->MatchLineWithOffset(callbackFunc, methodId, offset)) {
301 DebugInfoExtractor *extractor = nullptr;
302 auto scriptFunc = [this, &location, &detail, &extractor](PtScript *script) -> bool {
304 extractor = GetExtractor(location->GetJsPandaFile());
319 extractor == nullptr || !extractor->MatchLineWithOffset(callbackLineFunc, methodId, offset) ||
320 !extractor->MatchColumnWithOffset(callbackColumnFunc, methodId, offset)) {
1116 for (auto extractor : extractors) {
1117 if (extractor == nullptr) {
1118 LOG_DEBUGGER(DEBUG) << "GetPossibleBreakpoints: extractor is null";
1127 if (extractor->MatchWithLocation(callbackFunc, line, column, url, GetRecordName(url))) {
1177 for (auto extractor : extractors) {
1178 if (extractor == nullptr) {
1179 LOG_DEBUGGER(DEBUG) << "RemoveBreakpoint: extractor is null";
1187 if (!extractor->MatchWithLocation(callbackFunc, metaData.line_, metaData.column_,
1272 for (auto extractor : extractors) {
1273 if (extractor == nullptr) {
1274 LOG_DEBUGGER(DEBUG) << "SetBreakpointByUrl: extractor is null";
1290 if (!extractor->MatchWithLocation(callbackFunc, lineNumber, columnNumber, url, GetRecordName(url))) {
1349 for (auto extractor : extractors) {
1350 if (extractor == nullptr) {
1351 LOG_DEBUGGER(DEBUG) << "GetPossibleAndSetBreakpointByUrl: extractor is null";
1366 if (!extractor->MatchWithLocation(matchLocationCbFunc, lineNumber, columnNumber, url, GetRecordName(url))) {
1627 DebugInfoExtractor *extractor = JSPandaFileManager::GetInstance()->GetJSPtExtractor(jsPandaFile);
1628 if (extractor == nullptr) {
1629 LOG_DEBUGGER(DEBUG) << "GetPossibleBreakpoints: extractor is null";
1632 extractors.emplace_back(extractor);
1676 DebugInfoExtractor *extractor = GetExtractor(jsPandaFile);
1677 if (extractor == nullptr) {
1678 LOG_DEBUGGER(DEBUG) << "GenerateCallFrame: extractor is null";
1687 std::string url = extractor->GetSourceFile(methodId);
1704 if (!extractor->MatchLineWithOffset(callbackLineFunc, methodId, DebuggerApi::GetBytecodeOffset(frameHandler)) ||
1705 !extractor->MatchColumnWithOffset(callbackColumnFunc, methodId, DebuggerApi::GetBytecodeOffset(frameHandler))) {
1756 DebugInfoExtractor *extractor = GetExtractor(jsPandaFile);
1757 if (extractor == nullptr) {
1758 LOG_DEBUGGER(ERROR) << "GetScopeChain: extractor is null";
1779 const LineNumberTable &lines = extractor->GetLineNumberTable(methodId);
1791 if (MatchScripts(scriptFunc, extractor->GetSourceFile(methodId), ScriptMatchType::URL)) {
1808 DebugInfoExtractor *extractor = GetExtractor(jsPandaFile);
1811 if (extractor == nullptr) {
1812 LOG_DEBUGGER(ERROR) << "GetClosureScopeChains: extractor is null";
1879 if (MatchScripts(scriptFunc, extractor->GetSourceFile(methodId), ScriptMatchType::URL)) {
1921 auto *extractor = GetExtractor(jsPandaFile);
1924 for (const auto &localVariableInfo : extractor->GetLocalVariableTable(methodId)) {
2028 DebugInfoExtractor *extractor = GetExtractor(DebuggerApi::GetJSPandaFile(vm_));
2029 if (extractor == nullptr) {