#include <interpreter.h>
Inheritance diagram for Interpreter:
Public Member Functions | |
virtual void | stop ()=0 |
virtual void * | define (const char *var, const char *value)=0 |
virtual bool | defined (const char *var)=0 |
virtual int | toint (void *value)=0 |
virtual void * | eval (const char *script)=0 |
virtual const char * | tostring (void *value)=0 |
virtual void | start ()=0 |
virtual double | todouble (void *value)=0 |
virtual bool | tobool (void *value)=0 |
virtual void | upscope ()=0 |
virtual void | downscope ()=0 |
|
Stop the intrepreter and do and necessary cleanup. Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Define a variable with in the intrepreter.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Check if a variable is defined in the intreperter with in the current context.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Convert a value to an integer.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Evaluage a line of script.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Convert a value pointer to a string.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Start the intrepreter and do any necessary initialization. Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Convert a value pointer to a double.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Convert a value pointer to a bool.
Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Create a new scope level in the intrepreter. It is not exactly defined how this should effect scripting. This function is called each time a node or network is entered. Implemented in NullInterpreter, and PerlScriptInterpreter. |
|
Move down a scope level in the intrepreter. It is not exactly defined how this should effect scripting. This function is called each time a node or network is exited. Implemented in NullInterpreter, and PerlScriptInterpreter. |