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

Function isReservedMemberName

test/fixtures/snapshot/typescript.js:51762–51768  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

51760 // with at least two underscores. The @ character indicates that the name is denoted by a well known ES
51761 // Symbol instance and the # character indicates that the name is a PrivateIdentifier.
51762 function isReservedMemberName(name) {
51763 return name.charCodeAt(0) === 95 /* CharacterCodes._ */ &&
51764 name.charCodeAt(1) === 95 /* CharacterCodes._ */ &&
51765 name.charCodeAt(2) !== 95 /* CharacterCodes._ */ &&
51766 name.charCodeAt(2) !== 64 /* CharacterCodes.at */ &&
51767 name.charCodeAt(2) !== 35 /* CharacterCodes.hash */;
51768 }
51769 function getNamedMembers(members) {
51770 var result;
51771 members.forEach(function (symbol, id) {

Callers 4

isNamedMemberFunction · 0.85
typeToTypeNodeHelperFunction · 0.85
symbolsToArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected