summaryrefslogtreecommitdiff
path: root/src/astbranch.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-24 01:08:21 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-24 01:08:21 -0700
commit32c32bc48c8fd7cffca301b8919fb26726f6467e (patch)
treefbe58058531f253e4e351312f87e8276ce087c31 /src/astbranch.cpp
parentd7c0a793787eaf52c4302d6d1ea6cc43f7ff9ca7 (diff)
downloadstage-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.cpp16
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
3AstBranch::AstBranch( AstNode::Type eType ) :
4 AstNode( eType )
5{
6}
7
8AstBranch::~AstBranch()
9{
10 for( NodeList::iterator i = lNodes.begin(); i; i++ )
11 {
12 delete *i;
13 }
14}
15
16