(expr)
| 141562 | } |
| 141563 | // See also 'tryGetPropertyAccessOrIdentifierToString' |
| 141564 | function getCalledExpressionName(expr) { |
| 141565 | if (ts.isIdentifier(expr)) { |
| 141566 | return expr.text; |
| 141567 | } |
| 141568 | else if (ts.isPropertyAccessExpression(expr)) { |
| 141569 | var left = getCalledExpressionName(expr.expression); |
| 141570 | var right = expr.name.text; |
| 141571 | return left === undefined ? right : "".concat(left, ".").concat(right); |
| 141572 | } |
| 141573 | else { |
| 141574 | return undefined; |
| 141575 | } |
| 141576 | } |
| 141577 | function isFunctionOrClassExpression(node) { |
| 141578 | switch (node.kind) { |
| 141579 | case 214 /* SyntaxKind.ArrowFunction */: |
no test coverage detected