LinkageBodyAST Class Reference

#include <ast.h>

Inheritance diagram for LinkageBodyAST:

Inheritance graph
[legend]
Collaboration diagram for LinkageBodyAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 804 of file ast.h.

Public Types

enum  

Public Member Functions

 LinkageBodyAST ()
void addDeclaration (DeclarationAST *ast)
List< DeclarationAST * > * declarationList () const

Private Member Functions

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

Private Attributes

List< DeclarationAST * > * m_declarationList


Member Enumeration Documentation

anonymous enum

Definition at line 807 of file ast.h.


Constructor & Destructor Documentation

LinkageBodyAST::LinkageBodyAST (  ) 

Definition at line 95 of file ast.cpp.

00096     : m_declarationList(0)
00097 {
00098 }

LinkageBodyAST::LinkageBodyAST ( const LinkageBodyAST source  )  [private]


Member Function Documentation

void LinkageBodyAST::addDeclaration ( DeclarationAST ast  ) 

Definition at line 100 of file ast.cpp.

References AST::_pool, m_declarationList, and AST::setParent().

00101 {
00102     if(!ast)
00103         return;
00104 
00105     ast->setParent(this);
00106     m_declarationList = snoc(m_declarationList, ast, _pool);
00107 }

Here is the call graph for this function:

List<DeclarationAST *>* LinkageBodyAST::declarationList (  )  const [inline]

Definition at line 813 of file ast.h.

References m_declarationList.

Referenced by TreeWalker::parseLinkageBody().

00813 { return m_declarationList; }

void LinkageBodyAST::operator= ( const LinkageBodyAST source  )  [private]


Member Data Documentation

List<DeclarationAST *>* LinkageBodyAST::m_declarationList [private]

Definition at line 816 of file ast.h.

Referenced by addDeclaration(), and declarationList().


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 15:07:58 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1