MCPcopy Create free account
hub / github.com/Effect-TS/effect / diagnostic

Function diagnostic

packages/tools/jsdocs/src/Jsdocs.ts:480–482  ·  view source on GitHub ↗
(code: string, message: string)

Source from the content-addressed store, hash-verified

478const urlRegex = /^https?:\/\//
479
480function diagnostic(code: string, message: string): JSDocDiagnostic {
481 return { code, message }
482}
483
484function normalizePathName(filePath: string): string {
485 return filePath.replaceAll(path.sep, "/")

Callers 14

parseJSDocFunction · 0.85
parseCoreJSDocFunction · 0.85
parseDescriptionContentFunction · 0.85
parseSectionFunction · 0.85
parseExampleFunction · 0.85
parseModuleExamplesFunction · 0.85
buildTagsFunction · 0.85
validateExampleImportsFunction · 0.85
addJSDocLinkDiagnosticsFunction · 0.85
parseDocumentedTsFunction · 0.85
parseNamespaceTsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected