@abaplint/core
Version:
abaplint - Core API
18 lines • 853 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SystemCall = void 0;
const combi_1 = require("../combi");
const version_1 = require("../../../version");
const source_1 = require("../expressions/source");
const target_1 = require("../expressions/target");
class SystemCall {
getMatcher() {
const anyy = (0, combi_1.regex)(/^.+$/);
const objmgr = (0, combi_1.seq)("OBJMGR CLONE", source_1.Source, "TO", target_1.Target);
const did = (0, combi_1.seq)(anyy, "DID", source_1.Source, "PARAMETERS", (0, combi_1.plus)(source_1.Source));
const ret = (0, combi_1.seq)("SYSTEM-CALL", (0, combi_1.altPrio)(objmgr, did, (0, combi_1.plus)(anyy)));
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
}
}
exports.SystemCall = SystemCall;
//# sourceMappingURL=system_call.js.map