From 52be1ef0d126f09ba943c7afcf367e7d9347f2fd Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 8 Nov 2012 22:58:28 +0000 Subject: tabconv: it's all spaces now. --- src/astbranch.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/astbranch.cpp') diff --git a/src/astbranch.cpp b/src/astbranch.cpp index d247b30..83ecdd7 100644 --- a/src/astbranch.cpp +++ b/src/astbranch.cpp @@ -1,7 +1,7 @@ #include "astbranch.h" AstBranch::AstBranch( const Location &loc, Type eType ) : - AstNode( loc, eType ) + AstNode( loc, eType ) { } @@ -11,34 +11,34 @@ AstBranch::~AstBranch() void AstBranch::addBranch() { - lBranch.append( NodeList() ); + lBranch.append( NodeList() ); } void AstBranch::addNode( AstNode *pNode ) { - lBranch.last().append( pNode ); + lBranch.last().append( pNode ); } AstBranch::BranchList::const_iterator AstBranch::getBranchBegin() const { - return lBranch.begin(); + return lBranch.begin(); } Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &l ) { - f.incIndent(); - f << ":"; - for( AstBranch::BranchList::const_iterator i = l.getBranchBegin(); i; i++ ) - { - f << f.nl << "Branch:"; - f.incIndent(); - for( AstBranch::NodeList::const_iterator j = i->begin(); j; j++ ) - { - f << f.nl << **j; - } - f.decIndent(); - } - f.decIndent(); - return f; + f.incIndent(); + f << ":"; + for( AstBranch::BranchList::const_iterator i = l.getBranchBegin(); i; i++ ) + { + f << f.nl << "Branch:"; + f.incIndent(); + for( AstBranch::NodeList::const_iterator j = i->begin(); j; j++ ) + { + f << f.nl << **j; + } + f.decIndent(); + } + f.decIndent(); + return f; } -- cgit v1.2.3