@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
15 lines • 540 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeDelimiter = normalizeDelimiter;
const normalize_meta_1 = require("../../normalize-meta");
const type_1 = require("../../../../model/type");
function normalizeDelimiter(elem) {
const { location, content } = (0, normalize_meta_1.retrieveMetaStructure)(elem.content);
return {
type: type_1.RType.Delimiter,
location,
lexeme: content,
subtype: elem.name
};
}
//# sourceMappingURL=normalize-delimiter.js.map