@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
12 lines (11 loc) • 540 B
TypeScript
import type { NormalizerData } from '../../normalizer-data';
import type { RComment } from '../../../../model/nodes/r-comment';
import type { JsonEntry } from '../../../json/format';
/**
* Normalize the given object as an R comment.
* This requires you to check the corresponding name beforehand.
*
* @param data - The data used by the parser (see {@link NormalizerData})
* @param obj - The JSON object to extract the meta-information from
*/
export declare function normalizeComment(data: NormalizerData, obj: JsonEntry): RComment;