UNPKG

@abaplint/core

Version:
20 lines 675 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Cond = void 0; const Expressions = require("../../2_statements/expressions"); const compare_1 = require("./compare"); class Cond { static runSyntax(node, input) { for (const t of node.findDirectExpressions(Expressions.CondSub)) { const c = t.findDirectExpression(Expressions.Cond); if (c) { Cond.runSyntax(c, input); } } for (const t of node.findDirectExpressions(Expressions.Compare)) { compare_1.Compare.runSyntax(t, input); } } } exports.Cond = Cond; //# sourceMappingURL=cond.js.map