Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    rf6e3e34 r0b0f1dd  
    365365};
    366366
    367 class StaticAssertDecl : public Declaration {
    368 public:
    369         Expression * condition;
    370         ConstantExpr * message;   // string literal
    371 
    372         StaticAssertDecl( Expression * condition, ConstantExpr * message );
    373         StaticAssertDecl( const StaticAssertDecl & other );
    374         virtual ~StaticAssertDecl();
    375 
    376         virtual StaticAssertDecl * clone() const override { return new StaticAssertDecl( *this ); }
    377         virtual void accept( Visitor &v ) override { v.visit( this ); }
    378         virtual StaticAssertDecl * acceptMutator( Mutator &m )  override { return m.mutate( this ); }
    379         virtual void print( std::ostream &os, Indenter indent = {} ) const override;
    380         virtual void printShort( std::ostream &os, Indenter indent = {} ) const override;
    381 };
    382 
    383367std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data );
    384368
Note: See TracChangeset for help on using the changeset viewer.