def PrintTree(self, depth=""):
    result = "%s%s\n" % (depth, self.operator)
    for part in self.args:
      result += "%s-%s\n" % (depth, part.PrintTree(depth + "  "))

    return result
dataset/ETHPy150Open google/grr/grr/lib/lexer.py/BinaryExpression.PrintTree/original