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

Function isIndexSignature

test/fixtures/snapshot/typescript.js:33603–33605  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33601 return withJSDoc(finishNode(node, pos), hasJSDoc);
33602 }
33603 function isIndexSignature() {
33604 return token() === 22 /* SyntaxKind.OpenBracketToken */ && lookAhead(isUnambiguouslyIndexSignature);
33605 }
33606 function isUnambiguouslyIndexSignature() {
33607 // The only allowed sequence is:
33608 //

Callers 2

parseTypeMemberFunction · 0.85
parseClassElementFunction · 0.85

Calls 2

lookAheadFunction · 0.85
tokenFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…