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

Function parseModifiersForConstructorType

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

Source from the content-addressed store, hash-verified

33864 return finishNode(factory.createParenthesizedType(type), pos);
33865 }
33866 function parseModifiersForConstructorType() {
33867 var modifiers;
33868 if (token() === 126 /* SyntaxKind.AbstractKeyword */) {
33869 var pos = getNodePos();
33870 nextToken();
33871 var modifier = finishNode(factory.createToken(126 /* SyntaxKind.AbstractKeyword */), pos);
33872 modifiers = createNodeArray([modifier], pos);
33873 }
33874 return modifiers;
33875 }
33876 function parseFunctionOrConstructorType() {
33877 var pos = getNodePos();
33878 var hasJSDoc = hasPrecedingJSDocComment();

Callers 1

Calls 5

getNodePosFunction · 0.85
nextTokenFunction · 0.85
finishNodeFunction · 0.85
createNodeArrayFunction · 0.85
tokenFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…