Changeset c8dfcd3 for src/SynTree
- Timestamp:
- Aug 30, 2016, 5:15:34 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, 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, resolv-new, with_gc
- Children:
- fba44f8
- Parents:
- fa463f1
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
rfa463f1 rc8dfcd3 358 358 assert( member ); 359 359 os << std::string( indent + 2, ' ' ); 360 os << (void*)member << " ";361 360 member->print( os, indent + 2 ); 362 361 os << std::endl; -
src/SynTree/Statement.h
rfa463f1 rc8dfcd3 47 47 48 48 std::list<Statement*>& get_kids() { return kids; } 49 void push_back( Statement * stmt ) { kids.push_back( stmt ); } 50 void push_front( Statement * stmt ) { kids.push_front( stmt ); } 49 51 50 52 virtual CompoundStmt *clone() const { return new CompoundStmt( *this ); }
Note: See TracChangeset
for help on using the changeset viewer.