Kross
Kross::EcmaInterpreter Class Reference
#include <interpreter.h>
Inheritance diagram for Kross::EcmaInterpreter:
Public Member Functions | |
EcmaInterpreter (Kross::InterpreterInfo *info) | |
virtual | ~EcmaInterpreter () |
virtual Kross::Script * | createScript (Kross::Action *action) |
Public Member Functions inherited from Kross::Interpreter | |
Interpreter (InterpreterInfo *info) | |
virtual | ~Interpreter () |
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
The EcmaInterpreter class implements a Kross::Interpreter to provide a factory for EcmaScript instances.
The interpreter is a singleton managed by Kross to share information between different script instances.
Definition at line 37 of file qts/interpreter.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
info The Kross::InterpreterInfo instance that describes this interpreter.
Definition at line 39 of file qts/interpreter.cpp.
|
virtual |
Destructor.
Definition at line 46 of file qts/interpreter.cpp.
Member Function Documentation
|
virtual |
Factory method to create a new EcmaScript instance.
- Parameters
-
action The Kross::Action instance that decorates the script and contains details like the scripting code.
- Returns
- a new EcmaScript instance.
Implements Kross::Interpreter.
Definition at line 52 of file qts/interpreter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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
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.