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

KJS

KJS::StatementNode

KJS::StatementNode Class Reference

#include <nodes.h>

Inheritance diagram for KJS::StatementNode:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 199 of file nodes.h.


Public Member Functions

 StatementNode ()
void setLoc (int line0, int line1)
int firstLine () const
int lastLine () const
bool hitStatement (ExecState *)
virtual Completion execute (ExecState *exec)=0
void copyDebugInfo (StatementNode *otherNode)
Node * createErrorNode (ErrorType e, const UString &msg)
Node * createErrorNode (ErrorType e, const UString &msg, const Identifier &ident)

Protected Member Functions

virtual Node * checkSemantics (SemanticChecker *semanticChecker)

Constructor & Destructor Documentation

KJS::StatementNode::StatementNode (  ) 

Definition at line 377 of file nodes.cpp.


Member Function Documentation

void KJS::StatementNode::setLoc ( int  line0,
int  line1 
)

Definition at line 383 of file nodes.cpp.

int KJS::StatementNode::firstLine (  )  const [inline]

Definition at line 203 of file nodes.h.

int KJS::StatementNode::lastLine (  )  const [inline]

Definition at line 204 of file nodes.h.

bool KJS::StatementNode::hitStatement ( ExecState *  exec  ) 

Definition at line 396 of file nodes.cpp.

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

Implemented in KJS::VarStatementNode, KJS::BlockNode, KJS::EmptyStatementNode, KJS::ExprStatementNode, KJS::IfNode, KJS::DoWhileNode, KJS::WhileNode, KJS::ForNode, KJS::ForInNode, KJS::ContinueNode, KJS::BreakNode, KJS::ReturnNode, KJS::WithNode, KJS::LabelNode, KJS::ThrowNode, KJS::TryNode, KJS::FuncDeclNode, KJS::SourceElementsNode, KJS::SwitchNode, KJS::ErrorNode, and KJS::ImportStatement.

void KJS::StatementNode::copyDebugInfo ( StatementNode *  otherNode  ) 

Definition at line 389 of file nodes.cpp.

Node * KJS::StatementNode::createErrorNode ( ErrorType  e,
const UString &  msg 
)

Definition at line 405 of file nodes.cpp.

Node * KJS::StatementNode::createErrorNode ( ErrorType  e,
const UString &  msg,
const Identifier &  ident 
)

Definition at line 410 of file nodes.cpp.

Node * KJS::StatementNode::checkSemantics ( SemanticChecker *  semanticChecker  )  [protected, virtual]

Reimplemented from KJS::Node.

Reimplemented in KJS::ContinueNode, KJS::BreakNode, KJS::LabelNode, and KJS::FuncDeclNode.

Definition at line 59 of file semantic_checker.cpp.


The documentation for this class was generated from the following files:
  • nodes.h
  • nodes.cpp
  • semantic_checker.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