"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
const Utilities_1 = require("../core/Utilities");
class ScriptGen {
    static getClassName(name) {
        if (name.length < 2) {
            return "untitled";
        }
        name = name[0].toUpperCase() + name.substring(1, name.length);
        name = name.replace(/:/gi, "");
        return name;
    }
    static getInstanceName(name) {
        if (name.length < 2) {
            return "untitled";
        }
        name = Utilities_1.default.lowerCaseStartOfString(name);
        return name;
    }
}
exports.default = ScriptGen;

//# sourceMappingURL=../maps/script/ScriptGen.js.map
