def initOperators(self):
    self.addOperator('+', 'arithmetic', Addition, 4)
    self.addOperator('-', 'arithmetic', Subtraction, 4)
    self.addOperator('*', 'arithmetic', Multiplication, 5)
    self.addOperator('/', 'arithmetic', Division, 5)
    self.addOperator('**', 'arithmetic', Exponentiation, 6)
    self.addOperator('//', 'arithmetic', FloorDivision, 6)
    self.addOperator('%', 'arithmetic', Mod, 7)
    self.addOperator('&', 'bitwise', BitAnd)
    self.addOperator('|', 'bitwise', BitOr)
    self.addOperator('^', 'bitwise', BitXor)
    self.addOperator('~', 'bitwise', BitNot)
    self.addOperator('<<', 'bitwise', LeftShift)
    self.addOperator('>>', 'bitwise', RightShift)
    self.addOperator('==', 'comparison', Equal, 3)
    self.addOperator('!=', 'comparison', NotEqual, 3)
    self.addOperator('>', 'comparison', GreaterThan, 3)
    self.addOperator('<', 'comparison', LessThan, 3)
    self.addOperator('>=', 'comparison', GreaterThanOrEqual, 3)
    self.addOperator('<=', 'comparison', LessThanOrEqual, 3)
    self.addOperator('&&', 'logical', And, 2)
    self.addOperator('||', 'logical', Or, 2)
    self.addOperator('!', 'logical', Not)
    self.addOperator('=', 'assignment', Assigment, 1)
    self.addOperator('+=', 'assignment', AssigmentAddition, 1)
    self.addOperator('-=', 'assignment', AssigmentSubtraction, 1)
    self.addOperator('*=', 'assignment', AssigmentMultiplication, 1)
    self.addOperator('/=', 'assignment', AssigmentDivision, 1)
    self.addOperator('**=', 'assignment', AssigmentExponentiation, 1)
    self.addOperator('//=', 'assignment', AssigmentFloorDivision, 1)
    self.addOperator('%=', 'assignment', AssigmentMod, 1)
    self.addOperator('&=', 'assignment', AssigmentBitAnd, 1)
    self.addOperator('|=', 'assignment', AssigmentBitOr, 1)
    self.addOperator('^=', 'assignment', AssigmentBitXor, 1)
    self.addOperator('<<=', 'assignment', AssigmentLeftShift, 1)
    self.addOperator('>>=', 'assignment', AssigmentRightShift, 1)
def initOperators(self):
    self.addOperator('+', 'arithmetic', Addition, 4)
    self.addOperator('-', 'arithmetic', Subtraction, 4)
    self.addOperator('*', 'arithmetic', Multiplication, 5)
    self.addOperator('/', 'arithmetic', Division, 5)
    self.addOperator('**', 'arithmetic', Exponentiation, 6)
    self.addOperator('//', 'arithmetic', FloorDivision, 6)
    self.addOperator('%', 'arithmetic', Mod, 7)
    self.addOperator('&', 'bitwise', BitAnd)
    self.addOperator('|', 'bitwise', BitOr)
    self.addOperator('^', 'bitwise', BitXor)
    self.addOperator('~', 'bitwise', BitNot)
    self.addOperator('<<', 'bitwise', LeftShift)
    self.addOperator('>>', 'bitwise', RightShift)
    self.addOperator('==', 'comparison', Equal, 3)
    self.addOperator('!=', 'comparison', NotEqual, 3)
    self.addOperator('>', 'comparison', GreaterThan, 3)
    self.addOperator('<', 'comparison', LessThan, 3)
    self.addOperator('>=', 'comparison', GreaterThanOrEqual, 3)
    self.addOperator('<=', 'comparison', LessThanOrEqual, 3)
    self.addOperator('&&', 'logical', And, 2)
    self.addOperator('||', 'logical', Or, 2)
    self.addOperator('!', 'logical', Not)
    self.addOperator('=', 'assignment', Assigment, 1)
    self.addOperator('+=', 'assignment', AssigmentAddition, 1)
    self.addOperator('-=', 'assignment', AssigmentSubtraction, 1)
    self.addOperator('*=', 'assignment', AssigmentMultiplication, 1)
    self.addOperator('/=', 'assignment', AssigmentDivision, 1)
    self.addOperator('**=', 'assignment', AssigmentExponentiation, 1)
    self.addOperator('//=', 'assignment', AssigmentFloorDivision, 1)
    self.addOperator('%=', 'assignment', AssigmentMod, 1)
    self.addOperator('&=', 'assignment', AssigmentBitAnd, 1)
    self.addOperator('|=', 'assignment', AssigmentBitOr, 1)
    self.addOperator('^=', 'assignment', AssigmentBitXor, 1)
    self.addOperator('<<=', 'assignment', AssigmentLeftShift, 1)
    self.addOperator('>>=', 'assignment', AssigmentRightShift, 1)