(node)
| 141575 | } |
| 141576 | } |
| 141577 | function isFunctionOrClassExpression(node) { |
| 141578 | switch (node.kind) { |
| 141579 | case 214 /* SyntaxKind.ArrowFunction */: |
| 141580 | case 213 /* SyntaxKind.FunctionExpression */: |
| 141581 | case 226 /* SyntaxKind.ClassExpression */: |
| 141582 | return true; |
| 141583 | default: |
| 141584 | return false; |
| 141585 | } |
| 141586 | } |
| 141587 | function cleanText(text) { |
| 141588 | // Truncate to maximum amount of characters as we don't want to do a big replace operation. |
| 141589 | text = text.length > maxLength ? text.substring(0, maxLength) + "..." : text; |
no outgoing calls
no test coverage detected