Does not include line breaks. For that, see isWhiteSpaceLike.
(ch)
| 10391 | ts.isWhiteSpaceLike = isWhiteSpaceLike; |
| 10392 | /** Does not include line breaks. For that, see isWhiteSpaceLike. */ |
| 10393 | function isWhiteSpaceSingleLine(ch) { |
| 10394 | // Note: nextLine is in the Zs space, and should be considered to be a whitespace. |
| 10395 | // It is explicitly not a line-break as it isn't in the exact set specified by EcmaScript. |
| 10396 | return ch === 32 /* CharacterCodes.space */ || |
| 10397 | ch === 9 /* CharacterCodes.tab */ || |
| 10398 | ch === 11 /* CharacterCodes.verticalTab */ || |
| 10399 | ch === 12 /* CharacterCodes.formFeed */ || |
| 10400 | ch === 160 /* CharacterCodes.nonBreakingSpace */ || |
| 10401 | ch === 133 /* CharacterCodes.nextLine */ || |
| 10402 | ch === 5760 /* CharacterCodes.ogham */ || |
| 10403 | ch >= 8192 /* CharacterCodes.enQuad */ && ch <= 8203 /* CharacterCodes.zeroWidthSpace */ || |
| 10404 | ch === 8239 /* CharacterCodes.narrowNoBreakSpace */ || |
| 10405 | ch === 8287 /* CharacterCodes.mathematicalSpace */ || |
| 10406 | ch === 12288 /* CharacterCodes.ideographicSpace */ || |
| 10407 | ch === 65279 /* CharacterCodes.byteOrderMark */; |
| 10408 | } |
| 10409 | ts.isWhiteSpaceSingleLine = isWhiteSpaceSingleLine; |
| 10410 | function isLineBreak(ch) { |
| 10411 | // ES5 7.3: |
no outgoing calls
no test coverage detected
searching dependent graphs…