Changeset ee3c93d for src/SynTree
- Timestamp:
- Jun 4, 2018, 12:40:46 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 2ad4b49
- Parents:
- b429026
- git-author:
- Rob Schluntz <rschlunt@…> (06/04/18 12:40:38)
- git-committer:
- Rob Schluntz <rschlunt@…> (06/04/18 12:40:46)
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.cc
rb429026 ree3c93d 243 243 } 244 244 245 WhileStmt::WhileStmt( Expression *condition, Statement *body, bool isDoWhile ):246 Statement(), condition( condition), body( body), i sDoWhile( isDoWhile) {245 WhileStmt::WhileStmt( Expression *condition, Statement *body, std::list< Statement * > & initialization, bool isDoWhile ): 246 Statement(), condition( condition), body( body), initialization( initialization ), isDoWhile( isDoWhile) { 247 247 } 248 248 -
src/SynTree/Statement.h
rb429026 ree3c93d 220 220 Expression *condition; 221 221 Statement *body; 222 std::list<Statement *> initialization; 222 223 bool isDoWhile; 223 224 224 225 WhileStmt( Expression *condition, 225 Statement *body, bool isDoWhile = false );226 Statement *body, std::list<Statement *> & initialization, bool isDoWhile = false ); 226 227 WhileStmt( const WhileStmt &other ); 227 228 virtual ~WhileStmt();
Note: See TracChangeset
for help on using the changeset viewer.