UsingDirectiveAST Class Reference

#include <ast.h>

Inheritance diagram for UsingDirectiveAST:

Inheritance graph
[legend]
Collaboration diagram for UsingDirectiveAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 919 of file ast.h.

Public Types

enum  

Public Member Functions

 UsingDirectiveAST ()
NameASTname () const
void setName (NameAST *name)

Private Member Functions

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

Private Attributes

NameASTm_name


Member Enumeration Documentation

anonymous enum

Definition at line 922 of file ast.h.


Constructor & Destructor Documentation

UsingDirectiveAST::UsingDirectiveAST (  ) 

Definition at line 210 of file ast.cpp.

00211     : m_name(0)
00212 {
00213 }

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


Member Function Documentation

NameAST* UsingDirectiveAST::name (  )  const [inline]

Definition at line 927 of file ast.h.

References m_name.

Referenced by Semantic::parseUsingDirective(), TreeWalker::parseUsingDirective(), and setName().

00927 { return m_name; }

void UsingDirectiveAST::setName ( NameAST name  ) 

Definition at line 215 of file ast.cpp.

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

Referenced by Parser::parseUsingDirective().

00216 {
00217     m_name = name;
00218     if (m_name) m_name->setParent(this);
00219 }

Here is the call graph for this function:

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


Member Data Documentation

NameAST* UsingDirectiveAST::m_name [private]

Definition at line 931 of file ast.h.

Referenced by name(), and setName().


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