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

Function parseExpectedToken

test/fixtures/snapshot/typescript.js:32277–32280  ·  view source on GitHub ↗
(t, diagnosticMessage, arg0)

Source from the content-addressed store, hash-verified

32275 return undefined;
32276 }
32277 function parseExpectedToken(t, diagnosticMessage, arg0) {
32278 return parseOptionalToken(t) ||
32279 createMissingNode(t, /*reportAtCurrentPosition*/ false, diagnosticMessage || ts.Diagnostics._0_expected, arg0 || ts.tokenToString(t));
32280 }
32281 function parseExpectedTokenJSDoc(t) {
32282 return parseOptionalTokenJSDoc(t) ||
32283 createMissingNode(t, /*reportAtCurrentPosition*/ false, ts.Diagnostics._0_expected, ts.tokenToString(t));

Calls 2

parseOptionalTokenFunction · 0.85
createMissingNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…