src/operator.cpp
/*!
 * \fn static bool isUnary(BuiltInOperator op)
 * \brief returns whether the operator is an unary operator
 */
\fn static bool isUnary(BuiltInOperator op)
\brief returns whether the operator is an unary operator
\ fn static bool isUnary ( BuiltInOperator op ) \ brief returns whether the operator is an unary operator
bool Operator::isUnary(BuiltInOperator op)
{
  return op == PostIncrementOperator ||
    op == PostDecrementOperator ||
    op == PreIncrementOperator ||
    op == PreDecrementOperator ||
    op == UnaryPlusOperator ||
    op == UnaryMinusOperator ||
    op == LogicalNotOperator ||
    op == BitwiseNot;
}
bool Operator :: isUnary ( BuiltInOperator op ) { return op == PostIncrementOperator || op == PostDecrementOperator || op == PreIncrementOperator || op == PreDecrementOperator || op == UnaryPlusOperator || op == UnaryMinusOperator || op == LogicalNotOperator || op == BitwiseNot ; }
\fn static bool isUnary(BuiltInOperator op)
 \brief returns whether the operator is an unary operator
\ fn static bool isUnary ( BuiltInOperator op ) \ brief returns whether the operator is an unary operator