MCPcopy Create free account
hub / github.com/nodejs/node / isTripleSlashComment

Function isTripleSlashComment

test/fixtures/snapshot/typescript.js:115022–115024  ·  view source on GitHub ↗

* Determine if the given comment is a triple-slash * * @return true if the comment is a triple-slash comment else false

(commentPos, commentEnd)

Source from the content-addressed store, hash-verified

115020 * @return true if the comment is a triple-slash comment else false
115021 */
115022 function isTripleSlashComment(commentPos, commentEnd) {
115023 return !!currentSourceFile && ts.isRecognizedTripleSlashComment(currentSourceFile.text, commentPos, commentEnd);
115024 }
115025 // Source Maps
115026 function getParsedSourceMap(node) {
115027 if (node.parsedSourceMap === undefined && node.sourceMapText !== undefined) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected