From f33fdd93ef93fdbb0e6b3a8e2ecb80b78f1b2816 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 27 Dec 2011 00:04:28 -0700 Subject: Branch building has started. --- src/astbranch.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/astbranch.h') 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 @@ class AstBranch : public AstNode { +friend Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &b ); public: AstBranch( Type eType ); virtual ~AstBranch(); + AstNode *addNode( AstNode *pNode ); + typedef Bu::List NodeList; private: + AstBranch *pParent; NodeList lNodes; }; +Bu::Formatter &operator<<( Bu::Formatter &f, const AstBranch &b ); + #endif -- cgit v1.2.3