#include <ast.h>
Inheritance diagram for SimpleDeclarationAST:


Definition at line 1189 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| SimpleDeclarationAST () | |
| AST * | functionSpecifier () const |
| void | setFunctionSpecifier (AST *functionSpecifier) |
| AST * | storageSpecifier () const |
| void | setStorageSpecifier (AST *storageSpecifier) |
| TypeSpecifierAST * | typeSpec () const |
| void | setTypeSpec (TypeSpecifierAST *typeSpec) |
| InitDeclaratorListAST * | initDeclaratorList () const |
| void | setInitDeclaratorList (InitDeclaratorListAST *initDeclaratorList) |
| AST * | winDeclSpec () const |
| void | setWinDeclSpec (AST *winDeclSpec) |
Private Member Functions | |
| SimpleDeclarationAST (const SimpleDeclarationAST &source) | |
| void | operator= (const SimpleDeclarationAST &source) |
Private Attributes | |
| AST * | m_functionSpecifier |
| AST * | m_storageSpecifier |
| TypeSpecifierAST * | m_typeSpec |
| InitDeclaratorListAST * | m_initDeclaratorList |
| AST * | m_winDeclSpec |
| anonymous enum |
| 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] |
| 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().
00451 { 00452 m_functionSpecifier = functionSpecifier; 00453 if (m_functionSpecifier) m_functionSpecifier->setParent(this); 00454 }
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().
00457 { 00458 m_storageSpecifier = storageSpecifier; 00459 if (m_storageSpecifier) m_storageSpecifier->setParent(this); 00460 }
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().
00469 { 00470 m_initDeclaratorList = initDeclaratorList; 00471 if (m_initDeclaratorList) m_initDeclaratorList->setParent(this); 00472 }
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] |
AST* SimpleDeclarationAST::m_functionSpecifier [private] |
Definition at line 1213 of file ast.h.
Referenced by functionSpecifier(), and setFunctionSpecifier().
AST* SimpleDeclarationAST::m_storageSpecifier [private] |
TypeSpecifierAST* SimpleDeclarationAST::m_typeSpec [private] |
Definition at line 1216 of file ast.h.
Referenced by initDeclaratorList(), and setInitDeclaratorList().
AST* SimpleDeclarationAST::m_winDeclSpec [private] |
1.5.1