MCPcopy Create free account
hub / github.com/nodejs/node / lookAhead

Function lookAhead

test/fixtures/snapshot/typescript.js:12270–12272  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

12268 return result;
12269 }
12270 function lookAhead(callback) {
12271 return speculationHelper(callback, /*isLookahead*/ true);
12272 }
12273 function tryScan(callback) {
12274 return speculationHelper(callback, /*isLookahead*/ false);
12275 }

Callers 15

parseJsonTextFunction · 0.85
isListElementFunction · 0.85
isListTerminatorFunction · 0.85
parseRightSideOfDotFunction · 0.85
parseJSDocFunctionTypeFunction · 0.85
isIndexSignatureFunction · 0.85
parseTypeMemberFunction · 0.85
parseNonArrayTypeFunction · 0.85

Calls 1

speculationHelperFunction · 0.85

Tested by

no test coverage detected