SimpleDeclarationAST Class Reference

#include <ast.h>

Inheritance diagram for SimpleDeclarationAST:

Inheritance graph
[legend]
Collaboration diagram for SimpleDeclarationAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 1189 of file ast.h.

Public Types

enum  

Public Member Functions

 SimpleDeclarationAST ()
ASTfunctionSpecifier () const
void setFunctionSpecifier (AST *functionSpecifier)
ASTstorageSpecifier () const
void setStorageSpecifier (AST *storageSpecifier)
TypeSpecifierASTtypeSpec () const
void setTypeSpec (TypeSpecifierAST *typeSpec)
InitDeclaratorListASTinitDeclaratorList () const
void setInitDeclaratorList (InitDeclaratorListAST *initDeclaratorList)
ASTwinDeclSpec () const
void setWinDeclSpec (AST *winDeclSpec)

Private Member Functions

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

Private Attributes

ASTm_functionSpecifier
ASTm_storageSpecifier
TypeSpecifierASTm_typeSpec
InitDeclaratorListASTm_initDeclaratorList
ASTm_winDeclSpec


Member Enumeration Documentation

anonymous enum

Definition at line 1192 of file ast.h.


Constructor & Destructor Documentation

SimpleDeclarationAST::SimpleDeclarationAST (  ) 

Definition at line 441 of file ast.cpp.

00442     : m_functionSpecifier(0),
00443       m_storageSpecifier(0),
00444       m_typeSpec(0),
00445       m_initDeclaratorList(0),
00446       m_winDeclSpec(0)
00447 {
00448 }

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


Member Function Documentation

AST* SimpleDeclarationAST::functionSpecifier (  )  const [inline]

Definition at line 1197 of file ast.h.

References m_functionSpecifier.

Referenced by TreeWalker::parseSimpleDeclaration(), Semantic::parseSimpleDeclaration(), and setFunctionSpecifier().

01197 { return m_functionSpecifier; }

void SimpleDeclarationAST::setFunctionSpecifier ( AST functionSpecifier  ) 

Definition at line 450 of file ast.cpp.

References functionSpecifier(), m_functionSpecifier, and AST::setParent().

Referenced by Parser::parseDeclarationInternal().

Here is the call graph for this function:

AST* SimpleDeclarationAST::storageSpecifier (  )  const [inline]

Definition at line 1200 of file ast.h.

References m_storageSpecifier.

Referenced by TreeWalker::parseSimpleDeclaration(), Semantic::parseSimpleDeclaration(), and setStorageSpecifier().

01200 { return m_storageSpecifier; }

void SimpleDeclarationAST::setStorageSpecifier ( AST storageSpecifier  ) 

Definition at line 456 of file ast.cpp.

References m_storageSpecifier, AST::setParent(), and storageSpecifier().

Referenced by Parser::parseDeclaration(), and Parser::parseDeclarationInternal().

Here is the call graph for this function:

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

Definition at line 1203 of file ast.h.

References m_typeSpec.

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

01203 { return m_typeSpec; }

void SimpleDeclarationAST::setTypeSpec ( TypeSpecifierAST typeSpec  ) 

Definition at line 462 of file ast.cpp.

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

Referenced by Parser::parseBlockDeclaration(), Parser::parseDeclaration(), Parser::parseDeclarationInternal(), and Parser::parseMemberSpecification().

00463 {
00464     m_typeSpec = typeSpec;
00465     if (m_typeSpec) m_typeSpec->setParent(this);
00466 }

Here is the call graph for this function:

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

Definition at line 1206 of file ast.h.

References m_initDeclaratorList.

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

01206 { return m_initDeclaratorList; }

void SimpleDeclarationAST::setInitDeclaratorList ( InitDeclaratorListAST initDeclaratorList  ) 

Definition at line 468 of file ast.cpp.

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

Referenced by Parser::parseBlockDeclaration(), Parser::parseDeclaration(), Parser::parseDeclarationInternal(), and Parser::parseMemberSpecification().

Here is the call graph for this function:

AST* SimpleDeclarationAST::winDeclSpec (  )  const [inline]

Definition at line 1209 of file ast.h.

References m_winDeclSpec.

Referenced by TreeWalker::parseSimpleDeclaration(), and setWinDeclSpec().

01209 { return m_winDeclSpec; }

void SimpleDeclarationAST::setWinDeclSpec ( AST winDeclSpec  ) 

Definition at line 474 of file ast.cpp.

References m_winDeclSpec, AST::setParent(), and winDeclSpec().

Referenced by Parser::parseDeclarationInternal().

00475 {
00476     m_winDeclSpec = winDeclSpec;
00477     if (m_winDeclSpec) m_winDeclSpec->setParent(this);
00478 }

Here is the call graph for this function:

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


Member Data Documentation

AST* SimpleDeclarationAST::m_functionSpecifier [private]

Definition at line 1213 of file ast.h.

Referenced by functionSpecifier(), and setFunctionSpecifier().

AST* SimpleDeclarationAST::m_storageSpecifier [private]

Definition at line 1214 of file ast.h.

Referenced by setStorageSpecifier(), and storageSpecifier().

TypeSpecifierAST* SimpleDeclarationAST::m_typeSpec [private]

Definition at line 1215 of file ast.h.

Referenced by setTypeSpec(), and typeSpec().

InitDeclaratorListAST* SimpleDeclarationAST::m_initDeclaratorList [private]

Definition at line 1216 of file ast.h.

Referenced by initDeclaratorList(), and setInitDeclaratorList().

AST* SimpleDeclarationAST::m_winDeclSpec [private]

Definition at line 1217 of file ast.h.

Referenced by setWinDeclSpec(), and winDeclSpec().


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