Changes in src/SynTree/Statement.h [6cebfef:427854b]
- File:
-
- 1 edited
-
src/SynTree/Statement.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
r6cebfef r427854b 518 518 class ImplicitCtorDtorStmt : public Statement { 519 519 public: 520 // the constructor/destructor call statement; owned here for a while, eventually transferred elsewhere520 // Non-owned pointer to the constructor/destructor statement 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 acquire541 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 531 virtual void accept( Visitor & v ) override { v.visit( this ); } 548 532 virtual void accept( Visitor & v ) const override { v.visit( this ); }
Note:
See TracChangeset
for help on using the changeset viewer.