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

Function getLocalName

test/fixtures/snapshot/typescript.js:26929–26931  ·  view source on GitHub ↗

* Gets the local name of a declaration. This is primarily used for declarations that can be * referred to by name in the declaration's immediate scope (classes, enums, namespaces). A * local name will *never* be prefixed with an module or namespace export modifier like * "

(node, allowComments, allowSourceMaps)

Source from the content-addressed store, hash-verified

26927 * @param allowSourceMaps A value indicating whether source maps may be emitted for the name.
26928 */
26929 function getLocalName(node, allowComments, allowSourceMaps) {
26930 return getName(node, allowComments, allowSourceMaps, 16384 /* EmitFlags.LocalName */);
26931 }
26932 /**
26933 * Gets the export name of a declaration. This is primarily used for declarations that can be
26934 * referred to by name in the declaration's immediate scope (classes, enums, namespaces). An

Callers

nothing calls this directly

Calls 1

getNameFunction · 0.85

Tested by

no test coverage detected