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

Function tryParse

test/fixtures/snapshot/typescript.js:32081–32083  ·  view source on GitHub ↗

Invokes the provided callback. If the callback returns something falsy, then it restores * the parser to the state it was in immediately prior to invoking the callback. If the * callback returns something truthy, then the parser state is not rolled back. The result * of

(callback)

Source from the content-addressed store, hash-verified

32079 * of invoking the callback is returned from this function.
32080 */
32081 function tryParse(callback) {
32082 return speculationHelper(callback, 0 /* SpeculationKind.TryParse */);
32083 }
32084 function isBindingIdentifier() {
32085 if (token() === 79 /* SyntaxKind.Identifier */) {
32086 return true;

Calls 1

speculationHelperFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…