def Convert(self, tree):

    if tree is None:
      l_ast = N.Module(position = NP.NodePosition(self.filename, 1, 1),
        filename = self.filename,
        children = [])

    else:
      l_ast = self.ConvertTree(tree)

    self.AttachParents(l_ast)
    return l_ast
Calls ConvertTree, and attaches parent links using AttachParents.
dataset/ETHPy150Open spranesh/Redhawk/redhawk/common/tree_converter.py/TreeConverter.Convert