<commit_before>package mustache.clojure.glue;

import com.github.mustachejava.DefaultMustacheFactory;
import com.github.mustachejava.DefaultMustacheVisitor;
import com.github.mustachejava.Mustache;
import com.github.mustachejava.TemplateContext;

/**
 *
 * @author bill
 */
public class ClojureMustacheVisitor extends DefaultMustacheVisitor  {

    public ClojureMustacheVisitor(DefaultMustacheFactory df) {
        super(df);
    }

    @Override
    public void iterable(TemplateContext templateContext, String variable, Mustache mustache) {
        list.add(new ClojureIterableCode(templateContext, df, mustache, variable));
    }

}
<commit_msg>Handle inverted sections correctly<commit_after>package mustache.clojure.glue;

import com.github.mustachejava.DefaultMustacheFactory;
import com.github.mustachejava.DefaultMustacheVisitor;
import com.github.mustachejava.Mustache;
import com.github.mustachejava.TemplateContext;
import com.github.mustachejava.codes.NotIterableCode;

/**
 *
 * @author bill
 */
public class ClojureMustacheVisitor extends DefaultMustacheVisitor  {

    public ClojureMustacheVisitor(DefaultMustacheFactory df) {
        super(df);
    }

    @Override
    public void iterable(TemplateContext templateContext, String variable, Mustache mustache) {
        list.add(new ClojureIterableCode(templateContext, df, mustache, variable));
    }

    @Override
    public void notIterable(TemplateContext templateContext, String variable, Mustache mustache) {
        list.add(new ClojureNotIterableCode(templateContext, df, mustache, variable));        
    }

    
    
}

{'fraction_non_alphanumeric': 0.08197747183979975, 'fraction_numerical': 0.0, 'mean_word_length': 4.710714285714285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '368797', 'n_tokens_mistral': 465, 'n_tokens_neox': 450, 'n_words': 89}