KDevelop API Documentation

ForStatementAST Class Reference

#include <ast.h>

Inheritance diagram for ForStatementAST:

Inheritance graph
[legend]
Collaboration diagram for ForStatementAST:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::auto_ptr< ForStatementAST > Node
enum  { Type = NodeType_ForStatement }

Public Member Functions

 ForStatementAST ()
StatementAST * initStatement ()
void setInitStatement (StatementAST::Node &statement)
ConditionAST * condition () const
void setCondition (ConditionAST::Node &condition)
AST * expression () const
void setExpression (AST::Node &expression)
StatementAST * statement ()
void setStatement (StatementAST::Node &statement)

Private Member Functions

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

Private Attributes

ConditionAST::Node m_condition
StatementAST::Node m_initStatement
StatementAST::Node m_statement
AST::Node m_expression

Member Typedef Documentation

typedef std::auto_ptr<ForStatementAST> ForStatementAST::Node
 

Reimplemented from StatementAST.

Definition at line 1276 of file ast.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Type 

Definition at line 1277 of file ast.h.


Constructor & Destructor Documentation

ForStatementAST::ForStatementAST (   ) 
 

Definition at line 872 of file ast.cpp.

ForStatementAST::ForStatementAST (  const ForStatementAST &  source  )  [private]
 


Member Function Documentation

ConditionAST* ForStatementAST::condition (   )  const [inline]
 

Definition at line 1287 of file ast.h.

Referenced by CppCodeCompletion::computeContext().

AST* ForStatementAST::expression (   )  const [inline]
 

Definition at line 1290 of file ast.h.

StatementAST* ForStatementAST::initStatement (   )  [inline]
 

Definition at line 1284 of file ast.h.

void ForStatementAST::operator= (  const ForStatementAST &  source  )  [private]
 

void ForStatementAST::setCondition (  ConditionAST::Node &  condition  ) 
 

Definition at line 876 of file ast.cpp.

References m_condition.

void ForStatementAST::setExpression (  AST::Node &  expression  ) 
 

Definition at line 882 of file ast.cpp.

References m_expression.

void ForStatementAST::setInitStatement (  StatementAST::Node &  statement  ) 
 

Definition at line 894 of file ast.cpp.

References m_initStatement.

void ForStatementAST::setStatement (  StatementAST::Node &  statement  ) 
 

Definition at line 888 of file ast.cpp.

References m_statement.

StatementAST* ForStatementAST::statement (   )  [inline]
 

Definition at line 1293 of file ast.h.

Referenced by CppCodeCompletion::computeContext().


Member Data Documentation

ConditionAST::Node ForStatementAST::m_condition [private]
 

Definition at line 1297 of file ast.h.

Referenced by setCondition().

AST::Node ForStatementAST::m_expression [private]
 

Definition at line 1300 of file ast.h.

Referenced by setExpression().

StatementAST::Node ForStatementAST::m_initStatement [private]
 

Definition at line 1298 of file ast.h.

Referenced by setInitStatement().

StatementAST::Node ForStatementAST::m_statement [private]
 

Definition at line 1299 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.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:42:38 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003