Parse unary ~ (boolean complement)