<commit_before>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2005-2006 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.utils 
{

import flash.utils.Proxy;
import flash.utils.flash_proxy;

use namespace flash_proxy;

[ExcludeClass]

/**
 *  @private
 *  This class represents a single cache entry, this gets created
 *  as part of the <code>describeType</code> method call on the 
 *  <code>DescribeTypeCache</code>  class.
 */

public dynamic class DescribeTypeCacheRecord extends Proxy
{
    //--------------------------------------------------------------------------
    //
    //  Class variables
    //
    //--------------------------------------------------------------------------

    /**
     *  @private
     */
    private var cache:Object = {};
    
    //--------------------------------------------------------------------------
    //
    //  Class properties
    //
    //--------------------------------------------------------------------------

    //----------------------------------
    //  typeDescription
    //----------------------------------

    /**
     *  @private
     */
    public var typeDescription:XML;
    
    //----------------------------------
    //  typeName
    //----------------------------------

    /**
     *  @private
     */
    public var typeName:String;

    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     *  @private
     */
    public function DescribeTypeCacheRecord()
    {
        super();
    }

    //--------------------------------------------------------------------------
    //
    //  Overridden methods
    //
    //--------------------------------------------------------------------------

    /**
     *  @private
     */
    override flash_proxy function getProperty(name:*):*
    {
        var result:* = cache[name];
        
        if (result === undefined)
        {
            result = DescribeTypeCache.extractValue(name, this);
            cache[name] = result;
        }
        
        return result;
    }

    /**
     *  @private
     */
    override flash_proxy function hasProperty(name:*):Boolean
    {
        if (name in cache)
            return true;
        
        var value:* = DescribeTypeCache.extractValue(name, this);       
        
        if (value === undefined)
            return false;
        
        cache[name] = value;
        
        return true;
    }
}

}
<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after>
package mx.utils 
{

import flash.utils.Proxy;
import flash.utils.flash_proxy;

use namespace flash_proxy;

[ExcludeClass]

/**
 *  @private
 *  This class represents a single cache entry, this gets created
 *  as part of the <code>describeType</code> method call on the 
 *  <code>DescribeTypeCache</code>  class.
 */

public dynamic class DescribeTypeCacheRecord extends Proxy
{
    //--------------------------------------------------------------------------
    //
    //  Class variables
    //
    //--------------------------------------------------------------------------

    /**
     *  @private
     */
    private var cache:Object = {};
    
    //--------------------------------------------------------------------------
    //
    //  Class properties
    //
    //--------------------------------------------------------------------------

    //----------------------------------
    //  typeDescription
    //----------------------------------

    /**
     *  @private
     */
    public var typeDescription:XML;
    
    //----------------------------------
    //  typeName
    //----------------------------------

    /**
     *  @private
     */
    public var typeName:String;

    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     *  @private
     */
    public function DescribeTypeCacheRecord()
    {
        super();
    }

    //--------------------------------------------------------------------------
    //
    //  Overridden methods
    //
    //--------------------------------------------------------------------------

    /**
     *  @private
     */
    override flash_proxy function getProperty(name:*):*
    {
        var result:* = cache[name];
        
        if (result === undefined)
        {
            result = DescribeTypeCache.extractValue(name, this);
            cache[name] = result;
        }
        
        return result;
    }

    /**
     *  @private
     */
    override flash_proxy function hasProperty(name:*):Boolean
    {
        if (name in cache)
            return true;
        
        var value:* = DescribeTypeCache.extractValue(name, this);       
        
        if (value === undefined)
            return false;
        
        cache[name] = value;
        
        return true;
    }
}

}

{'fraction_non_alphanumeric': 0.3823146944083225, 'fraction_numerical': 0.001486160133754412, 'mean_word_length': 0.7021814732848561, 'pattern_counts': {'":': 0, '<': 11, '<?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': '5045005', 'n_tokens_mistral': 1166, 'n_tokens_neox': 1138, 'n_words': 254}