Changes in src/SynTree/Statement.h [936e9f4:6d49ea3]
- File:
-
- 1 edited
-
src/SynTree/Statement.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
r936e9f4 r6d49ea3 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 16 16:28:55201713 // Update Count : 7 012 // Last Modified On : Thu Aug 17 15:37:53 2017 13 // Update Count : 72 14 14 // 15 15 … … 127 127 class IfStmt : public Statement { 128 128 public: 129 std::list<Statement *> initialization;130 129 Expression *condition; 131 130 Statement *thenPart; 132 131 Statement *elsePart; 133 134 IfStmt( std::list<Label> labels, Expression *condition, Statement *thenPart, Statement *elsePart ); 132 std::list<Statement *> initialization; 133 134 IfStmt( std::list<Label> labels, Expression *condition, Statement *thenPart, Statement *elsePart, 135 std::list<Statement *> initialization = std::list<Statement *>() ); 135 136 IfStmt( const IfStmt &other ); 136 137 virtual ~IfStmt(); 137 138 138 139 std::list<Statement *> &get_initialization() { return initialization; } 139 void set_initialization( std::list<Statement *> newValue ) { initialization = newValue; }140 140 Expression *get_condition() { return condition; } 141 141 void set_condition( Expression *newValue ) { condition = newValue; } … … 239 239 240 240 std::list<Statement *> &get_initialization() { return initialization; } 241 void set_initialization( std::list<Statement *> newValue ) { initialization = newValue; }242 241 Expression *get_condition() { return condition; } 243 242 void set_condition( Expression *newValue ) { condition = newValue; }
Note:
See TracChangeset
for help on using the changeset viewer.