Changeset 6840e7c for src/SynTree/Attribute.h
- Timestamp:
- Oct 19, 2017, 12:01:04 PM (8 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 837ce06
- Parents:
- b96ec83 (diff), a15b72c (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/Attribute.h
rb96ec83 r6840e7c 43 43 bool empty() const { return name == ""; } 44 44 45 Attribute * clone() const { return new Attribute( *this ); }46 virtual void accept( Visitor & v ) { v.visit( this ); }47 virtual Attribute * acceptMutator( Mutator & m ) { return m.mutate( this ); }48 virtual void print( std::ostream & os, int indent = 0 ) const;45 Attribute * clone() const override { return new Attribute( *this ); } 46 virtual void accept( Visitor & v ) override { v.visit( this ); } 47 virtual Attribute * acceptMutator( Mutator & m ) override { return m.mutate( this ); } 48 virtual void print( std::ostream & os, Indenter indent = {} ) const override; 49 49 }; 50 50
Note:
See TracChangeset
for help on using the changeset viewer.