| /arkcompiler/ets_frontend/ets2panda/linter/src/utils/functions/ |
| D | IsStdLibrary.ts | 26 const srcFile = sym.declarations[0].getSourceFile(); constant 27 return srcFile && STANDARD_LIBRARIES.includes(path.basename(srcFile.fileName).toLowerCase());
|
| D | GetScriptKind.ts | 19 export function getScriptKind(srcFile: ts.SourceFile): ts.ScriptKind { 20 const fileName = srcFile.fileName
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/ |
| D | LinterRunner.ts | 61 const srcFile = tsProgram.getSourceFile(inputFile); constant 62 if (srcFile) srcFiles.push(srcFile); 114 for (const srcFile of srcFiles) { constant 125 linter.lint(srcFile); 127 problemsInfos.set( path.normalize(srcFile.fileName), [...linter.problemsInfos]); 136 … nodeCounters, problemFiles, srcFile, fileVisitedNodes, fileErrorLines, fileWarningLines, linter
|
| /arkcompiler/ets_frontend/ets2panda/linter-4.2/src/ |
| D | LinterRunner.ts | 66 const srcFile = tsProgram.getSourceFile(inputFile); constant 67 if (srcFile) srcFiles.push(srcFile); 113 for (const srcFile of srcFiles) { constant 124 linter.lint(srcFile); 126 problemsInfos.set( path.normalize(srcFile.fileName), [...linter.problemsInfos]); 135 … nodeCounters, problemFiles, srcFile, fileVisitedNodes, fileErrorLines, fileWarningLines, linter
|
| D | Utils.ts | 1307 const srcFile = sym.declarations[0].getSourceFile(); constant 1309 if (!srcFile) { 1312 const fileName = srcFile.fileName 1321 const isTs = (ext === '.ts' && !srcFile.isDeclarationFile); 1327 !TsUtils.STANDARD_LIBRARIES.includes(path.basename(srcFile.fileName).toLowerCase()); 1338 public getScriptKind(srcFile: ts.SourceFile): ts.ScriptKind { 1339 const fileName = srcFile.fileName 1363 const srcFile = sym.declarations[0].getSourceFile(); constant 1364 return srcFile && 1365 TsUtils.STANDARD_LIBRARIES.includes(path.basename(srcFile.fileName).toLowerCase());
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | stacktrace.cpp | 125 std::string srcFile; in PrintFrame() local 127 … if (ReadDebugInfo(vma) && vma->debugInfo.GetSrcLocation(pcOffset, &function, &srcFile, &line)) { in PrintFrame() 128 PrintFrame(function, srcFile, line, out); in PrintFrame() 140 …void PrintFrame(const std::string &function, const std::string &srcFile, unsigned int line, std::o… in PrintFrame() argument 148 if (srcFile.empty()) { in PrintFrame() 151 out << srcFile; in PrintFrame()
|
| D | debug_info.cpp | 316 bool DebugInfo::GetSrcLocation(uintptr_t pc, std::string *function, std::string *srcFile, uint32_t … in GetSrcLocation() argument 355 GetSrcFileAndLine(pc, it->GetCu()->GetLineContext(), srcFile, line); in GetSrcLocation() 556 char *srcFile = nullptr; in GetSrcFileAndLine() local 557 if (dwarf_linesrc(line, &srcFile, nullptr) == DW_DLV_OK) { in GetSrcFileAndLine() 558 *outSrcFile = srcFile; in GetSrcFileAndLine() 559 DwarfGuard g(dbg_, srcFile, DW_DLA_STRING); in GetSrcFileAndLine() 561 dwarf_linesrc(line, &srcFile, nullptr); in GetSrcFileAndLine() 562 *outSrcFile = srcFile; in GetSrcFileAndLine() 563 DwarfGuard g(dbg_, srcFile, DW_DLA_STRING); in GetSrcFileAndLine()
|
| D | debug_info.h | 45 bool GetSrcLocation(uintptr_t pc, std::string *function, std::string *srcFile, uint32_t *line); 162 …bool GetSrcFileAndLine(uintptr_t pc, Dwarf_Line_Context lineCtx, std::string *srcFile, uint32_t *l…
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | lexicalBinder.ts | 37 private srcFile: ts.SourceFile; property in LexicalBinder 40 this.srcFile = src; 45 this.resolveIdentReference(this.srcFile, this.recorder.getScopeOfNode(this.srcFile));
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/utils/ |
| D | TsUtils.ts | 1003 const srcFile = sym.declarations[0].getSourceFile(); constant 1004 if (!srcFile) { 1007 const fileName = srcFile.fileName 1016 const isTs = (ext === '.ts' && !srcFile.isDeclarationFile);
|