MCPcopy Index your code
hub / github.com/nodejs/node / hasInternalAnnotation

Function hasInternalAnnotation

test/fixtures/snapshot/typescript.js:108039–108042  ·  view source on GitHub ↗
(range, currentSourceFile)

Source from the content-addressed store, hash-verified

108037 }
108038 ts.getDeclarationDiagnostics = getDeclarationDiagnostics;
108039 function hasInternalAnnotation(range, currentSourceFile) {
108040 var comment = currentSourceFile.text.substring(range.pos, range.end);
108041 return ts.stringContains(comment, "@internal");
108042 }
108043 function isInternalDeclaration(node, currentSourceFile) {
108044 var parseTreeNode = ts.getParseTreeNode(node);
108045 if (parseTreeNode && parseTreeNode.kind === 164 /* SyntaxKind.Parameter */) {

Callers 1

isInternalDeclarationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…