The current evaluation.
More...
#include "evaluation.hpp"
An Evaluation contains an Expression and a reference to an Evaluator, and prevents a more recursive evaluation algorithm that would overflow the stack in the event of a recursive Om program.
Each Element that it takes is pushed onto a stack, resulting in a LIFO-ordered application of each Element to the Evaluator.
Definition at line 42 of file evaluation.hpp.
◆ ~Evaluation()
virtual Om::Language::Evaluation::~Evaluation |
( |
| ) |
|
|
virtual |
◆ Evaluation() [1/2]
Om::Language::Evaluation::Evaluation |
( |
Evaluator & |
| ) |
|
|
explicit |
◆ Evaluation() [2/2]
Om::Language::Evaluation::Evaluation |
( |
Evaluation const & |
| ) |
|
|
private |
◆ GetTranslator()
Translator const& Om::Language::Evaluation::GetTranslator |
( |
| ) |
const |
◆ GiveTerm()
bool Om::Language::Evaluation::GiveTerm |
( |
Evaluator & |
| ) |
|
◆ TakeOperand()
template<typename TheOperand >
void Om::Language::Evaluation::TakeOperand |
( |
TheOperand & |
| ) |
|
◆ TakeOperation()
template<typename TheOperation >
void Om::Language::Evaluation::TakeOperation |
( |
std::auto_ptr< TheOperation > |
| ) |
|
◆ TakeOperator()
template<typename TheOperator >
void Om::Language::Evaluation::TakeOperator |
( |
TheOperator & |
| ) |
|
◆ TakeProducer()
template<typename TheProducer >
void Om::Language::Evaluation::TakeProducer |
( |
TheProducer & |
| ) |
|
◆ TakeQuotedProducer()
template<typename TheProducer >
void Om::Language::Evaluation::TakeQuotedProducer |
( |
TheProducer & |
| ) |
|
◆ operator=()
◆ thisExpression
Expression Om::Language::Evaluation::thisExpression |
|
private |
◆ thisEvaluator
Evaluator& Om::Language::Evaluation::thisEvaluator |
|
private |
The documentation for this class was generated from the following file: