Changes in src/AST/Print.hpp [99d4584:d76c588]
- File:
-
- 1 edited
-
src/AST/Print.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.hpp
r99d4584 rd76c588 29 29 void print( std::ostream & os, const ast::Node * node, Indenter indent = {} ); 30 30 31 /// Wrap any standard format printer (matching above) with integer Indenter constructor 32 template<typename T> 33 inline void print( std::ostream & os, T && x, unsigned int indent ) { 34 print( os, std::forward<T>(x), Indenter{ Indenter::tabsize, indent }); 35 } 36 31 37 /// Print a declaration in its short form 32 38 void printShort( std::ostream & os, const ast::Decl * node, Indenter indent = {} ); 33 39 34 40 inline void printShort( std::ostream & os, const ast::Decl * node, unsigned int indent ) { 35 printShort( os, node, Indenter{ indent } );41 printShort( os, node, Indenter{ Indenter::tabsize, indent } ); 36 42 } 37 43
Note:
See TracChangeset
for help on using the changeset viewer.