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


Definition at line 1363 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| ForStatementAST () | |
| StatementAST * | initStatement () const |
| void | setInitStatement (StatementAST *statement) |
| ConditionAST * | condition () const |
| void | setCondition (ConditionAST *condition) |
| AbstractExpressionAST * | expression () const |
| void | setExpression (AbstractExpressionAST *expression) |
| StatementAST * | statement () const |
| void | setStatement (StatementAST *statement) |
Private Member Functions | |
| ForStatementAST (const ForStatementAST &source) | |
| void | operator= (const ForStatementAST &source) |
Private Attributes | |
| ConditionAST * | m_condition |
| StatementAST * | m_initStatement |
| StatementAST * | m_statement |
| AbstractExpressionAST * | m_expression |
| anonymous enum |
| ForStatementAST::ForStatementAST | ( | ) |
Definition at line 708 of file ast.cpp.
00709 : m_condition(0), 00710 m_initStatement(0), 00711 m_statement(0), 00712 m_expression(0) 00713 { 00714 }
| ForStatementAST::ForStatementAST | ( | const ForStatementAST & | source | ) | [private] |
| StatementAST* ForStatementAST::initStatement | ( | ) | const [inline] |
Definition at line 1371 of file ast.h.
References m_initStatement.
Referenced by TreeWalker::parseForStatement(), and setInitStatement().
01371 { return m_initStatement; }
| void ForStatementAST::setInitStatement | ( | StatementAST * | statement | ) |
Definition at line 734 of file ast.cpp.
References initStatement(), m_initStatement, and AST::setParent().
Referenced by Parser::parseForStatement().
00735 { 00736 m_initStatement = initStatement; 00737 if (m_initStatement) m_initStatement->setParent(this); 00738 }
Here is the call graph for this function:

| ConditionAST* ForStatementAST::condition | ( | ) | const [inline] |
Definition at line 1374 of file ast.h.
References m_condition.
Referenced by TreeWalker::parseForStatement(), and setCondition().
01374 { return m_condition; }
| void ForStatementAST::setCondition | ( | ConditionAST * | condition | ) |
Definition at line 716 of file ast.cpp.
References condition(), m_condition, and AST::setParent().
Referenced by Parser::parseForStatement().
00717 { 00718 m_condition = condition; 00719 if (m_condition) m_condition->setParent(this); 00720 }
Here is the call graph for this function:

| AbstractExpressionAST* ForStatementAST::expression | ( | ) | const [inline] |
Definition at line 1377 of file ast.h.
References m_expression.
Referenced by TreeWalker::parseForStatement(), and setExpression().
01377 { return m_expression; }
| void ForStatementAST::setExpression | ( | AbstractExpressionAST * | expression | ) |
Definition at line 722 of file ast.cpp.
References expression(), m_expression, and AST::setParent().
00723 { 00724 m_expression = expression; 00725 if (m_expression) m_expression->setParent(this); 00726 }
Here is the call graph for this function:

| StatementAST* ForStatementAST::statement | ( | ) | const [inline] |
Definition at line 1380 of file ast.h.
References m_statement.
Referenced by TreeWalker::parseForStatement(), and setStatement().
01380 { return m_statement; }
| void ForStatementAST::setStatement | ( | StatementAST * | statement | ) |
Definition at line 728 of file ast.cpp.
References m_statement, AST::setParent(), and statement().
Referenced by Parser::parseForStatement().
00729 { 00730 m_statement = statement; 00731 if (m_statement) m_statement->setParent(this); 00732 }
Here is the call graph for this function:

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