• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kross

Kross::EcmaInterpreter

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:
Kross::Interpreter QObject Kross::ErrorInterface

List of all members.

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]

Destructor.

Definition at line 46 of file qts/interpreter.cpp.


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:
  • qts/interpreter.h
  • qts/interpreter.cpp

Kross

Skip menu "Kross"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal