Optionally, get the shebang
(text)
| 10766 | ts.getTrailingCommentRanges = getTrailingCommentRanges; |
| 10767 | /** Optionally, get the shebang */ |
| 10768 | function getShebang(text) { |
| 10769 | var match = shebangTriviaRegex.exec(text); |
| 10770 | if (match) { |
| 10771 | return match[0]; |
| 10772 | } |
| 10773 | } |
| 10774 | ts.getShebang = getShebang; |
| 10775 | function isIdentifierStart(ch, languageVersion) { |
| 10776 | return ch >= 65 /* CharacterCodes.A */ && ch <= 90 /* CharacterCodes.Z */ || ch >= 97 /* CharacterCodes.a */ && ch <= 122 /* CharacterCodes.z */ || |
no test coverage detected