63 assert(
m_args.size() == 2);
69 assert(
m_args.size() == 2);
76 assert(
m_args.size() == 2);
82 assert(
m_args.size() == 2);
Expression * getFirst() const
It returns the first function argument.
BinaryFunction & operator=(const BinaryFunction &rhs)
void setSecond(Expression *arg)
It sets the second function argument.
virtual Expression * clone() const =0
It creates a new copy of this expression.
void setFirst(Expression *arg)
It sets the first function argument.
This is an abstract class that models a query expression.
Expression * clone() const
It creates a new copy of this expression.
TE_DEFINE_VISITABLE BinaryFunction(const std::string &name, Expression *arg1, Expression *arg2)
Constructor.
A class that models a Function expression.
A base class for binary functions.
std::vector< Expression * > m_args
The list of arguments.
Expression * getSecond() const
It returns the second function argument.
A base class for binary functions.
virtual ~BinaryFunction()
Virtual Destructor.