()
| 37604 | } |
| 37605 | } |
| 37606 | function isNextNonwhitespaceTokenEndOfFile() { |
| 37607 | // We must use infinite lookahead, as there could be any number of newlines :( |
| 37608 | while (true) { |
| 37609 | nextTokenJSDoc(); |
| 37610 | if (token() === 1 /* SyntaxKind.EndOfFileToken */) { |
| 37611 | return true; |
| 37612 | } |
| 37613 | if (!(token() === 5 /* SyntaxKind.WhitespaceTrivia */ || token() === 4 /* SyntaxKind.NewLineTrivia */)) { |
| 37614 | return false; |
| 37615 | } |
| 37616 | } |
| 37617 | } |
| 37618 | function skipWhitespace() { |
| 37619 | if (token() === 5 /* SyntaxKind.WhitespaceTrivia */ || token() === 4 /* SyntaxKind.NewLineTrivia */) { |
| 37620 | if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) { |
nothing calls this directly
no test coverage detected