<commit_before><?php

/*
 * This file is part of Twig.
 *
 * (c) 2012 <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Internal class.
 *
 * This class is used by Twig_Environment as a staging area and must not be used directly.
 *
 * @author <NAME> <<EMAIL>>
 */
class Twig_Extension_Staging extends Twig_Extension
{
    private $functions = array();
    private $filters = array();
    private $visitors = array();
    private $tokenParsers = array();
    private $globals = array();
    private $tests = array();

    public function addFunction(Twig_Function $function)
    {
        $this->functions[$function->getName()] = $function;
    }

    /**<commit_msg>made Twig_Extension_Staging final<commit_after><?php

/*
 * This file is part of Twig.
 *
 * (c) 2012 <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Used by Twig_Environment as a staging area.
 *
 * @author <NAME> <<EMAIL>>
 * @internal
 */
final class Twig_Extension_Staging extends Twig_Extension
{
    private $functions = array();
    private $filters = array();
    private $visitors = array();
    private $tokenParsers = array();
    private $globals = array();
    private $tests = array();

    public function addFunction(Twig_Function $function)
    {
        $this->functions[$function->getName()] = $function;
    }

    /**
{'fraction_non_alphanumeric': 0.12292358803986711, 'fraction_numerical': 0.0053156146179402, 'mean_word_length': 3.315186246418338, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '5191821', 'n_tokens_mistral': 442, 'n_tokens_neox': 431, 'n_words': 149}