(node)
| 166236 | } |
| 166237 | ts.getContainingObjectLiteralElement = getContainingObjectLiteralElement; |
| 166238 | function getContainingObjectLiteralElementWorker(node) { |
| 166239 | switch (node.kind) { |
| 166240 | case 10 /* SyntaxKind.StringLiteral */: |
| 166241 | case 14 /* SyntaxKind.NoSubstitutionTemplateLiteral */: |
| 166242 | case 8 /* SyntaxKind.NumericLiteral */: |
| 166243 | if (node.parent.kind === 162 /* SyntaxKind.ComputedPropertyName */) { |
| 166244 | return ts.isObjectLiteralElement(node.parent.parent) ? node.parent.parent : undefined; |
| 166245 | } |
| 166246 | // falls through |
| 166247 | case 79 /* SyntaxKind.Identifier */: |
| 166248 | return ts.isObjectLiteralElement(node.parent) && |
| 166249 | (node.parent.parent.kind === 205 /* SyntaxKind.ObjectLiteralExpression */ || node.parent.parent.kind === 286 /* SyntaxKind.JsxAttributes */) && |
| 166250 | node.parent.name === node ? node.parent : undefined; |
| 166251 | } |
| 166252 | return undefined; |
| 166253 | } |
| 166254 | function getSymbolAtLocationForQuickInfo(node, checker) { |
| 166255 | var object = getContainingObjectLiteralElement(node); |
| 166256 | if (object) { |
no outgoing calls
no test coverage detected