@abaplint/core
Version:
abaplint - Core API
32 lines • 2.24 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NewPage = void 0;
const combi_1 = require("../combi");
const expressions_1 = require("../expressions");
const version_1 = require("../../../version");
class NewPage {
getMatcher() {
const line = (0, combi_1.seq)("LINE-SIZE", expressions_1.Source);
const print = (0, combi_1.seq)("PRINT", (0, combi_1.alt)("OFF", "ON"));
const parameters = (0, combi_1.seq)("PARAMETERS", expressions_1.Source);
const destination = (0, combi_1.seq)("DESTINATION", expressions_1.Source);
const archive = (0, combi_1.seq)("ARCHIVE PARAMETERS", expressions_1.Source);
const lineCount = (0, combi_1.seq)("LINE-COUNT", expressions_1.Source);
const coverText = (0, combi_1.seq)("COVER TEXT", expressions_1.Source);
const coverPage = (0, combi_1.seq)("SAP COVER PAGE", expressions_1.Source);
const immediately = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
const copies = (0, combi_1.seq)("COPIES", expressions_1.Source);
const keep = (0, combi_1.seq)("KEEP IN SPOOL", expressions_1.Source);
const layout = (0, combi_1.seq)("LAYOUT", expressions_1.Source);
const listAuth = (0, combi_1.seq)("LIST AUTHORITY", expressions_1.Source);
const department = (0, combi_1.seq)("DEPARTMENT", expressions_1.Source);
const receiver = (0, combi_1.seq)("RECEIVER", expressions_1.Source);
const dataset = (0, combi_1.seq)("LIST DATASET", expressions_1.Source);
const name = (0, combi_1.seq)("LIST NAME", expressions_1.Source);
const newList = (0, combi_1.seq)("NEW LIST IDENTIFICATION", expressions_1.Source);
const ret = (0, combi_1.seq)("NEW-PAGE", (0, combi_1.opt)((0, combi_1.per)(print, (0, combi_1.alt)("NO-TITLE", "WITH-TITLE"), (0, combi_1.alt)("NO-HEADING", "WITH-HEADING"), "NO DIALOG", "NO-TOPOFPAGE", parameters, listAuth, immediately, dataset, coverPage, newList, keep, department, name, layout, destination, receiver, copies, coverText, archive, "NEW-SECTION", lineCount, line)));
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
}
}
exports.NewPage = NewPage;
//# sourceMappingURL=new_page.js.map