TypedefAST Class Reference

#include <ast.h>

Inheritance diagram for TypedefAST:

Inheritance graph
[legend]
Collaboration diagram for TypedefAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 1098 of file ast.h.

Public Types

enum  

Public Member Functions

 TypedefAST ()
TypeSpecifierASTtypeSpec () const
void setTypeSpec (TypeSpecifierAST *typeSpec)
InitDeclaratorListASTinitDeclaratorList () const
void setInitDeclaratorList (InitDeclaratorListAST *initDeclaratorList)

Private Member Functions

void operator= (const TypedefAST &source)

Private Attributes

TypeSpecifierASTm_typeSpec
InitDeclaratorListASTm_initDeclaratorList


Member Enumeration Documentation

anonymous enum

Definition at line 1101 of file ast.h.

01101 { Type = NodeType_Typedef };


Constructor & Destructor Documentation

TypedefAST::TypedefAST (  ) 

Definition at line 221 of file ast.cpp.

00222     : m_typeSpec(0),
00223       m_initDeclaratorList(0)
00224 {
00225 }


Member Function Documentation

TypeSpecifierAST* TypedefAST::typeSpec (  )  const [inline]

Definition at line 1106 of file ast.h.

References m_typeSpec.

Referenced by Semantic::parseTypedef(), TreeWalker::parseTypedef(), and setTypeSpec().

01106 { return m_typeSpec; }

void TypedefAST::setTypeSpec ( TypeSpecifierAST typeSpec  ) 

Definition at line 233 of file ast.cpp.

References m_typeSpec, AST::setParent(), and typeSpec().

Referenced by Parser::parseTypedef().

00234 {
00235     m_typeSpec = typeSpec;
00236     if (m_typeSpec) m_typeSpec->setParent(this);
00237 }

Here is the call graph for this function:

InitDeclaratorListAST* TypedefAST::initDeclaratorList (  )  const [inline]

Definition at line 1109 of file ast.h.

References m_initDeclaratorList.

Referenced by Semantic::parseTypedef(), TreeWalker::parseTypedef(), and setInitDeclaratorList().

01109 { return m_initDeclaratorList; }

void TypedefAST::setInitDeclaratorList ( InitDeclaratorListAST initDeclaratorList  ) 

Definition at line 239 of file ast.cpp.

References initDeclaratorList(), m_initDeclaratorList, and AST::setParent().

Referenced by Parser::parseTypedef().

Here is the call graph for this function:

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


Member Data Documentation

TypeSpecifierAST* TypedefAST::m_typeSpec [private]

Definition at line 1113 of file ast.h.

Referenced by setTypeSpec(), and typeSpec().

InitDeclaratorListAST* TypedefAST::m_initDeclaratorList [private]

Definition at line 1114 of file ast.h.

Referenced by initDeclaratorList(), and setInitDeclaratorList().


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