@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
19 lines • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RForLoop = void 0;
const model_1 = require("../model");
const type_1 = require("../type");
/**
* Helper for working with {@link RForLoop} AST nodes.
*/
exports.RForLoop = {
...model_1.RNode,
name: 'RForLoop',
/**
* Type guard for RForLoop nodes.
*/
is(node) {
return node?.type === type_1.RType.ForLoop;
}
};
//# sourceMappingURL=r-for-loop.js.map