diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-08 22:58:28 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-08 22:58:28 +0000 |
commit | 52be1ef0d126f09ba943c7afcf367e7d9347f2fd (patch) | |
tree | fd4b0dd148751c3c6c1b95296c3b82cb86051b83 /src/ast.h | |
parent | 795d0737fed40d88a7801b451b7750ba90802345 (diff) | |
download | build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.gz build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.bz2 build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.xz build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.zip |
tabconv: it's all spaces now.
Diffstat (limited to '')
-rw-r--r-- | src/ast.h | 46 |
1 files changed, 23 insertions, 23 deletions
@@ -15,36 +15,36 @@ | |||
15 | class Ast | 15 | class Ast |
16 | { | 16 | { |
17 | public: | 17 | public: |
18 | typedef Bu::List<AstNode *> NodeList; | 18 | typedef Bu::List<AstNode *> NodeList; |
19 | Ast(); | 19 | Ast(); |
20 | virtual ~Ast(); | 20 | virtual ~Ast(); |
21 | 21 | ||
22 | void addNode( struct YYLTYPE &loc, AstNode::Type eType ); | 22 | void addNode( struct YYLTYPE &loc, AstNode::Type eType ); |
23 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, int iVal ); | 23 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, int iVal ); |
24 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, float fVal ); | 24 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, float fVal ); |
25 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, bool bVal ); | 25 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, bool bVal ); |
26 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, | 26 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, |
27 | const Bu::String &sVal ); | 27 | const Bu::String &sVal ); |
28 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, const char *sVal ); | 28 | void addNode( struct YYLTYPE &loc, AstNode::Type eType, const char *sVal ); |
29 | 29 | ||
30 | void addNode( AstNode::Type eType ); | 30 | void addNode( AstNode::Type eType ); |
31 | void addNode( AstNode::Type eType, int iVal ); | 31 | void addNode( AstNode::Type eType, int iVal ); |
32 | void addNode( AstNode::Type eType, float fVal ); | 32 | void addNode( AstNode::Type eType, float fVal ); |
33 | void addNode( AstNode::Type eType, bool bVal ); | 33 | void addNode( AstNode::Type eType, bool bVal ); |
34 | void addNode( AstNode::Type eType, const Bu::String &sVal ); | 34 | void addNode( AstNode::Type eType, const Bu::String &sVal ); |
35 | void addNode( AstNode::Type eType, const char *sVal ); | 35 | void addNode( AstNode::Type eType, const char *sVal ); |
36 | void addNode( AstNode *pNode ); | 36 | void addNode( AstNode *pNode ); |
37 | 37 | ||
38 | void openBranch(); | 38 | void openBranch(); |
39 | 39 | ||
40 | void closeNode(); | 40 | void closeNode(); |
41 | 41 | ||
42 | NodeList::const_iterator getNodeBegin() const; | 42 | NodeList::const_iterator getNodeBegin() const; |
43 | 43 | ||
44 | private: | 44 | private: |
45 | NodeList lNode; | 45 | NodeList lNode; |
46 | typedef Bu::Stack<class AstBranch *> BranchStack; | 46 | typedef Bu::Stack<class AstBranch *> BranchStack; |
47 | BranchStack sBranch; | 47 | BranchStack sBranch; |
48 | }; | 48 | }; |
49 | 49 | ||
50 | Bu::Formatter &operator<<( Bu::Formatter &f, const Ast &a ); | 50 | Bu::Formatter &operator<<( Bu::Formatter &f, const Ast &a ); |