(node)
| 16494 | } |
| 16495 | } |
| 16496 | function isDefaultedExpandoInitializer(node) { |
| 16497 | var name = ts.isVariableDeclaration(node.parent) ? node.parent.name : |
| 16498 | ts.isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 63 /* SyntaxKind.EqualsToken */ ? node.parent.left : |
| 16499 | undefined; |
| 16500 | return name && getExpandoInitializer(node.right, isPrototypeAccess(name)) && isEntityNameExpression(name) && isSameEntityName(name, node.left); |
| 16501 | } |
| 16502 | ts.isDefaultedExpandoInitializer = isDefaultedExpandoInitializer; |
| 16503 | /** Given an expando initializer, return its declaration name, or the left-hand side of the assignment if it's part of an assignment declaration. */ |
| 16504 | function getNameOfExpando(node) { |
nothing calls this directly
no test coverage detected