diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-24 01:08:21 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-24 01:08:21 -0700 |
commit | 32c32bc48c8fd7cffca301b8919fb26726f6467e (patch) | |
tree | fbe58058531f253e4e351312f87e8276ce087c31 /src/astbranch.h | |
parent | d7c0a793787eaf52c4302d6d1ea6cc43f7ff9ca7 (diff) | |
download | stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.tar.gz stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.tar.bz2 stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.tar.xz stage-32c32bc48c8fd7cffca301b8919fb26726f6467e.zip |
Ast nearly done, builder coming along.
Diffstat (limited to 'src/astbranch.h')
-rw-r--r-- | src/astbranch.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/astbranch.h b/src/astbranch.h new file mode 100644 index 0000000..72f8014 --- /dev/null +++ b/src/astbranch.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef AST_BRANCH_H | ||
2 | #define AST_BRANCH_H | ||
3 | |||
4 | #include "astnode.h" | ||
5 | |||
6 | #include <bu/list.h> | ||
7 | |||
8 | class AstBranch : public AstNode | ||
9 | { | ||
10 | public: | ||
11 | AstBranch( Type eType ); | ||
12 | virtual ~AstBranch(); | ||
13 | |||
14 | typedef Bu::List<AstNode *> NodeList; | ||
15 | |||
16 | private: | ||
17 | NodeList lNodes; | ||
18 | }; | ||
19 | |||
20 | #endif | ||