diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-27 00:04:28 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-27 00:04:28 -0700 |
commit | f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816 (patch) | |
tree | 3e62207265b4efbbe1565ea885a615e5a910671c /src/astbranch.h | |
parent | 32c32bc48c8fd7cffca301b8919fb26726f6467e (diff) | |
download | stage-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.h | 6 |
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 | ||
8 | class AstBranch : public AstNode | 8 | class AstBranch : public AstNode |
9 | { | 9 | { |
10 | friend Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &b ); | ||
10 | public: | 11 | public: |
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 | ||
16 | private: | 19 | private: |
20 | AstBranch *pParent; | ||
17 | NodeList lNodes; | 21 | NodeList lNodes; |
18 | }; | 22 | }; |
19 | 23 | ||
24 | Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &b ); | ||
25 | |||
20 | #endif | 26 | #endif |