@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
10 lines (9 loc) • 543 B
TypeScript
import type { NormalizerData } from '../../normalizer-data';
import type { RNode } from '../../../../model/model';
import type { JsonEntry } from '../../../json/format';
/**
* Returns an expression list if there are multiple children, otherwise returns the single child directly with no expr wrapper
* @param data - The data used by the parser (see {@link NormalizerData})
* @param entry - The JSON object to extract the meta-information from
*/
export declare function normalizeExpression(data: NormalizerData, entry: JsonEntry): RNode;