@abaplint/core
Version:
abaplint - Core API
14 lines • 535 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.When = void 0;
const Statements = require("../../2_statements/statements");
const _combi_1 = require("./_combi");
const body_1 = require("./body");
class When {
getMatcher() {
const when = (0, _combi_1.seq)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.When), (0, _combi_1.sta)(Statements.WhenOthers)), (0, _combi_1.opt)((0, _combi_1.sub)(body_1.Body)));
return when;
}
}
exports.When = When;
//# sourceMappingURL=when.js.map