Changes in src/SynTree/Statement.h [427854b:6cebfef]
- File:
-
- 1 edited
-
src/SynTree/Statement.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
r427854b r6cebfef 518 518 class ImplicitCtorDtorStmt : public Statement { 519 519 public: 520 // Non-owned pointer to the constructor/destructor statement520 // the constructor/destructor call statement; owned here for a while, eventually transferred elsewhere 521 521 Statement * callStmt; 522 522 … … 529 529 530 530 virtual ImplicitCtorDtorStmt * clone() const override { return new ImplicitCtorDtorStmt( *this ); } 531 virtual void accept( Visitor & v ) override { v.visit( this ); } 532 virtual void accept( Visitor & v ) const override { v.visit( this ); } 533 virtual Statement * acceptMutator( Mutator & m ) override { return m.mutate( this ); } 534 virtual void print( std::ostream & os, Indenter indent = {} ) const override; 535 }; 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 ); } 531 547 virtual void accept( Visitor & v ) override { v.visit( this ); } 532 548 virtual void accept( Visitor & v ) const override { v.visit( this ); }
Note:
See TracChangeset
for help on using the changeset viewer.