def boolean_and_assign(left, right, scope): value = PlywoodOperator.handle('and', left, right, scope) return PlywoodOperator.handle('=', left, value, scope)
def int_divide_assign(left, right, scope): value = PlywoodOperator.handle('//', left, right, scope) return PlywoodOperator.handle('=', left, value, scope)
def modulo_assign(left, right, scope): value = PlywoodOperator.handle('%', left, right, scope) return PlywoodOperator.handle('=', left, value, scope)
def minus_assign(left, right, scope): value = PlywoodOperator.handle('-', left, right, scope) return PlywoodOperator.handle('=', left, value, scope)
def power_assign(left, right, scope): value = PlywoodOperator.handle('**', left, right, scope) return PlywoodOperator.handle('=', left, value, scope)
def unary_get_attr(value, scope): return PlywoodOperator.handle('.', PlywoodVariable(value.location, 'div'), value, scope)