def PrintTree(self, depth=''):
    """Print the tree."""
    result = '{0:s}{1:s}\n'.format(depth, self.operator)
    for part in self.args:
      result += '{0:s}-{1:s}\n'.format(depth, part.PrintTree(depth + '  '))

    return result