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


Definition at line 1481 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| FunctionDefinitionAST () | |
| AST * | functionSpecifier () const |
| void | setFunctionSpecifier (AST *functionSpecifier) |
| AST * | storageSpecifier () const |
| void | setStorageSpecifier (AST *storageSpecifier) |
| TypeSpecifierAST * | typeSpec () const |
| void | setTypeSpec (TypeSpecifierAST *typeSpec) |
| InitDeclaratorAST * | initDeclarator () const |
| void | setInitDeclarator (InitDeclaratorAST *initDeclarator) |
| StatementListAST * | functionBody () const |
| void | setFunctionBody (StatementListAST *functionBody) |
| AST * | winDeclSpec () const |
| void | setWinDeclSpec (AST *winDeclSpec) |
Private Member Functions | |
| FunctionDefinitionAST (const FunctionDefinitionAST &source) | |
| void | operator= (const FunctionDefinitionAST &source) |
Private Attributes | |
| AST * | m_functionSpecifier |
| AST * | m_storageSpecifier |
| TypeSpecifierAST * | m_typeSpec |
| InitDeclaratorAST * | m_initDeclarator |
| StatementListAST * | m_functionBody |
| AST * | m_winDeclSpec |
| anonymous enum |
| FunctionDefinitionAST::FunctionDefinitionAST | ( | ) |
Definition at line 582 of file ast.cpp.
00583 : m_functionSpecifier(0), 00584 m_storageSpecifier(0), 00585 m_typeSpec(0), 00586 m_initDeclarator(0), 00587 m_functionBody(0), 00588 m_winDeclSpec(0) 00589 { 00590 }
| FunctionDefinitionAST::FunctionDefinitionAST | ( | const FunctionDefinitionAST & | source | ) | [private] |
| AST* FunctionDefinitionAST::functionSpecifier | ( | ) | const [inline] |
Definition at line 1489 of file ast.h.
References m_functionSpecifier.
Referenced by TreeWalker::parseFunctionDefinition(), Semantic::parseFunctionDefinition(), and setFunctionSpecifier().
01489 { return m_functionSpecifier; }
| void FunctionDefinitionAST::setFunctionSpecifier | ( | AST * | functionSpecifier | ) |
Definition at line 592 of file ast.cpp.
References functionSpecifier(), m_functionSpecifier, and AST::setParent().
Referenced by Parser::parseDeclarationInternal().
00593 { 00594 m_functionSpecifier = functionSpecifier; 00595 if (m_functionSpecifier) m_functionSpecifier->setParent(this); 00596 }
Here is the call graph for this function:

| AST* FunctionDefinitionAST::storageSpecifier | ( | ) | const [inline] |
Definition at line 1492 of file ast.h.
References m_storageSpecifier.
Referenced by TreeWalker::parseFunctionDefinition(), Semantic::parseFunctionDefinition(), and setStorageSpecifier().
01492 { return m_storageSpecifier; }
| void FunctionDefinitionAST::setStorageSpecifier | ( | AST * | storageSpecifier | ) |
Definition at line 598 of file ast.cpp.
References m_storageSpecifier, AST::setParent(), and storageSpecifier().
Referenced by Parser::parseDeclarationInternal().
00599 { 00600 m_storageSpecifier = storageSpecifier; 00601 if (m_storageSpecifier) m_storageSpecifier->setParent(this); 00602 }
Here is the call graph for this function:

| TypeSpecifierAST* FunctionDefinitionAST::typeSpec | ( | ) | const [inline] |
Definition at line 1495 of file ast.h.
References m_typeSpec.
Referenced by TreeWalker::parseFunctionDefinition(), Semantic::parseFunctionDefinition(), and setTypeSpec().
01495 { return m_typeSpec; }
| void FunctionDefinitionAST::setTypeSpec | ( | TypeSpecifierAST * | typeSpec | ) |
Definition at line 604 of file ast.cpp.
References m_typeSpec, AST::setParent(), and typeSpec().
Referenced by Parser::parseDeclarationInternal().
00605 { 00606 m_typeSpec = typeSpec; 00607 if (m_typeSpec) m_typeSpec->setParent(this); 00608 }
Here is the call graph for this function:

| InitDeclaratorAST* FunctionDefinitionAST::initDeclarator | ( | ) | const [inline] |
Definition at line 1498 of file ast.h.
References m_initDeclarator.
Referenced by TreeWalker::parseFunctionDefinition(), Semantic::parseFunctionDefinition(), and setInitDeclarator().
01498 { return m_initDeclarator; }
| void FunctionDefinitionAST::setInitDeclarator | ( | InitDeclaratorAST * | initDeclarator | ) |
Definition at line 610 of file ast.cpp.
References initDeclarator(), m_initDeclarator, and AST::setParent().
Referenced by Parser::parseDeclarationInternal().
00611 { 00612 m_initDeclarator = initDeclarator; 00613 if (m_initDeclarator) m_initDeclarator->setParent(this); 00614 }
Here is the call graph for this function:

| StatementListAST* FunctionDefinitionAST::functionBody | ( | ) | const [inline] |
Definition at line 1501 of file ast.h.
References m_functionBody.
Referenced by TreeWalker::parseFunctionDefinition(), Semantic::parseFunctionDefinition(), and setFunctionBody().
01501 { return m_functionBody; }
| void FunctionDefinitionAST::setFunctionBody | ( | StatementListAST * | functionBody | ) |
Definition at line 616 of file ast.cpp.
References functionBody(), m_functionBody, and AST::setParent().
Referenced by Parser::parseDeclarationInternal().
00617 { 00618 m_functionBody = functionBody; 00619 if (m_functionBody) m_functionBody->setParent(this); 00620 }
Here is the call graph for this function:

| AST* FunctionDefinitionAST::winDeclSpec | ( | ) | const [inline] |
Definition at line 1504 of file ast.h.
References m_winDeclSpec.
Referenced by TreeWalker::parseFunctionDefinition(), and setWinDeclSpec().
01504 { return m_winDeclSpec; }
| void FunctionDefinitionAST::setWinDeclSpec | ( | AST * | winDeclSpec | ) |
Definition at line 622 of file ast.cpp.
References m_winDeclSpec, AST::setParent(), and winDeclSpec().
Referenced by Parser::parseDeclarationInternal().
00623 { 00624 m_winDeclSpec = winDeclSpec; 00625 if (m_winDeclSpec) m_winDeclSpec->setParent(this); 00626 }
Here is the call graph for this function:

| void FunctionDefinitionAST::operator= | ( | const FunctionDefinitionAST & | source | ) | [private] |
AST* FunctionDefinitionAST::m_functionSpecifier [private] |
Definition at line 1508 of file ast.h.
Referenced by functionSpecifier(), and setFunctionSpecifier().
AST* FunctionDefinitionAST::m_storageSpecifier [private] |
AST* FunctionDefinitionAST::m_winDeclSpec [private] |
1.5.1