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