"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Named = void 0;
class Named {
    constructor(object, name = undefined) {
        this.object = object;
        this.name = name !== undefined ? name : Named.UNNAMED;
    }
    getName() {
        return this.name;
    }
    get() {
        return this.object;
    }
    getSymbol() {
        return this.object.getRepresentedSymbol();
    }
}
exports.Named = Named;
Named.UNNAMED = "UNNAMED";
//# sourceMappingURL=Named.js.map