Kross
Kross::Interpreter Class Reference
Base class for interpreter implementations. More...
#include <interpreter.h>
Inheritance diagram for Kross::Interpreter:

Public Member Functions | |
virtual Script * | createScript (Action *Action)=0 |
Interpreter (InterpreterInfo *info) | |
InterpreterInfo * | interpreterInfo () const |
virtual | ~Interpreter () |
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.
Definition at line 177 of file core/interpreter.h.
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] |
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: