def METHOD_NAME(self, node: ASTExpressionNode) -> str:
    """
    Prints a bit operator in NEST syntax.
    :param op: a bit operator object
    :return: a string representation
    """
    op = node.get_binary_operator()
    lhs = self.print(node.get_lhs())
    rhs = self.print(node.get_rhs())
    if op.is_bit_shift_left:
        return lhs + " << " + rhs
    if op.is_bit_shift_right:
        return lhs + " >> " + rhs
    if op.is_bit_and:
        return lhs + " & " + rhs
    if op.is_bit_or:
        return lhs + " | " + rhs
    if op.is_bit_xor:
        return lhs + " ^ " + rhs
    raise RuntimeError("Cannot determine bit operator!")