class ScriptCode

Script parsed code. More...

Contains pure virtuals
Full nameTelEngine::ScriptCode
Definition#include <libs/yscript/yatescript.h>
InheritsTelEngine::RefObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Preparsed script code fragment ready to be executed

bool  initialize (ScriptContext* context)

initialize

[const pure virtual]

Context initializer for language specific globals

Parameters:
contextPointer to the context to initialize

Returns: True if context was properly populated with globals

bool  evaluate (ScriptRun& runner, ObjList& results)

evaluate

[const pure virtual]

Evaluation of a single code expression

Parameters:
runnerReference to the runtime to use in evaluation
resultsList to fill with expression results

ScriptRun*  createRunner (ScriptContext* context, const char* title = 0)

createRunner

[virtual]

Create a runner adequate for this block of parsed code

Parameters:
contextScript context, must not be NULL
titleAn optional name for the runner

Returns: A new script runner, NULL if context is NULL or feature is not supported


Generated by: paulc on bussard on Sun Oct 20 21:06:06 2013, using kdoc 2.0a54.