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


Definition at line 1436 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| DeclarationStatementAST () | |
| DeclarationAST * | declaration () const |
| void | setDeclaration (DeclarationAST *declaration) |
Private Member Functions | |
| DeclarationStatementAST (const DeclarationStatementAST &source) | |
| void | operator= (const DeclarationStatementAST &source) |
Private Attributes | |
| DeclarationAST * | m_declaration |
| anonymous enum |
| DeclarationStatementAST::DeclarationStatementAST | ( | ) |
| DeclarationStatementAST::DeclarationStatementAST | ( | const DeclarationStatementAST & | source | ) | [private] |
| DeclarationAST* DeclarationStatementAST::declaration | ( | ) | const [inline] |
Definition at line 1444 of file ast.h.
References m_declaration.
Referenced by TreeWalker::parseDeclarationStatement(), and setDeclaration().
01444 { return m_declaration; }
| void DeclarationStatementAST::setDeclaration | ( | DeclarationAST * | declaration | ) |
Definition at line 765 of file ast.cpp.
References declaration(), m_declaration, and AST::setParent().
Referenced by Parser::parseDeclarationStatement().
00766 { 00767 m_declaration = declaration; 00768 if (m_declaration) m_declaration->setParent(this); 00769 }
Here is the call graph for this function:

| void DeclarationStatementAST::operator= | ( | const DeclarationStatementAST & | source | ) | [private] |
1.5.1