Kross
Kross::EcmaInterpreter Class Reference
The EcmaInterpreter class implements a Kross::Interpreter to provide a factory for EcmaScript instances. More...
#include <interpreter.h>
Inheritance diagram for Kross::EcmaInterpreter:

Public Member Functions | |
virtual Kross::Script * | createScript (Kross::Action *action) |
EcmaInterpreter (Kross::InterpreterInfo *info) | |
virtual | ~EcmaInterpreter () |
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
EcmaInterpreter::EcmaInterpreter | ( | Kross::InterpreterInfo * | info | ) | [explicit] |
Constructor.
- Parameters:
-
info The Kross::InterpreterInfo instance that describes this interpreter.
Definition at line 39 of file qts/interpreter.cpp.
EcmaInterpreter::~EcmaInterpreter | ( | ) | [virtual] |
Member Function Documentation
Kross::Script * EcmaInterpreter::createScript | ( | Kross::Action * | action | ) | [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: