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

Function parseTypeParameters

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

Source from the content-addressed store, hash-verified

33439 return finishNode(node, pos);
33440 }
33441 function parseTypeParameters() {
33442 if (token() === 29 /* SyntaxKind.LessThanToken */) {
33443 return parseBracketedList(19 /* ParsingContext.TypeParameters */, parseTypeParameter, 29 /* SyntaxKind.LessThanToken */, 31 /* SyntaxKind.GreaterThanToken */);
33444 }
33445 }
33446 function isStartOfParameter(isJSDocParameter) {
33447 return token() === 25 /* SyntaxKind.DotDotDotToken */ ||
33448 isBindingIdentifierOrPrivateIdentifierOrPattern() ||

Calls 2

parseBracketedListFunction · 0.85
tokenFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…