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

Function isParameterNameStart

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

Source from the content-addressed store, hash-verified

33468 return name;
33469 }
33470 function isParameterNameStart() {
33471 // Be permissive about await and yield by calling isBindingIdentifier instead of isIdentifier; disallowing
33472 // them during a speculative parse leads to many more follow-on errors than allowing the function to parse then later
33473 // complaining about the use of the keywords.
33474 return isBindingIdentifier() || token() === 22 /* SyntaxKind.OpenBracketToken */ || token() === 18 /* SyntaxKind.OpenBraceToken */;
33475 }
33476 function parseParameter(inOuterAwaitContext) {
33477 return parseParameterWorker(inOuterAwaitContext);
33478 }

Callers 1

parseParameterWorkerFunction · 0.85

Calls 2

isBindingIdentifierFunction · 0.85
tokenFunction · 0.70

Tested by

no test coverage detected