jspm_packages/npm/babel-core@5.8.38/lib/traversal/path/ancestry.js
function getStatementParent() {
  var path = this;
  do {
    if (Array.isArray(path.container)) {
      return path;
    }
  } while (path = path.parentPath);
}
function getStatementParent() {
  var path = this;
  do {
    if (Array.isArray(path.container)) {
      return path;
    }
  } while (path = path.parentPath);
}
function getStatementParent ( ) { var path = this ; do { if ( Array . isArray ( path . container ) ) { return path ; } } while ( path = path . parentPath ) ; }
Walk up the tree until we hit a parent node path in a list.
Walk up the tree until we hit a parent node path in a list .