UsingAST Class Reference

#include <ast.h>

Inheritance diagram for UsingAST:

Inheritance graph
[legend]
Collaboration diagram for UsingAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 896 of file ast.h.

Public Types

enum  

Public Member Functions

 UsingAST ()
ASTtypeName () const
void setTypeName (AST *typeName)
NameASTname () const
void setName (NameAST *name)

Private Member Functions

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

Private Attributes

ASTm_typeName
NameASTm_name


Member Enumeration Documentation

anonymous enum

Definition at line 899 of file ast.h.

00899 { Type = NodeType_Using };


Constructor & Destructor Documentation

UsingAST::UsingAST (  ) 

Definition at line 191 of file ast.cpp.

00192     : m_typeName(0),
00193       m_name(0)
00194 {
00195 }

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


Member Function Documentation

AST* UsingAST::typeName (  )  const [inline]

Definition at line 904 of file ast.h.

References m_typeName.

Referenced by TreeWalker::parseUsing(), and setTypeName().

00904 { return m_typeName; }

void UsingAST::setTypeName ( AST typeName  ) 

Definition at line 197 of file ast.cpp.

References m_typeName, AST::setParent(), and typeName().

Referenced by Parser::parseUsing().

00198 {
00199     m_typeName = typeName;
00200     if (m_typeName) m_typeName->setParent(this);
00201 }

Here is the call graph for this function:

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

Definition at line 907 of file ast.h.

References m_name.

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

00907 { return m_name; }

void UsingAST::setName ( NameAST name  ) 

Definition at line 203 of file ast.cpp.

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

Referenced by Parser::parseUsing().

00204 {
00205     m_name = name;
00206     if (m_name) m_name->setParent(this);
00207 }

Here is the call graph for this function:

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


Member Data Documentation

AST* UsingAST::m_typeName [private]

Definition at line 911 of file ast.h.

Referenced by setTypeName(), and typeName().

NameAST* UsingAST::m_name [private]

Definition at line 912 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:21 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1