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

Function parseTokenNode

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

Source from the content-addressed store, hash-verified

32283 createMissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t));
32284 }
32285 function parseTokenNode() {
32286 var pos = getNodePos();
32287 var kind = token();
32288 nextToken();
32289 return finishNode(factory.createToken(kind), pos);
32290 }
32291 function parseTokenNodeJSDoc() {
32292 var pos = getNodePos();
32293 var kind = token();

Callers 14

parseJsonTextFunction · 0.85
parseSourceFileWorkerFunction · 0.85
parseOptionalTokenFunction · 0.85
parseMappedTypeFunction · 0.85
parseKeywordAndNoDotFunction · 0.85
parseLiteralTypeNodeFunction · 0.85
parseNonArrayTypeFunction · 0.85
parseSuperExpressionFunction · 0.85
parseJsxElementNameFunction · 0.85

Calls 4

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…