#include <yateclass.h>
Public Member Functions | |
virtual bool | runFunction (ExpEvaluator *eval, ObjList &stack, const ExpOperation &oper) |
virtual bool | runField (ExpEvaluator *eval, ObjList &stack, const ExpOperation &oper) |
This class allows extending ExpEvaluator to implement custom fields and functions
virtual bool runFunction | ( | ExpEvaluator * | eval, | |
ObjList & | stack, | |||
const ExpOperation & | oper | |||
) | [virtual] |
Try to evaluate a single function
eval | Pointer to the caller evaluator object | |
stack | Evaluation stack in use, parameters are popped off this stack and results are pushed back on stack | |
oper | Function to evaluate |
virtual bool runField | ( | ExpEvaluator * | eval, | |
ObjList & | stack, | |||
const ExpOperation & | oper | |||
) | [virtual] |
Try to evaluate a single field
eval | Pointer to the caller evaluator object | |
stack | Evaluation stack in use, field value must be pushed on it | |
oper | Field to evaluate |