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

Function tryParseTypeArguments

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

Source from the content-addressed store, hash-verified

36919 return finishNode(factory.createExpressionWithTypeArguments(expression, typeArguments), pos);
36920 }
36921 function tryParseTypeArguments() {
36922 return token() === 29 /* SyntaxKind.LessThanToken */ ?
36923 parseBracketedList(20 /* ParsingContext.TypeArguments */, parseType, 29 /* SyntaxKind.LessThanToken */, 31 /* SyntaxKind.GreaterThanToken */) : undefined;
36924 }
36925 function isHeritageClause() {
36926 return token() === 94 /* SyntaxKind.ExtendsKeyword */ || token() === 117 /* SyntaxKind.ImplementsKeyword */;
36927 }

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…