Changeset 1a6a6f2 for src/SynTree/Statement.h
- Timestamp:
- Aug 19, 2021, 4:04:43 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- d8f8d08
- Parents:
- ed4d7c1 (diff), 315e5e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
red4d7c1 r1a6a6f2 535 535 }; 536 536 537 class MutexStmt : public Statement { 538 public: 539 Statement * stmt; 540 std::list<Expression *> mutexObjs; // list of mutex objects to acquire 541 542 MutexStmt( Statement * stmt, std::list<Expression *> mutexObjs ); 543 MutexStmt( const MutexStmt & other ); 544 virtual ~MutexStmt(); 545 546 virtual MutexStmt * clone() const override { return new MutexStmt( *this ); } 547 virtual void accept( Visitor & v ) override { v.visit( this ); } 548 virtual void accept( Visitor & v ) const override { v.visit( this ); } 549 virtual Statement * acceptMutator( Mutator & m ) override { return m.mutate( this ); } 550 virtual void print( std::ostream & os, Indenter indent = {} ) const override; 551 }; 552 537 553 // Local Variables: // 538 554 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.