Kross
#include <interpreter.h>
Public Member Functions | |
Interpreter (InterpreterInfo *info) | |
virtual | ~Interpreter () |
virtual Script * | createScript (Action *Action)=0 |
InterpreterInfo * | interpreterInfo () const |
Public Member Functions inherited from Kross::ErrorInterface | |
ErrorInterface () | |
void | clearError () |
long | errorLineNo () const |
const QString | errorMessage () const |
const QString | errorTrace () const |
bool | hadError () const |
void | setError (const QString &errormessage, const QString &tracemessage=QString(), long lineno=-1) |
void | setError (ErrorInterface *error) |
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
|
explicit |
Constructor.
- Parameters
-
info is the InterpreterInfo instance that describes this interpreter.
Definition at line 160 of file core/interpreter.cpp.
|
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:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.