<commit_before>#pragma once

#include "Node.hpp"

namespace wrd
{
    class Result;
    class Container;
    class Composit : public Node
    {
    public: //    Node:
        //        getMember(); 는 공개하지 않는다:
        //        사용자는 Container채로 받게 되면 밖에서 remove, insert를 할 수 있게 된다.
        virtual const Container& getNodes() const;

    private: //    Node:
        virtual Result& _initNodes();

    private:
        //    _nodes can't be declared with protected accessor:
        //        if we do that, module developers can use _nodes and remove or insert some Node at runtime.
        Chain _nodes; // of Container.
    };
}
<commit_msg>+ [world] Add Composit class.<commit_after>#pragma once

#include "Node.hpp"
#include "../binds.hpp"

namespace wrd
{
	class Chain;
    class Composit : public Node
    {
    public: //    Node:
        //        getMember(); 는 공개하지 않는다:
        //        사용자는 Container채로 받게 되면 밖에서 remove, insert를 할 수 있게 된다.
        virtual const Container& getNodes() const;

    private: //    Node:
        virtual Result& _initNodes();

    private:
        //    _nodes can't be declared with protected accessor:
        //        if we do that, module developers can use _nodes and remove or insert some Node at runtime.
        TStrong<Chain> _nodes; // of Container.
    };
}

{'fraction_non_alphanumeric': 0.0928462709284627, 'fraction_numerical': 0.0, 'mean_word_length': 1.941834451901566, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2249587', 'n_tokens_mistral': 426, 'n_tokens_neox': 440, 'n_words': 144}