|
Schnek
|
#include <expression.hpp>


Public Member Functions | |
| ReferencedValue (const pVariable &var_) | |
| Construct with a value. | |
| vtype | eval () |
| Return the modified value. | |
| bool | isConstant () |
| Constancy depends on the constancy of the variable. | |
| DependencyList | getDependencies () |
| returns a list with the variable's id | |
Public Member Functions inherited from schnek::Expression< vtype > | |
| vtype | operator() () |
| The () operator allows expressions to be used as function objects. | |
Additional Inherited Members | |
Public Types inherited from schnek::Expression< vtype > | |
| typedef std::shared_ptr< Expression > | pExpression |
| A pointer to an Expression. | |
| typedef vtype | ValueType |
A special type of expresion that holds a reference to a variable.
This is used by the parser when parsing variables