|
Schnek
|
#include <expression.hpp>


Public Types | |
| typedef vtype | ValueType |
Public Types inherited from schnek::Expression< vtype > | |
| typedef boost::shared_ptr< Expression > | pExpression |
| A pointer to an Expression. | |
| typedef vtype | ValueType |
Public Member Functions | |
| Value (vtype val_) | |
| Construct with a value. | |
| vtype | eval () |
| Return the stored value. | |
| bool | isConstant () |
| A literal is a constant. | |
| vtype & | getReference () |
| Return a reference to the value. | |
Public Member Functions inherited from schnek::Expression< vtype > | |
| vtype | operator() () |
| The () operator allows expressions to be used as function objects. | |
| virtual DependencyList | getDependencies () |
This Expression stores values directly. Generated from literals