Changes in src/SynTree/Declaration.h [e67991f:7870799]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
re67991f r7870799 360 360 }; 361 361 362 class WithStmt : public Declaration {363 public:364 std::list< Expression * > exprs;365 Statement * stmt;366 367 WithStmt( const std::list< Expression * > & exprs, Statement * stmt );368 WithStmt( const WithStmt & other );369 virtual ~WithStmt();370 371 virtual WithStmt * clone() const override { return new WithStmt( *this ); }372 virtual void accept( Visitor & v ) override { v.visit( this ); }373 virtual void accept( Visitor & v ) const override { v.visit( this ); }374 virtual Declaration * acceptMutator( Mutator & m ) override { return m.mutate( this ); }375 virtual void print( std::ostream & os, Indenter indent = {} ) const override;376 virtual void printShort( std::ostream & os, Indenter indent = {} ) const override { print(os, indent); }377 };378 379 362 class AsmDecl : public Declaration { 380 363 public:
Note:
See TracChangeset
for help on using the changeset viewer.