Changes in src/SynTree/Statement.h [427854b:0608e007]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
r427854b r0608e007 422 422 }; 423 423 424 class SuspendStmt : public Statement {425 public:426 CompoundStmt * then = nullptr;427 enum Type { None, Coroutine, Generator } type = None;428 429 SuspendStmt() = default;430 SuspendStmt( const SuspendStmt & );431 virtual ~SuspendStmt();432 433 virtual SuspendStmt * clone() const override { return new SuspendStmt( *this ); }434 virtual void accept( Visitor & v ) override { v.visit( this ); }435 virtual void accept( Visitor & v ) const override { v.visit( this ); }436 virtual Statement * acceptMutator( Mutator & m ) override { return m.mutate( this ); }437 virtual void print( std::ostream & os, Indenter indent = {} ) const override;438 };439 440 424 class WaitForStmt : public Statement { 441 425 public:
Note: See TracChangeset
for help on using the changeset viewer.