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

Function nextTokenAnd

test/fixtures/snapshot/typescript.js:31998–32001  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

31996 return currentToken = scanner.scan();
31997 }
31998 function nextTokenAnd(func) {
31999 nextToken();
32000 return func();
32001 }
32002 function nextToken() {
32003 // if the keyword had an escape
32004 if (ts.isKeyword(currentToken) && (scanner.hasUnicodeEscape() || scanner.hasExtendedUnicodeEscape())) {

Callers 6

parseDeleteExpressionFunction · 0.85
parseTypeOfExpressionFunction · 0.85
parseVoidExpressionFunction · 0.85
parseAwaitExpressionFunction · 0.85
parseUpdateExpressionFunction · 0.85

Calls 2

nextTokenFunction · 0.85
funcFunction · 0.50

Tested by

no test coverage detected