|
Yate
|
Javascript Function. More...
#include <yatescript.h>
Public Member Functions | |
| JsFunction (Mutex *mtx=0) | |
| virtual bool | runDefined (ObjList &stack, const ExpOperation &oper, GenObject *context) |
Javascript Function.
Javascript Function class, implements user defined functions
| JsFunction | ( | Mutex * | mtx = 0 | ) | [inline] |
Constructor
| mtx | Pointer to the mutex that serializes this object |
| virtual bool runDefined | ( | ObjList & | stack, |
| const ExpOperation & | oper, | ||
| GenObject * | context | ||
| ) | [virtual] |
Try to evaluate a single user defined method
| stack | Evaluation stack in use, parameters are popped off this stack and results are pushed back on stack |
| oper | Function to evaluate |
| context | Pointer to arbitrary object passed from evaluation methods |
1.7.6.1