#ifndef AST_BRANCH_H #define AST_BRANCH_H #include "astnode.h" #include 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