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

Function bindObjectDefinePropertyAssignment

test/fixtures/snapshot/typescript.js:47324–47329  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

47322 bindPropertyAssignment(constructorFunction, lhs, /*isPrototypeProperty*/ true, /*containerIsClass*/ true);
47323 }
47324 function bindObjectDefinePropertyAssignment(node) {
47325 var namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0]);
47326 var isToplevel = node.parent.parent.kind === 305 /* SyntaxKind.SourceFile */;
47327 namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, node.arguments[0], isToplevel, /*isPrototypeProperty*/ false, /*containerIsClass*/ false);
47328 bindPotentiallyNewExpandoMemberToNamespace(node, namespaceSymbol, /*isPrototypeProperty*/ false);
47329 }
47330 function bindSpecialPropertyAssignment(node) {
47331 var _a;
47332 // Class declarations in Typescript do not allow property declarations

Callers 1

bindWorkerFunction · 0.85

Tested by

no test coverage detected