UNPKG

@abaplint/core

Version:
16 lines 768 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Break = void 0; const combi_1 = require("../combi"); const expressions_1 = require("../expressions"); const version_1 = require("../../../version"); class Break { getMatcher() { const next = (0, combi_1.str)("AT NEXT APPLICATION STATEMENT"); // note BREAK is a special macro that wraps the parameter in a char const ret = (0, combi_1.altPrio)((0, combi_1.seq)("BREAK-POINT", (0, combi_1.optPrio)((0, combi_1.altPrio)(next, expressions_1.Source))), (0, combi_1.seq)("BREAK", (0, combi_1.starPrio)((0, combi_1.regex)(/.*/)))); return (0, combi_1.verNot)(version_1.Version.Cloud, ret); } } exports.Break = Break; //# sourceMappingURL=break.js.map