#include <ScriptInterpreter.h>
Inheritance diagram for acdk::lang::dmi::ScriptInterpreter:
Public Member Functions | |
virtual void | parse (IN(RFile) file)=0 |
Parse a file. | |
virtual void | parse (IN(RString) script)=0 |
Parse a file. | |
virtual RObject | eval (IN(RString) code)=0 |
Evaluate the code . | |
virtual acdk::lang::dmi::ScriptVar | call (IN(RString) func, acdk::lang::dmi::ScriptVarArray &args) |
Calls a script function. | |
virtual acdk::lang::dmi::ScriptVar | invoke (IN(RObject) obj, IN(RString) func, acdk::lang::dmi::ScriptVarArray &args) |
Calls a script method of given object. | |
virtual void | interactive (IN(RCharReader) in, IN(RCharWriter) out, IN(RCharWriter) err)=0 |
Do debug the given Script. |
|
Calls a script function. Note: may not all script interpreter support this function
Reimplemented in acdk::lisp::LispInterpreter, acdk::perl::APerlInterpreter, acdk::python::PythonInterpreter, and acdk::tcl::TclInterpreter. |
|
Evaluate the code . On some interpreter it is equal to parse.
Implemented in acdk::lisp::LispInterpreter, acdk::perl::APerlInterpreter, acdk::python::PythonInterpreter, and acdk::tcl::TclInterpreter. |
|
Do debug the given Script. May not work on all scripting languages
Implemented in acdk::lisp::LispInterpreter. |
|
Calls a script method of given object.
Reimplemented in acdk::lisp::LispInterpreter, acdk::perl::APerlInterpreter, acdk::python::PythonInterpreter, and acdk::tcl::TclInterpreter. |
|
Parse a file. On some interpreter also execute the script.
Implemented in acdk::lisp::LispInterpreter, acdk::perl::APerlInterpreter, acdk::python::PythonInterpreter, and acdk::tcl::TclInterpreter. |
|
Parse a file. On some interpreter also execute the script.
Implemented in acdk::lisp::LispInterpreter, and acdk::perl::APerlInterpreter. |