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

KJS

KJS::ErrorNode

KJS::ErrorNode Class Reference

#include <nodes.h>

Inheritance diagram for KJS::ErrorNode:

Inheritance graph
[legend]

List of all members.


Detailed Description

This node represents statically detectable errors that must be reported at runtime.

The semantic checker splices it in above the original node in the program, and it does the error reporting; the child node is used for text serialization.

Note: we do not visit kids of this node in the visitor interface, since they do not run, anyway

Definition at line 1295 of file nodes.h.


Public Member Functions

 ErrorNode (StatementNode *k, ErrorType e, const UString &m)
virtual Completion execute (ExecState *)
virtual void streamTo (SourceStream &) const

Constructor & Destructor Documentation

KJS::ErrorNode::ErrorNode ( StatementNode *  k,
ErrorType  e,
const UString &  m 
) [inline]

Definition at line 1297 of file nodes.h.


Member Function Documentation

Completion KJS::ErrorNode::execute ( ExecState *  exec  )  [virtual]

Implements KJS::StatementNode.

Definition at line 3014 of file nodes.cpp.

void ErrorNode::streamTo ( SourceStream &  s  )  const [virtual]

Implements KJS::Node.

Definition at line 850 of file nodes2string.cpp.


The documentation for this class was generated from the following files:
  • nodes.h
  • nodes.cpp
  • nodes2string.cpp

KJS

Skip menu "KJS"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • 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
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • 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