MCPcopy Create free account
hub / github.com/nodejs/node / getContainingObjectLiteralElement

Function getContainingObjectLiteralElement

test/fixtures/snapshot/typescript.js:166233–166236  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

166231 */
166232 /* @internal */
166233 function getContainingObjectLiteralElement(node) {
166234 var element = getContainingObjectLiteralElementWorker(node);
166235 return element && (ts.isObjectLiteralExpression(element.parent) || ts.isJsxAttributes(element.parent)) ? element : undefined;
166236 }
166237 ts.getContainingObjectLiteralElement = getContainingObjectLiteralElement;
166238 function getContainingObjectLiteralElementWorker(node) {
166239 switch (node.kind) {

Callers 1

Tested by

no test coverage detected