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

Function parseErrorAtCurrentToken

test/fixtures/snapshot/typescript.js:31955–31957  ·  view source on GitHub ↗
(message, arg0)

Source from the content-addressed store, hash-verified

31953 return inContext(32768 /* NodeFlags.AwaitContext */);
31954 }
31955 function parseErrorAtCurrentToken(message, arg0) {
31956 return parseErrorAt(scanner.getTokenPos(), scanner.getTextPos(), message, arg0);
31957 }
31958 function parseErrorAtPosition(start, length, message, arg0) {
31959 // Don't report another error if it would just be at the same position as the last error.
31960 var lastError = ts.lastOrUndefined(parseDiagnostics);

Callers 13

parseJsonTextFunction · 0.85
parseExpectedFunction · 0.85
parseErrorForInvalidNameFunction · 0.85
parseExpectedJSDocFunction · 0.85
createMissingNodeFunction · 0.85
createIdentifierFunction · 0.85
parsingContextErrorsFunction · 0.85
shouldParseReturnTypeFunction · 0.85
parseBlockFunction · 0.85

Calls 1

parseErrorAtFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…