Public Types |
|
typedef std::vector< BaseNode * > | NodeContainer |
Public Member Functions |
|
| BlockNodeTmpl () |
| | BlockNode constructor.
|
|
| BlockNodeTmpl (const BlockNodeTmpl &node) |
| | BlockNode copy constructor.
|
|
| ~BlockNodeTmpl () override |
| | BlockNode destructor.
|
|
BlockNodeTmpl * | clone () const override |
| | clone a BlockNode.
|
| BaseNode * | child (unsigned int idx) const |
| | Get child Node at position idx.
|
| unsigned int | num_children () const |
| | Get number of child statements (Node) in BlockNode.
|
| void | append_child (BaseNode *child) |
| | Add child Node to current Block.
|
|
void | set_child (unsigned int idx, BaseNode *child) |
|
NodeContainer::const_iterator | child_begin () const |
| | Start iterator for children.
|
|
NodeContainer::const_iterator | child_end () const |
| | End iterator for children.
|
|
virtual void | accept (VisitorType &v) override |
Protected Member Functions |
|
| BlockNodeTmpl (int type) |
template<class BaseNode, class RoleType, class MessageType, class VisitorType>
class sesstype::BlockNodeTmpl< BaseNode, RoleType, MessageType, VisitorType >
Block of statements (Node instances).