(node)
| 50103 | return !ts.getImmediatelyInvokedFunctionExpression(location); |
| 50104 | } |
| 50105 | function isSelfReferenceLocation(node) { |
| 50106 | switch (node.kind) { |
| 50107 | case 256 /* SyntaxKind.FunctionDeclaration */: |
| 50108 | case 257 /* SyntaxKind.ClassDeclaration */: |
| 50109 | case 258 /* SyntaxKind.InterfaceDeclaration */: |
| 50110 | case 260 /* SyntaxKind.EnumDeclaration */: |
| 50111 | case 259 /* SyntaxKind.TypeAliasDeclaration */: |
| 50112 | case 261 /* SyntaxKind.ModuleDeclaration */: // For `namespace N { N; }` |
| 50113 | return true; |
| 50114 | default: |
| 50115 | return false; |
| 50116 | } |
| 50117 | } |
| 50118 | function diagnosticName(nameArg) { |
| 50119 | return ts.isString(nameArg) ? ts.unescapeLeadingUnderscores(nameArg) : ts.declarationNameToString(nameArg); |
| 50120 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…