Changeset bb9d8e8 for src/SynTree
- Timestamp:
- Oct 3, 2017, 4:04:04 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 7664fad, b7778c1, f5854507
- Parents:
- e5c8488
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.cc
re5c8488 rbb9d8e8 71 71 } 72 72 73 void Constant::print( std::ostream &os, int indent) const {73 void Constant::print( std::ostream &os, Indenter ) const { 74 74 os << "(" << rep << " " << val.ival; 75 75 if ( type ) { -
src/SynTree/Constant.h
re5c8488 rbb9d8e8 57 57 virtual void accept( Visitor & v ) { v.visit( this ); } 58 58 virtual Constant * acceptMutator( Mutator & m ) { return m.mutate( this ); } 59 virtual void print( std::ostream & os, intindent = 0 ) const;59 virtual void print( std::ostream & os, Indenter indent = 0 ) const; 60 60 private: 61 61 Type * type;
Note: See TracChangeset
for help on using the changeset viewer.