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

Function parseNameWithKeywordCheck

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

Source from the content-addressed store, hash-verified

37287 : factory.createExportSpecifier(isTypeOnly, propertyName, name);
37288 return finishNode(node, pos);
37289 function parseNameWithKeywordCheck() {
37290 checkIdentifierIsKeyword = ts.isKeyword(token()) && !isIdentifier();
37291 checkIdentifierStart = scanner.getTokenPos();
37292 checkIdentifierEnd = scanner.getTextPos();
37293 return parseIdentifierName();
37294 }
37295 }
37296 function parseNamespaceExport(pos) {
37297 return finishNode(factory.createNamespaceExport(parseIdentifierName()), pos);

Callers 1

Calls 3

parseIdentifierNameFunction · 0.85
tokenFunction · 0.70
isIdentifierFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…