summaryrefslogtreecommitdiff
path: root/src/astbranch.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-27 00:04:28 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-27 00:04:28 -0700
commitf33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816 (patch)
tree3e62207265b4efbbe1565ea885a615e5a910671c /src/astbranch.h
parent32c32bc48c8fd7cffca301b8919fb26726f6467e (diff)
downloadstage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.tar.gz
stage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.tar.bz2
stage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.tar.xz
stage-f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816.zip
Branch building has started.
Diffstat (limited to 'src/astbranch.h')
-rw-r--r--src/astbranch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/astbranch.h b/src/astbranch.h
index 72f8014..26aac80 100644
--- a/src/astbranch.h
+++ b/src/astbranch.h
@@ -7,14 +7,20 @@
7 7
8class AstBranch : public AstNode 8class AstBranch : public AstNode
9{ 9{
10friend Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &b );
10public: 11public:
11 AstBranch( Type eType ); 12 AstBranch( Type eType );
12 virtual ~AstBranch(); 13 virtual ~AstBranch();
13 14
15 AstNode *addNode( AstNode *pNode );
16
14 typedef Bu::List<AstNode *> NodeList; 17 typedef Bu::List<AstNode *> NodeList;
15 18
16private: 19private:
20 AstBranch *pParent;
17 NodeList lNodes; 21 NodeList lNodes;
18}; 22};
19 23
24Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &b );
25
20#endif 26#endif