KDevelop API Documentation

IfStatementAST Class Reference

#include <ast.h>

Inheritance diagram for IfStatementAST:

StatementAST AST List of all members.

Public Types

typedef std::auto_ptr< IfStatementASTNode
enum  { Type = NodeType_IfStatement }

Public Member Functions

 IfStatementAST ()
ConditionASTcondition () const
void setCondition (ConditionAST::Node &condition)
StatementASTstatement ()
void setStatement (StatementAST::Node &statement)
StatementASTelseStatement ()
void setElseStatement (StatementAST::Node &statement)

Private Member Functions

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

Private Attributes

ConditionAST::Node m_condition
StatementAST::Node m_statement
StatementAST::Node m_elseStatement

Member Typedef Documentation

typedef std::auto_ptr<IfStatementAST> IfStatementAST::Node
 

Reimplemented from StatementAST.

Definition at line 1194 of file ast.h.

Referenced by Parser::parseIfStatement().


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Type 

Definition at line 1195 of file ast.h.


Constructor & Destructor Documentation

IfStatementAST::IfStatementAST  ) 
 

Definition at line 815 of file ast.cpp.

IfStatementAST::IfStatementAST const IfStatementAST source  )  [private]
 


Member Function Documentation

ConditionAST* IfStatementAST::condition  )  const [inline]
 

Definition at line 1202 of file ast.h.

StatementAST* IfStatementAST::elseStatement  )  [inline]
 

Definition at line 1208 of file ast.h.

Referenced by CppCodeCompletion::computeContext().

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

void IfStatementAST::setCondition ConditionAST::Node condition  ) 
 

Definition at line 819 of file ast.cpp.

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

Referenced by setCondition().

void IfStatementAST::setElseStatement StatementAST::Node statement  ) 
 

Definition at line 831 of file ast.cpp.

References m_elseStatement, and setElseStatement().

Referenced by setElseStatement().

void IfStatementAST::setStatement StatementAST::Node statement  ) 
 

Definition at line 825 of file ast.cpp.

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

Referenced by setStatement().

StatementAST* IfStatementAST::statement  )  [inline]
 

Definition at line 1205 of file ast.h.

Referenced by CppCodeCompletion::computeContext().


Member Data Documentation

ConditionAST::Node IfStatementAST::m_condition [private]
 

Definition at line 1212 of file ast.h.

Referenced by setCondition().

StatementAST::Node IfStatementAST::m_elseStatement [private]
 

Definition at line 1214 of file ast.h.

Referenced by setElseStatement().

StatementAST::Node IfStatementAST::m_statement [private]
 

Definition at line 1213 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:03 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003