def _FindNodeWithStandaloneLineParent(node):
 if (pytree_utils.NodeName(node.parent) in _STANDALONE_LINE_NODES):
  return node
 else:
  return _FindNodeWithStandaloneLineParent(node.parent)

def _FindNodeWithStandaloneLineParent ( node ) : if ( pytree_utils . NodeName ( node . parent ) in _STANDALONE_LINE_NODES ) : return node else : return _FindNodeWithStandaloneLineParent ( node . parent )
find a node whose parent is a standalone line node .