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


Definition at line 1317 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| WhileStatementAST () | |
| ConditionAST * | condition () const |
| void | setCondition (ConditionAST *condition) |
| StatementAST * | statement () const |
| void | setStatement (StatementAST *statement) |
Private Member Functions | |
| WhileStatementAST (const WhileStatementAST &source) | |
| void | operator= (const WhileStatementAST &source) |
Private Attributes | |
| ConditionAST * | m_condition |
| StatementAST * | m_statement |
| anonymous enum |
| WhileStatementAST::WhileStatementAST | ( | ) |
| WhileStatementAST::WhileStatementAST | ( | const WhileStatementAST & | source | ) | [private] |
| ConditionAST* WhileStatementAST::condition | ( | ) | const [inline] |
Definition at line 1325 of file ast.h.
References m_condition.
Referenced by TreeWalker::parseWhileStatement(), and setCondition().
01325 { return m_condition; }
| void WhileStatementAST::setCondition | ( | ConditionAST * | condition | ) |
Definition at line 676 of file ast.cpp.
References condition(), m_condition, and AST::setParent().
Referenced by Parser::parseWhileStatement().
00677 { 00678 m_condition = condition; 00679 if (m_condition) m_condition->setParent(this); 00680 }
Here is the call graph for this function:

| StatementAST* WhileStatementAST::statement | ( | ) | const [inline] |
Definition at line 1328 of file ast.h.
References m_statement.
Referenced by TreeWalker::parseWhileStatement(), and setStatement().
01328 { return m_statement; }
| void WhileStatementAST::setStatement | ( | StatementAST * | statement | ) |
Definition at line 682 of file ast.cpp.
References m_statement, AST::setParent(), and statement().
Referenced by Parser::parseWhileStatement().
00683 { 00684 m_statement = statement; 00685 if (m_statement) m_statement->setParent(this); 00686 }
Here is the call graph for this function:

| void WhileStatementAST::operator= | ( | const WhileStatementAST & | source | ) | [private] |
ConditionAST* WhileStatementAST::m_condition [private] |
StatementAST* WhileStatementAST::m_statement [private] |
1.5.1