KDevelop API Documentation

ForStatementAST Class Reference

#include <ast.h>

Inheritance diagram for ForStatementAST:

StatementAST AST List of all members.

Public Types

typedef std::auto_ptr< ForStatementASTNode
enum  { Type = NodeType_ForStatement }

Public Member Functions

 ForStatementAST ()
StatementASTinitStatement ()
void setInitStatement (StatementAST::Node &statement)
ConditionASTcondition () const
void setCondition (ConditionAST::Node &condition)
ASTexpression () const
void setExpression (AST::Node &expression)
StatementASTstatement ()
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.

Referenced by Parser::parseForStatement().


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, ConditionAST::Node, and setCondition().

Referenced by setCondition().

void ForStatementAST::setExpression AST::Node expression  ) 
 

Definition at line 882 of file ast.cpp.

References m_expression, AST::Node, and setExpression().

Referenced by setExpression().

void ForStatementAST::setInitStatement StatementAST::Node statement  ) 
 

Definition at line 894 of file ast.cpp.

References m_initStatement, and setInitStatement().

Referenced by setInitStatement().

void ForStatementAST::setStatement StatementAST::Node statement  ) 
 

Definition at line 888 of file ast.cpp.

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

Referenced by setStatement().

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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003