(raw: string)
| 874 | function skipDirectiveComments(source: string, end: number): number { |
| 875 | while (end > 0) { |
| 876 | const lineStart = source.lastIndexOf("\n", end - 1) + 1 |
| 877 | if (!isSkippableDirectiveComment(source.slice(lineStart, end))) { |
| 878 | return end |
| 879 | } |
| 880 | end = skipWhitespace(source, lineStart) |
| 881 | } |
| 882 | return end |
| 883 | } |
| 884 | |
| 885 | /** |
| 886 | * Finds the JSDoc block immediately preceding an AST node. |
| 887 | * |
| 888 | * @category parsing |
no test coverage detected
searching dependent graphs…