@abaplint/core
Version:
abaplint - Core API
17 lines • 909 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Format = void 0;
const combi_1 = require("../combi");
const expressions_1 = require("../expressions");
const version_1 = require("../../../version");
class Format {
getMatcher() {
const eq = (0, combi_1.seq)("=", expressions_1.Source);
const value = (0, combi_1.altPrio)(eq, "ON", "OFF");
const options = (0, combi_1.per)("RESET", (0, combi_1.seq)("INTENSIFIED", (0, combi_1.opt)(value)), (0, combi_1.seq)("INVERSE", (0, combi_1.opt)(value)), (0, combi_1.seq)("HOTSPOT", (0, combi_1.opt)(value)), (0, combi_1.seq)("FRAMES", value), (0, combi_1.seq)("INPUT", (0, combi_1.opt)(value)), expressions_1.Color);
const ret = (0, combi_1.seq)("FORMAT", options);
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
}
}
exports.Format = Format;
//# sourceMappingURL=format.js.map