def __str__(self):
        if self.type == EOF:
            return "<EOF>"

        channelStr = ""
        if 0 > self.channel:
            channelStr = ",channel=" + str(self.channel)

        txt = self.text
        if txt is not None:
            txt = txt.replace("\n","\\\\n")
            txt = txt.replace("\r","\\\\r")
            txt = txt.replace("\t","\\\\t")
        else:
            txt = "<no text>"

        return "[@%d,%d:%d=%r,<%d>%s,%d:%d]" % (
            self.index,
            self.start, self.stop,
            txt,
            self.type, channelStr,
            self.line, self.charPositionInLine
            )
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/antlr3/tokens.py/CommonToken.__str__/swapped operands of `>`