From 32c32bc48c8fd7cffca301b8919fb26726f6467e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 24 Dec 2011 01:08:21 -0700 Subject: Ast nearly done, builder coming along. --- src/astbranch.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/astbranch.cpp (limited to 'src/astbranch.cpp') 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 @@ +#include "astbranch.h" + +AstBranch::AstBranch( AstNode::Type eType ) : + AstNode( eType ) +{ +} + +AstBranch::~AstBranch() +{ + for( NodeList::iterator i = lNodes.begin(); i; i++ ) + { + delete *i; + } +} + + -- cgit v1.2.3