/*
 * SDK Pullenti Lingvo, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software.
 * This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C#.NET project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */


const SemAttributeType = require("./SemAttributeType");

/**
 * Семантический атрибут
 */
class SemAttribute {
    
    constructor() {
        this.typ = SemAttributeType.UNDEFINED;
        this.spelling = null;
        this.not = false;
    }
    
    toString() {
        return this.spelling;
    }
    
    static _new3799(_arg1, _arg2, _arg3) {
        let res = new SemAttribute();
        res.not = _arg1;
        res.typ = _arg2;
        res.spelling = _arg3;
        return res;
    }
    
    static _new3831(_arg1, _arg2, _arg3) {
        let res = new SemAttribute();
        res.spelling = _arg1;
        res.typ = _arg2;
        res.not = _arg3;
        return res;
    }
    
    static _new3833(_arg1, _arg2) {
        let res = new SemAttribute();
        res.typ = _arg1;
        res.spelling = _arg2;
        return res;
    }
}


module.exports = SemAttribute