Expression class representing the + operator. More...
Public Member Functions | |
AddExpression (const ExpressionList &arguments) | |
Construct a new AddExpression. | |
AddExpression (Expression *e1, Expression *e2) | |
Construct a new AddExpression. | |
Expression * | clone () const |
Clone the expression. | |
Operator | getOperator () const |
Return the operator of the expression. |
Expression class representing the + operator.
HAPI::AddExpression::AddExpression | ( | Expression * | e1, | |
Expression * | e2 | |||
) | [inline] |
Construct a new AddExpression.
HAPI::AddExpression::AddExpression | ( | const ExpressionList & | arguments | ) | [inline] |
Construct a new AddExpression.
Expression* HAPI::AddExpression::clone | ( | ) | const [inline, virtual] |
Clone the expression.
Implements HAPI::Expression.
Operator HAPI::AddExpression::getOperator | ( | ) | const [inline, virtual] |
Return the operator of the expression.
Implements HAPI::CompositeExpression.