MCPcopy Create free account
hub / github.com/nodejs/node / isPossibleConstructor

Function isPossibleConstructor

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

Source from the content-addressed store, hash-verified

141174 _a);
141175 function tryMergeEs5Class(a, b, bIndex, parent) {
141176 function isPossibleConstructor(node) {
141177 return ts.isFunctionExpression(node) || ts.isFunctionDeclaration(node) || ts.isVariableDeclaration(node);
141178 }
141179 var bAssignmentDeclarationKind = ts.isBinaryExpression(b.node) || ts.isCallExpression(b.node) ?
141180 ts.getAssignmentDeclarationKind(b.node) :
141181 0 /* AssignmentDeclarationKind.None */;

Callers 1

tryMergeEs5ClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected