<commit_before>import _Any from "./any"
import _Union from "./union"
/**
 * Unknown type
 */
export default class _Mixed extends _Any {
    /**
     *
     * @param {?string} [origin_class]
     * @param {?string} [origin_symbol]
     */
    constructor(origin_class = null, origin_symbol = null) {
        super()
        this.originClass = origin_class
        this.originSymbol = origin_symbol
    }
    /**
     * @type {string} A string representation of the type, as meaningful for type
     * checking.
     */
    get typeSignature() {
        return "mixed"
    }
    /**
     * @type {string} Represents best expression of the object, rather than
     * simply its type signature.
     */
    toString() {
        if(this.originSymbol) {
            if(this.originClass) {
                return `${this.typeSignature}?${this.originClass}::${this.originSymbol}`
            } else {
                return `${this.typeSignature}?${this.originSymbol}`<commit_msg>Define combining mixed and mixed<commit_after>import _Any from "./any"
import _Union from "./union"
import _Core from "./core";
/**
 * Unknown type
 */
export default class _Mixed extends _Any {
    /**
     *
     * @param {?string} [origin_class]
     * @param {?string} [origin_symbol]
     */
    constructor(origin_class = null, origin_symbol = null) {
        super()
        this.originClass = origin_class
        this.originSymbol = origin_symbol
    }
    /**
     * @type {string} A string representation of the type, as meaningful for type
     * checking.
     */
    get typeSignature() {
        return "mixed"
    }
    /**
     * Returns a type combining this with the other. This will generally drop
     * the origin data.
     *
     * @param {_Mixed} other_type
     * @throws if the two object types are not identical
     * @returns {_Mixed}
     */
    combineWith(other_type) {
        super.combineWith(other_type)
        if(!other_type.originSymbol) {
            return other_type
        } else if(!this.originSymbol) {
            return this
        } else if(this.originClass == other_type.originClass && this.originSymbol == other_type.originSymbol) {
            return this
        } else {
            return new _Mixed()
        }
    }
    /**
     * @type {string} Represents best expression of the object, rather than
     * simply its type signature.
     */
    toString() {
        if(this.originSymbol) {
            if(this.originClass) {
                return `${this.typeSignature}?${this.originClass}::${this.originSymbol}`
            } else {
                return `${this.typeSignature}?${this.originSymbol}`
{'fraction_non_alphanumeric': 0.11617312072892938, 'fraction_numerical': 0.0, 'mean_word_length': 2.1406436233611443, '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': '2328594', 'n_tokens_mistral': 740, 'n_tokens_neox': 735, 'n_words': 196}