Kross::Interpreter Class Reference
#include <interpreter.h>
Inheritance diagram for Kross::Interpreter:

Public Member Functions | |
| Interpreter (InterpreterInfo *info) | |
| virtual | ~Interpreter () |
| virtual Script * | createScript (Action *Action)=0 |
| InterpreterInfo * | interpreterInfo () const |
Detailed Description
Base class for interpreter implementations.
Each scripting backend needs to inherit its own interpreter and implement it.
The Interpreter will be managed by the Manager class and does provide a factory method to create Script implementations.
Constructor & Destructor Documentation
| Interpreter::Interpreter | ( | InterpreterInfo * | info | ) | [explicit] |
Constructor.
- Parameters:
-
info is the InterpreterInfo instance that describes this interpreter.
Definition at line 160 of file core/interpreter.cpp.
| Interpreter::~Interpreter | ( | ) | [virtual] |
Destructor.
Definition at line 167 of file core/interpreter.cpp.
Member Function Documentation
Create and return a new interpreter dependent Script instance.
- Returns:
- The from Script inherited instance.
Implemented in Kross::KjsInterpreter, and Kross::EcmaInterpreter.
| InterpreterInfo * Interpreter::interpreterInfo | ( | ) | const |
- Returns:
- the InterpreterInfo that represents this Interpreter .
Definition at line 172 of file core/interpreter.cpp.
The documentation for this class was generated from the following files:
KDE 4.7 API Reference