Yate
|
Script parsed code. More...
#include <yatescript.h>
Public Member Functions | |
virtual bool | initialize (ScriptContext *context) const =0 |
virtual bool | evaluate (ScriptRun &runner, ObjList &results) const =0 |
Script parsed code.
Preparsed script code fragment ready to be executed
Evaluation of a single code expression
runner | Reference to the runtime to use in evaluation |
results | List to fill with expression results |
virtual bool initialize | ( | ScriptContext * | context | ) | const [pure virtual] |
Context initializer for language specific globals
context | Pointer to the context to initialize |