LinkageSpecificationAST Class Reference

#include <ast.h>

Inheritance diagram for LinkageSpecificationAST:

Inheritance graph
[legend]
Collaboration diagram for LinkageSpecificationAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 823 of file ast.h.

Public Types

enum  

Public Member Functions

 LinkageSpecificationAST ()
ASTexternType () const
void setExternType (AST *externType)
LinkageBodyASTlinkageBody () const
void setLinkageBody (LinkageBodyAST *linkageBody)
DeclarationASTdeclaration () const
void setDeclaration (DeclarationAST *decl)

Private Member Functions

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

Private Attributes

ASTm_externType
LinkageBodyASTm_linkageBody
DeclarationASTm_declaration


Member Enumeration Documentation

anonymous enum

Definition at line 826 of file ast.h.


Constructor & Destructor Documentation

LinkageSpecificationAST::LinkageSpecificationAST (  ) 

Definition at line 110 of file ast.cpp.

00111     : m_externType(0),
00112       m_linkageBody(0),
00113       m_declaration(0)
00114 {
00115 }

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


Member Function Documentation

AST* LinkageSpecificationAST::externType (  )  const [inline]

Definition at line 831 of file ast.h.

References m_externType.

Referenced by TreeWalker::parseLinkageSpecification(), and setExternType().

00831 { return m_externType; }

void LinkageSpecificationAST::setExternType ( AST externType  ) 

Definition at line 117 of file ast.cpp.

References externType(), m_externType, and AST::setParent().

Referenced by Parser::parseLinkageSpecification().

00118 {
00119     m_externType = externType;
00120     if (m_externType) m_externType->setParent(this);
00121 }

Here is the call graph for this function:

LinkageBodyAST* LinkageSpecificationAST::linkageBody (  )  const [inline]

Definition at line 834 of file ast.h.

References m_linkageBody.

Referenced by TreeWalker::parseLinkageSpecification(), and setLinkageBody().

00834 { return m_linkageBody; }

void LinkageSpecificationAST::setLinkageBody ( LinkageBodyAST linkageBody  ) 

Definition at line 123 of file ast.cpp.

References linkageBody(), m_linkageBody, and AST::setParent().

Referenced by Parser::parseLinkageSpecification().

00124 {
00125     m_linkageBody = linkageBody;
00126     if (m_linkageBody) m_linkageBody->setParent(this);
00127 }

Here is the call graph for this function:

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

Definition at line 837 of file ast.h.

References m_declaration.

Referenced by TreeWalker::parseLinkageSpecification().

00837 { return m_declaration; }

void LinkageSpecificationAST::setDeclaration ( DeclarationAST decl  ) 

Definition at line 129 of file ast.cpp.

References m_declaration, and AST::setParent().

Referenced by Parser::parseLinkageSpecification().

00130 {
00131     m_declaration = decl;
00132     if (m_declaration) m_declaration->setParent(this);
00133 }

Here is the call graph for this function:

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


Member Data Documentation

AST* LinkageSpecificationAST::m_externType [private]

Definition at line 841 of file ast.h.

Referenced by externType(), and setExternType().

LinkageBodyAST* LinkageSpecificationAST::m_linkageBody [private]

Definition at line 842 of file ast.h.

Referenced by linkageBody(), and setLinkageBody().

DeclarationAST* LinkageSpecificationAST::m_declaration [private]

Definition at line 843 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 15:08:01 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1