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


Definition at line 1417 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| StatementListAST () | |
| List< StatementAST * > * | statementList () const |
| void | addStatement (StatementAST *statement) |
Private Member Functions | |
| StatementListAST (const StatementListAST &source) | |
| void | operator= (const StatementListAST &source) |
Private Attributes | |
| List< StatementAST * > * | m_statementList |
| anonymous enum |
| StatementListAST::StatementListAST | ( | ) |
| StatementListAST::StatementListAST | ( | const StatementListAST & | source | ) | [private] |
| List<StatementAST *>* StatementListAST::statementList | ( | ) | const [inline] |
Definition at line 1425 of file ast.h.
References m_statementList.
Referenced by TreeWalker::parseStatementList().
01425 { return m_statementList; }
| void StatementListAST::addStatement | ( | StatementAST * | statement | ) |
Definition at line 634 of file ast.cpp.
References AST::_pool, m_statementList, and AST::setParent().
Referenced by Parser::parseCompoundStatement(), and Parser::parseFunctionBody().
00635 { 00636 if(!statement) 00637 return; 00638 00639 statement->setParent(this); 00640 m_statementList = snoc(m_statementList, statement, _pool); 00641 }
Here is the call graph for this function:

| void StatementListAST::operator= | ( | const StatementListAST & | source | ) | [private] |
List<StatementAST *>* StatementListAST::m_statementList [private] |
1.5.1