TemplateDeclarationAST Class Reference

#include <ast.h>

Inheritance diagram for TemplateDeclarationAST:

Inheritance graph
[legend]
Collaboration diagram for TemplateDeclarationAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 1162 of file ast.h.

Public Types

enum  

Public Member Functions

 TemplateDeclarationAST ()
ASTexported () const
void setExported (AST *exported)
TemplateParameterListASTtemplateParameterList () const
void setTemplateParameterList (TemplateParameterListAST *templateParameterList)
DeclarationASTdeclaration () const
void setDeclaration (DeclarationAST *declaration)

Private Member Functions

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

Private Attributes

ASTm_exported
TemplateParameterListASTm_templateParameterList
DeclarationASTm_declaration


Member Enumeration Documentation

anonymous enum

Definition at line 1165 of file ast.h.


Constructor & Destructor Documentation

TemplateDeclarationAST::TemplateDeclarationAST (  ) 

Definition at line 261 of file ast.cpp.

00262     : m_exported(0),
00263       m_templateParameterList(0),
00264       m_declaration(0)
00265 {
00266 }

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


Member Function Documentation

AST* TemplateDeclarationAST::exported (  )  const [inline]

Definition at line 1170 of file ast.h.

References m_exported.

Referenced by TreeWalker::parseTemplateDeclaration(), and setExported().

01170 { return m_exported; }

void TemplateDeclarationAST::setExported ( AST exported  ) 

Definition at line 268 of file ast.cpp.

References exported(), m_exported, and AST::setParent().

Referenced by Parser::parseTemplateDeclaration().

00269 {
00270     m_exported = exported;
00271     if (m_exported) m_exported->setParent(this);
00272 }

Here is the call graph for this function:

TemplateParameterListAST* TemplateDeclarationAST::templateParameterList (  )  const [inline]

Definition at line 1173 of file ast.h.

References m_templateParameterList.

Referenced by TreeWalker::parseTemplateDeclaration(), and setTemplateParameterList().

01173 { return m_templateParameterList; }

void TemplateDeclarationAST::setTemplateParameterList ( TemplateParameterListAST templateParameterList  ) 

Definition at line 274 of file ast.cpp.

References m_templateParameterList, AST::setParent(), and templateParameterList().

Referenced by Parser::parseTemplateDeclaration().

Here is the call graph for this function:

DeclarationAST* TemplateDeclarationAST::declaration (  )  const [inline]

Definition at line 1176 of file ast.h.

References m_declaration.

Referenced by TreeWalker::parseTemplateDeclaration(), and setDeclaration().

01176 { return m_declaration; }

void TemplateDeclarationAST::setDeclaration ( DeclarationAST declaration  ) 

Definition at line 280 of file ast.cpp.

References declaration(), m_declaration, and AST::setParent().

Referenced by Parser::parseTemplateDeclaration().

00281 {
00282     m_declaration = declaration;
00283     if (m_declaration) m_declaration->setParent(this);
00284 }

Here is the call graph for this function:

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


Member Data Documentation

AST* TemplateDeclarationAST::m_exported [private]

Definition at line 1180 of file ast.h.

Referenced by exported(), and setExported().

TemplateParameterListAST* TemplateDeclarationAST::m_templateParameterList [private]

Definition at line 1181 of file ast.h.

Referenced by setTemplateParameterList(), and templateParameterList().

DeclarationAST* TemplateDeclarationAST::m_declaration [private]

Definition at line 1182 of file ast.h.

Referenced by declaration(), and setDeclaration().


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