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/ast.h | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index 3cc7206..b859064 100644 --- a/src/ast.h +++ b/src/ast.h @@ -15,36 +15,36 @@ class Ast { public: - typedef Bu::List NodeList; - Ast(); - virtual ~Ast(); + typedef Bu::List NodeList; + Ast(); + virtual ~Ast(); - void addNode( struct YYLTYPE &loc, AstNode::Type eType ); - void addNode( struct YYLTYPE &loc, AstNode::Type eType, int iVal ); - void addNode( struct YYLTYPE &loc, AstNode::Type eType, float fVal ); - void addNode( struct YYLTYPE &loc, AstNode::Type eType, bool bVal ); - void addNode( struct YYLTYPE &loc, AstNode::Type eType, - const Bu::String &sVal ); - void addNode( struct YYLTYPE &loc, AstNode::Type eType, const char *sVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, int iVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, float fVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, bool bVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, + const Bu::String &sVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, const char *sVal ); - void addNode( AstNode::Type eType ); - void addNode( AstNode::Type eType, int iVal ); - void addNode( AstNode::Type eType, float fVal ); - void addNode( AstNode::Type eType, bool bVal ); - void addNode( AstNode::Type eType, const Bu::String &sVal ); - void addNode( AstNode::Type eType, const char *sVal ); - void addNode( AstNode *pNode ); + void addNode( AstNode::Type eType ); + void addNode( AstNode::Type eType, int iVal ); + void addNode( AstNode::Type eType, float fVal ); + void addNode( AstNode::Type eType, bool bVal ); + void addNode( AstNode::Type eType, const Bu::String &sVal ); + void addNode( AstNode::Type eType, const char *sVal ); + void addNode( AstNode *pNode ); - void openBranch(); + void openBranch(); - void closeNode(); + void closeNode(); - NodeList::const_iterator getNodeBegin() const; + NodeList::const_iterator getNodeBegin() const; private: - NodeList lNode; - typedef Bu::Stack BranchStack; - BranchStack sBranch; + NodeList lNode; + typedef Bu::Stack BranchStack; + BranchStack sBranch; }; Bu::Formatter &operator<<( Bu::Formatter &f, const Ast &a ); -- cgit v1.2.3