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

Kross

Kross::Interpreter

Kross::Interpreter Class Reference

#include <interpreter.h>

Inheritance diagram for Kross::Interpreter:

Inheritance graph
[legend]

List of all members.


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.


Public Member Functions

virtual Script * createScript (Action *Action)=0
 Interpreter (InterpreterInfo *info)
InterpreterInfo * interpreterInfo () const
virtual ~Interpreter ()

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

virtual Script* Kross::Interpreter::createScript ( Action *  Action  )  [pure virtual]

Create and return a new interpreter dependent Script instance.

Parameters:
Action The Action to use for the 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:
  • core/interpreter.h
  • core/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
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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