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