lib/utils/node.js
function getPropertyNamesInParentObjectExpression(node) {
  var objectExpression = obj.get(node, "parent.parent");
  var ret = [];
  if (!objectExpression) {
    return ret;
  }
  objectExpression.properties.forEach(function (p) {
    if (p.value !== node) {
      ret.push(p.key.name);
    }
  });
  return ret;
}
function getPropertyNamesInParentObjectExpression(node) {
  var objectExpression = obj.get(node, "parent.parent");
  var ret = [];
  if (!objectExpression) {
    return ret;
  }
  objectExpression.properties.forEach(function (p) {
    if (p.value !== node) {
      ret.push(p.key.name);
    }
  });
  return ret;
}
function getPropertyNamesInParentObjectExpression ( node ) { var objectExpression = obj . get ( node , "parent.parent" ) ; var ret = [ ] ; if ( ! objectExpression ) { return ret ; } objectExpression . properties . forEach ( function ( p ) { if ( p . value !== node ) { ret . push ( p . key . name ) ; } } ) ; return ret ; }
Get list of all properties in the Object Expression node
Object - is a "grand parent" for the provided node
Result doesn't contain name of the `node` property

@param {ASTNode} node
@returns {string[]}
Get list of all properties in the Object Expression node Object - is a grand parent for the provided node Result doesn t contain name of the node property