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

Function getDeclaredExpandoInitializer

test/fixtures/snapshot/typescript.js:16423–16426  ·  view source on GitHub ↗

Get the declaration initializer when it is container-like (See getExpandoInitializer).

(node)

Source from the content-addressed store, hash-verified

16421 ts.getEffectiveInitializer = getEffectiveInitializer;
16422 /** Get the declaration initializer when it is container-like (See getExpandoInitializer). */
16423 function getDeclaredExpandoInitializer(node) {
16424 var init = getEffectiveInitializer(node);
16425 return init && getExpandoInitializer(init, isPrototypeAccess(node.name));
16426 }
16427 ts.getDeclaredExpandoInitializer = getDeclaredExpandoInitializer;
16428 function hasExpandoValueProperty(node, isPrototypeAssignment) {
16429 return ts.forEach(node.properties, function (p) {

Callers

nothing calls this directly

Calls 3

getEffectiveInitializerFunction · 0.85
getExpandoInitializerFunction · 0.85
isPrototypeAccessFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…