@abaplint/core
Version:
abaplint - Core API
15 lines • 729 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CondSub = void 0;
const combi_1 = require("../combi");
const tokens_1 = require("../../1_lexer/tokens");
const _1 = require(".");
class CondSub extends combi_1.Expression {
getRunnable() {
// rule ParserMissingSpace makes sure the whitespace is correct
const another = (0, combi_1.seq)((0, combi_1.optPrio)("NOT"), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WParenLeftW), (0, combi_1.tok)(tokens_1.WParenLeft)), _1.Cond, (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WParenRightW), (0, combi_1.tok)(tokens_1.ParenRightW)));
return another;
}
}
exports.CondSub = CondSub;
//# sourceMappingURL=cond_sub.js.map