#include <Expression.hh>
Definition at line 270 of file Expression.hh.
bool Diades::Altarica::OrExpression::eval |
( |
Value & |
value | ) |
const |
|
virtual |
Expression evaluation: this operation evaluates the expression with the current value associated to the variables that support the Expression. The evaluation is failing if there is a variable of the support that is still free (that is an unassigned variable).
- Parameters
-
- Returns
- true if the operation succeeds, false otherwise.
Implements Diades::Altarica::Expression.
virtual bool Diades::Altarica::OrExpression::isConstant |
( |
| ) |
const |
|
inlinevirtual |
Expression* Diades::Altarica::OrExpression::left |
( |
| ) |
const |
|
inline |
Expression* Diades::Altarica::OrExpression::right |
( |
| ) |
const |
|
inline |
int Diades::Altarica::OrExpression::type |
( |
| ) |
const |
|
inlinevirtual |
Type of an expression
- Returns
- an integer that determines the current type of the Expression. It is way to avoid the use of RTTI and gets a lighter implementation. The returned type is one the the altarica type: that is AR_TREE_ITE, AR_TREE_CASE, AR_TREE_OR,... See arsyntax/altarica-tree.h for the exhaustive list of expression types.
Implements Diades::Altarica::Expression.
Definition at line 293 of file Expression.hh.
virtual bool Diades::Altarica::OrExpression::valid |
( |
| ) |
const |
|
inlinevirtual |
virtual Type Diades::Altarica::OrExpression::valueType |
( |
| ) |
const |
|
inlinevirtual |
ostream& operator<< |
( |
ostream & |
os, |
|
|
const Expression & |
expression |
|
) |
| |
|
friend |
Expression* Diades::Altarica::OrExpression::_conjunction |
|
private |
Expression* Diades::Altarica::OrExpression::_disjunction |
|
private |
The documentation for this class was generated from the following file:
- /home/yannick/compilation/stable/include/dialtarica/Expression.hh