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

Function parseTypeParameterOfInferType

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

Source from the content-addressed store, hash-verified

34118 }
34119 }
34120 function parseTypeParameterOfInferType() {
34121 var pos = getNodePos();
34122 var name = parseIdentifier();
34123 var constraint = tryParse(tryParseConstraintOfInferType);
34124 var node = factory.createTypeParameterDeclaration(/*modifiers*/ undefined, name, constraint);
34125 return finishNode(node, pos);
34126 }
34127 function parseInferType() {
34128 var pos = getNodePos();
34129 parseExpected(137 /* SyntaxKind.InferKeyword */);

Callers 1

parseInferTypeFunction · 0.85

Calls 4

getNodePosFunction · 0.85
parseIdentifierFunction · 0.85
tryParseFunction · 0.85
finishNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…