@abaplint/core
Version:
abaplint - Core API
22 lines • 831 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.While = void 0;
const Expressions = require("../../2_statements/expressions");
const source_1 = require("../expressions/source");
const cond_1 = require("../expressions/cond");
const target_1 = require("../expressions/target");
class While {
runSyntax(node, input) {
for (const s of node.findDirectExpressions(Expressions.Cond)) {
new cond_1.Cond().runSyntax(s, input);
}
for (const s of node.findDirectExpressions(Expressions.Source)) {
new source_1.Source().runSyntax(s, input);
}
for (const s of node.findDirectExpressions(Expressions.Target)) {
new target_1.Target().runSyntax(s, input);
}
}
}
exports.While = While;
//# sourceMappingURL=while.js.map