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.cpp | |
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.cpp')
-rw-r--r-- | src/astbranch.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/astbranch.cpp b/src/astbranch.cpp new file mode 100644 index 0000000..7b31426 --- /dev/null +++ b/src/astbranch.cpp | |||
@@ -0,0 +1,16 @@ | |||
1 | #include "astbranch.h" | ||
2 | |||
3 | AstBranch::AstBranch( AstNode::Type eType ) : | ||
4 | AstNode( eType ) | ||
5 | { | ||
6 | } | ||
7 | |||
8 | AstBranch::~AstBranch() | ||
9 | { | ||
10 | for( NodeList::iterator i = lNodes.begin(); i; i++ ) | ||
11 | { | ||
12 | delete *i; | ||
13 | } | ||
14 | } | ||
15 | |||
16 | |||