Kross
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Sun May 13 2012 21:46:29 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Sun May 13 2012 21:46:29 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.