KDevelop API Documentation

WhileStatementAST Class Reference

#include <ast.h>

Inheritance diagram for WhileStatementAST:

StatementAST AST List of all members.

Public Types

typedef std::auto_ptr< WhileStatementASTNode
enum  { Type = NodeType_WhileStatement }

Public Member Functions

 WhileStatementAST ()
ConditionASTcondition () const
void setCondition (ConditionAST::Node &condition)
StatementASTstatement ()
void setStatement (StatementAST::Node &statement)

Private Member Functions

 WhileStatementAST (const WhileStatementAST &source)
void operator= (const WhileStatementAST &source)

Private Attributes

ConditionAST::Node m_condition
StatementAST::Node m_statement

Member Typedef Documentation

typedef std::auto_ptr<WhileStatementAST> WhileStatementAST::Node
 

Reimplemented from StatementAST.

Definition at line 1224 of file ast.h.

Referenced by Parser::parseWhileStatement().


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Type 

Definition at line 1225 of file ast.h.


Constructor & Destructor Documentation

WhileStatementAST::WhileStatementAST  ) 
 

Definition at line 838 of file ast.cpp.

WhileStatementAST::WhileStatementAST const WhileStatementAST source  )  [private]
 


Member Function Documentation

ConditionAST* WhileStatementAST::condition  )  const [inline]
 

Definition at line 1232 of file ast.h.

Referenced by CppCodeCompletion::computeContext().

void WhileStatementAST::operator= const WhileStatementAST source  )  [private]
 

void WhileStatementAST::setCondition ConditionAST::Node condition  ) 
 

Definition at line 842 of file ast.cpp.

References m_condition, ConditionAST::Node, and setCondition().

Referenced by setCondition().

void WhileStatementAST::setStatement StatementAST::Node statement  ) 
 

Definition at line 848 of file ast.cpp.

References m_statement, StatementAST::Node, and setStatement().

Referenced by setStatement().

StatementAST* WhileStatementAST::statement  )  [inline]
 

Definition at line 1235 of file ast.h.

Referenced by CppCodeCompletion::computeContext().


Member Data Documentation

ConditionAST::Node WhileStatementAST::m_condition [private]
 

Definition at line 1239 of file ast.h.

Referenced by setCondition().

StatementAST::Node WhileStatementAST::m_statement [private]
 

Definition at line 1240 of file ast.h.

Referenced by setStatement().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:08 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003