()
| 32303 | return token() === 19 /* SyntaxKind.CloseBraceToken */ || token() === 1 /* SyntaxKind.EndOfFileToken */ || scanner.hasPrecedingLineBreak(); |
| 32304 | } |
| 32305 | function tryParseSemicolon() { |
| 32306 | if (!canParseSemicolon()) { |
| 32307 | return false; |
| 32308 | } |
| 32309 | if (token() === 26 /* SyntaxKind.SemicolonToken */) { |
| 32310 | // consume the semicolon if it was explicitly provided. |
| 32311 | nextToken(); |
| 32312 | } |
| 32313 | return true; |
| 32314 | } |
| 32315 | function parseSemicolon() { |
| 32316 | return tryParseSemicolon() || parseExpected(26 /* SyntaxKind.SemicolonToken */); |
| 32317 | } |
no test coverage detected