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


Definition at line 1394 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| SwitchStatementAST () | |
| ConditionAST * | condition () const |
| void | setCondition (ConditionAST *condition) |
| StatementAST * | statement () const |
| void | setStatement (StatementAST *statement) |
Private Member Functions | |
| SwitchStatementAST (const SwitchStatementAST &source) | |
| void | operator= (const SwitchStatementAST &source) |
Private Attributes | |
| ConditionAST * | m_condition |
| StatementAST * | m_statement |
| anonymous enum |
| SwitchStatementAST::SwitchStatementAST | ( | ) |
| SwitchStatementAST::SwitchStatementAST | ( | const SwitchStatementAST & | source | ) | [private] |
| ConditionAST* SwitchStatementAST::condition | ( | ) | const [inline] |
Definition at line 1402 of file ast.h.
References m_condition.
Referenced by TreeWalker::parseSwitchStatement(), and setCondition().
01402 { return m_condition; }
| void SwitchStatementAST::setCondition | ( | ConditionAST * | condition | ) |
Definition at line 747 of file ast.cpp.
References condition(), m_condition, and AST::setParent().
Referenced by Parser::parseSwitchStatement().
00748 { 00749 m_condition = condition; 00750 if (m_condition) m_condition->setParent(this); 00751 }
Here is the call graph for this function:

| StatementAST* SwitchStatementAST::statement | ( | ) | const [inline] |
Definition at line 1405 of file ast.h.
References m_statement.
Referenced by TreeWalker::parseSwitchStatement(), and setStatement().
01405 { return m_statement; }
| void SwitchStatementAST::setStatement | ( | StatementAST * | statement | ) |
Definition at line 753 of file ast.cpp.
References m_statement, AST::setParent(), and statement().
Referenced by Parser::parseSwitchStatement().
00754 { 00755 m_statement = statement; 00756 if (m_statement) m_statement->setParent(this); 00757 }
Here is the call graph for this function:

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