export 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();
    }
}
Named.UNNAMED = "UNNAMED";
//# sourceMappingURL=Named.js.map