{"size": 278, "ext": "js", "max_stars_repo_path": "www/lib/RaiixEnumType.js", "max_stars_repo_name": "rayxuln/FunctionGraphDrawingLanguageInterpreter", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "www/lib/RaiixEnumType.js", "max_issues_repo_name": "rayxuln/FunctionGraphDrawingLanguageInterpreter", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "www/lib/RaiixEnumType.js", "max_forks_repo_name": "rayxuln/FunctionGraphDrawingLanguageInterpreter", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 13.9, "max_line_length": 55, "alphanum_fraction": 0.5539568345}



export function RaiixEnumType()
{
    let res = {}
    let id_cnt = 0

    res.__name__ = {}

    for(let arg of arguments)
    {
        res[arg] = id_cnt++
        res.__name__[res[arg]] = arg
    }

    res.to_string = function(x){return res.__name__[x]}

    return res
}