Changeset 1cdfa82 for src/SynTree/Declaration.h
- Timestamp:
- Apr 25, 2018, 4:55:53 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 42107b4
- Parents:
- 2efe4b8 (diff), 9d5fb67 (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/Declaration.h
r2efe4b8 r1cdfa82 357 357 }; 358 358 359 class StaticAssertDecl : public Declaration { 360 public: 361 Expression * condition; 362 ConstantExpr * message; // string literal 363 364 StaticAssertDecl( Expression * condition, ConstantExpr * message ); 365 StaticAssertDecl( const StaticAssertDecl & other ); 366 virtual ~StaticAssertDecl(); 367 368 virtual StaticAssertDecl * clone() const override { return new StaticAssertDecl( *this ); } 369 virtual void accept( Visitor &v ) override { v.visit( this ); } 370 virtual StaticAssertDecl * acceptMutator( Mutator &m ) override { return m.mutate( this ); } 371 virtual void print( std::ostream &os, Indenter indent = {} ) const override; 372 virtual void printShort( std::ostream &os, Indenter indent = {} ) const override; 373 }; 374 359 375 std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data ); 360 376
Note: See TracChangeset
for help on using the changeset viewer.