<commit_before>package com.imcode.imcms.components.patterns;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public final class ImcmsMenuHtmlPatterns {
    private final String patternStartUlDataAttr = "<ul data-menu-index=\"%d\" data-doc-id=\"%d\"";
    private final String patternWithoutTagUlDataAttr = " data-menu-index=\"%d\" data-doc-id=\"%d\"";
    private final String patternStartUlClassAttr = "<ul class=\"%s %s %s %s--%d-%d\"";
    private final String patternUlClassAttr = "<ul class=\"%s %s\">";
    private final String patternStartSimpleUlClassAttr = " class=\"%s %s %s %s--%d-%d\"";
    private final String patternLiDataAttr = "<li %s=\"%d\" %s=\"%d\" %s=\"%s\" %s=\"%d\" %s=\"%s\"";
    private final String patternSimpleLiDataAttr = " %s=\"%d\" %s=\"%d\" %s=\"%s\" %s=\"%d\" %s=\"%s\"";
    private final String patternLiClassAttr = "<li class=\"%s %s %s\"";
    private final String patternSimpleClassAttr = " class=\"%s %s %s\"";
    private final String aTagLvlAttributePattern = "<a aria-haspopup=\"true\" aria-expanded=\"true\">";
    private final String aTagPageAttributePattern = "<a aria-current=\"page\">";
}<commit_msg>Issue IMCMS-501: Menu - Generated output asHtml() - Add const pattern value; - Improve and refactor;<commit_after>package com.imcode.imcms.components.patterns;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public final class ImcmsMenuHtmlPatterns {
    private final String patternStartUlDataAttr = "<ul data-menu-index=\"%d\" data-doc-id=\"%d\"";
    private final String patternWithoutTagUlDataAttr = " data-menu-index=\"%d\" data-doc-id=\"%d\"";
    private final String patternStartUlClassAttr = "<ul class=\"%s %s %s %s--%d-%d\"";
    private final String patternUlClassAttr = "<ul class=\"%s %s\">";
    private final String patternStartSimpleUlClassAttr = " class=\"%s %s %s %s--%d-%d\"";
    private final String patternLiDataAttr = "<li %s=\"%d\" %s=\"%d\" %s=\"%s\" %s=\"%d\" %s=\"%s\"";
    private final String patternSimpleLiDataAttr = " %s=\"%d\" %s=\"%d\" %s=\"%s\" %s=\"%d\" %s=\"%s\"";
    private final String patternLiClassAttr = "<li class=\"%s %s %s %s\"";
    private final String patternSimpleClassAttr = " class=\"%s %s %s %s\"";
    private final String aTagLvlAttributePattern = "<a aria-haspopup=\"true\" aria-expanded=\"true\" href=\"%d\">";
    private final String aTagPageAttributePattern = "<a aria-current=\"page\" href=\"%d\">";
    private final String aTagLvlPageAttrPattern = "<a aria-haspopup=\"true\" aria-expanded=\"true\" aria-current=\"page\" href=\"%d\">";
    private final String liTagSelectedPagePattern = "<li class=\"selected\">";
}
{'fraction_non_alphanumeric': 0.2047244094488189, 'fraction_numerical': 0.0011248593925759281, 'mean_word_length': 4.170542635658915, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 11, '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': '2500159', 'n_tokens_mistral': 880, 'n_tokens_neox': 876, 'n_words': 223}