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

Kross

  • Kross
  • Kross::Interpreter
Public Member Functions

Kross::Interpreter Class Reference

Base class for interpreter implementations. More...

#include <interpreter.h>

Inheritance diagram for Kross::Interpreter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Interpreter (InterpreterInfo *info)
virtual ~Interpreter ()
InterpreterInfo * interpreterInfo () const
virtual Script * createScript (Action *Action)=0
virtual void virtual_hook (int id, void *data)

Detailed Description

Base class for interpreter implementations.

Each scripting backend needs to inheritate it's own interpreter and implement it.

The Interpreter will be managed by the Kross::Manager class.

Definition at line 151 of file interpreter.h.


Constructor & Destructor Documentation

Interpreter::Interpreter ( InterpreterInfo *  info  )  [explicit]

Constructor.

Parameters:
info is the InterpreterInfo instance that describes this interpreter.

Definition at line 178 of file interpreter.cpp.

Interpreter::~Interpreter (  )  [virtual]

Destructor.

Definition at line 184 of file 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.

InterpreterInfo * Interpreter::interpreterInfo (  )  const
Returns:
the InterpreterInfo that represents this Interpreter .

Definition at line 189 of file interpreter.cpp.

void Interpreter::virtual_hook ( int  id,
void *  data 
) [virtual]

Definition at line 194 of file interpreter.cpp.


The documentation for this class was generated from the following files:
  • interpreter.h
  • 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
  • KJSEmbed
  •   WTF
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.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