(location: SourceLocation)
| 60 | export const getProjectPath = (): string | undefined => (window as any)[WINDOW_PROJECTPATH_PROPERTY] |
| 61 | |
| 62 | export function getSourceCodeData(location: SourceLocation): SourceCodeData | undefined { |
| 63 | |
| 64 | let project_path = getProjectPath() |
| 65 | if (project_path == null) return |
| 66 | |
| 67 | return {...location, projectPath: project_path} |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Validates and parses a location string to a {@link SourceLocation} object |
nothing calls this directly
no test coverage detected
searching dependent graphs…