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

Function isConstructorAssignment

test/fixtures/snapshot/typescript.js:151333–151339  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

151331 return ts.filter(source.modifiers, function (modifier) { return modifier.kind === kind; });
151332 }
151333 function isConstructorAssignment(x) {
151334 if (!x.name)
151335 return false;
151336 if (ts.isIdentifier(x.name) && x.name.text === "constructor")
151337 return true;
151338 return false;
151339 }
151340 function tryGetPropertyName(node, compilerOptions, quotePreference) {
151341 if (ts.isPropertyAccessExpression(node)) {
151342 return node.name;

Callers 2

shouldConvertDeclarationFunction · 0.85
createClassElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected