KDevelop API Documentation

SwitchStatementAST Class Reference

#include <ast.h>

Inheritance diagram for SwitchStatementAST:

Inheritance graph
[legend]
Collaboration diagram for SwitchStatementAST:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::auto_ptr< SwitchStatementASTNode
enum  { Type = NodeType_SwitchStatement }

Public Member Functions

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

Private Member Functions

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

Private Attributes

ConditionAST::Node m_condition
StatementAST::Node m_statement

Member Typedef Documentation

typedef std::auto_ptr<SwitchStatementAST> SwitchStatementAST::Node
 

Reimplemented from StatementAST.

Definition at line 1310 of file ast.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Type 

Definition at line 1311 of file ast.h.


Constructor & Destructor Documentation

SwitchStatementAST::SwitchStatementAST  ) 
 

Definition at line 901 of file ast.cpp.

SwitchStatementAST::SwitchStatementAST const SwitchStatementAST source  )  [private]
 


Member Function Documentation

ConditionAST* SwitchStatementAST::condition  )  const [inline]
 

Definition at line 1318 of file ast.h.

Referenced by CppCodeCompletion::computeContext().

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

void SwitchStatementAST::setCondition ConditionAST::Node condition  ) 
 

Definition at line 905 of file ast.cpp.

References m_condition.

void SwitchStatementAST::setStatement StatementAST::Node statement  ) 
 

Definition at line 911 of file ast.cpp.

References m_statement.

StatementAST* SwitchStatementAST::statement  )  [inline]
 

Definition at line 1321 of file ast.h.

Referenced by CppCodeCompletion::computeContext().


Member Data Documentation

ConditionAST::Node SwitchStatementAST::m_condition [private]
 

Definition at line 1325 of file ast.h.

Referenced by setCondition().

StatementAST::Node SwitchStatementAST::m_statement [private]
 

Definition at line 1326 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:48:35 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003