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

Function canFollowContextualOfKeyword

test/fixtures/snapshot/typescript.js:36544–36546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36542 return finishNode(factory.createVariableDeclarationList(declarations, flags), pos);
36543 }
36544 function canFollowContextualOfKeyword() {
36545 return nextTokenIsIdentifier() && nextToken() === 21 /* SyntaxKind.CloseParenToken */;
36546 }
36547 function parseVariableStatement(pos, hasJSDoc, decorators, modifiers) {
36548 var declarationList = parseVariableDeclarationList(/*inForStatementInitializer*/ false);
36549 parseSemicolon();

Callers

nothing calls this directly

Calls 2

nextTokenIsIdentifierFunction · 0.85
nextTokenFunction · 0.85

Tested by

no test coverage detected