ClassOrNamespaceNameAST Class Reference

#include <ast.h>

Inheritance diagram for ClassOrNamespaceNameAST:

Inheritance graph
[legend]
Collaboration diagram for ClassOrNamespaceNameAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 525 of file ast.h.

Public Types

enum  

Public Member Functions

 ClassOrNamespaceNameAST ()
ASTname () const
void setName (AST *name)
TemplateArgumentListASTtemplateArgumentList () const
void setTemplateArgumentList (TemplateArgumentListAST *templateArgumentList)

Private Member Functions

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

Private Attributes

ASTm_name
TemplateArgumentListASTm_templateArgumentList


Member Enumeration Documentation

anonymous enum

Definition at line 528 of file ast.h.


Constructor & Destructor Documentation

ClassOrNamespaceNameAST::ClassOrNamespaceNameAST (  ) 

Definition at line 287 of file ast.cpp.

00288     : m_name(0), m_templateArgumentList(0)
00289 {
00290 }

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


Member Function Documentation

AST* ClassOrNamespaceNameAST::name (  )  const [inline]

Definition at line 533 of file ast.h.

References m_name.

Referenced by TreeWalker::parseClassOrNamespaceName(), Semantic::scopeOfName(), and setName().

00533 { return m_name; }

void ClassOrNamespaceNameAST::setName ( AST name  ) 

Definition at line 292 of file ast.cpp.

References m_name, name(), and AST::setParent().

Referenced by Parser::parseSimpleTypeSpecifier(), and Parser::parseUnqualifiedName().

00293 {
00294     m_name = name;
00295     if (m_name) m_name->setParent(this);
00296 }

Here is the call graph for this function:

TemplateArgumentListAST* ClassOrNamespaceNameAST::templateArgumentList (  )  const [inline]

Definition at line 536 of file ast.h.

References m_templateArgumentList.

Referenced by TreeWalker::parseClassOrNamespaceName(), and setTemplateArgumentList().

00536 { return m_templateArgumentList; }

void ClassOrNamespaceNameAST::setTemplateArgumentList ( TemplateArgumentListAST templateArgumentList  ) 

Definition at line 298 of file ast.cpp.

References m_templateArgumentList, AST::setParent(), and templateArgumentList().

Referenced by Parser::parseUnqualifiedName().

Here is the call graph for this function:

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


Member Data Documentation

AST* ClassOrNamespaceNameAST::m_name [private]

Definition at line 540 of file ast.h.

Referenced by name(), and setName().

TemplateArgumentListAST* ClassOrNamespaceNameAST::m_templateArgumentList [private]

Definition at line 541 of file ast.h.

Referenced by setTemplateArgumentList(), and templateArgumentList().


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