<commit_before>using System.Linq;
using System.Collections.Generic;
using System;
using hw.Debug;
using Reni.Basics;
using Reni.Code;

namespace Reni.Type
{
    abstract class DataSetterTargetType : SetterTargetType
    {
        protected override Result SetterResult(Category category)
            => new Result(category, getCode: SetterCode);

        protected override Result GetterResult(Category category)
        {
            return ValueType
                .ForcedPointer
                .Result(category, GetterCode);
        }

        protected abstract CodeBase SetterCode();
        protected abstract CodeBase GetterCode();
    }
}<commit_msg>Refactor: more precision<commit_after>using System.Linq;
using System.Collections.Generic;
using System;
using Reni.Basics;
using Reni.Code;

namespace Reni.Type
{
    abstract class DataSetterTargetType : SetterTargetType
    {
        protected override Result SetterResult(Category category)
            => RootContext.VoidType.Result(category, SetterCode);

        protected override Result GetterResult(Category category)
            => ValueType
                .ForcedPointer
                .Result(category, GetterCode);

        protected abstract CodeBase SetterCode();
        protected abstract CodeBase GetterCode();
    }
}
{'fraction_non_alphanumeric': 0.07082371054657428, 'fraction_numerical': 0.0, 'mean_word_length': 2.801169590643275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '6945536', 'n_tokens_mistral': 331, 'n_tokens_neox': 322, 'n_words': 87}