UNPKG

@abaplint/core

Version:
15 lines 738 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataBegin = void 0; const combi_1 = require("../combi"); const expressions_1 = require("../expressions"); class DataBegin { getMatcher() { const occurs = (0, combi_1.seq)("OCCURS", expressions_1.Integer); const common = (0, combi_1.seq)("COMMON PART", (0, combi_1.optPrio)(expressions_1.DefinitionName)); const structure = (0, combi_1.seq)("BEGIN OF", (0, combi_1.altPrio)(common, (0, combi_1.seq)(expressions_1.DefinitionName, (0, combi_1.optPrio)("READ-ONLY"), (0, combi_1.optPrio)(occurs)))); return (0, combi_1.seq)("DATA", structure); } } exports.DataBegin = DataBegin; //# sourceMappingURL=data_begin.js.map