UNPKG

@abaplint/core

Version:
15 lines 780 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Case = void 0; const Statements = require("../../2_statements/statements"); const _combi_1 = require("./_combi"); const when_1 = require("./when"); const _statement_1 = require("../../2_statements/statements/_statement"); const normal_1 = require("./normal"); class Case { getMatcher() { return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.Case), (0, _combi_1.seq)((0, _combi_1.star)((0, _combi_1.sub)(normal_1.Normal)), (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sub)(when_1.When), (0, _combi_1.sta)(_statement_1.MacroCall), (0, _combi_1.sta)(Statements.Include)))), (0, _combi_1.sta)(Statements.EndCase)); } } exports.Case = Case; //# sourceMappingURL=case.js.map