UNPKG

@allgemein/expressions

Version:
23 lines 487 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.KeyDesc = void 0; exports.Key = Key; const Selector_1 = require("./Selector"); class KeyDesc extends Selector_1.Selector { constructor(key) { super(); this.type = 'key'; this.key = key; } toJson() { return { $key: this.key }; } } exports.KeyDesc = KeyDesc; /** * Key */ function Key(k) { return new KeyDesc(k); } //# sourceMappingURL=KeyDesc.js.map