@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
13 lines (12 loc) • 643 B
TypeScript
import type { NormalizerData } from '../normalizer-data';
import type { RAccess } from '../../../model/nodes/r-access';
import type { NamedJsonEntry } from '../../json/format';
/**
* Tries to normalize the given data as access (e.g., indexing).
*
* @param data - The data used by the parser (see {@link NormalizerData})
* @param mappedWithName - The JSON object to extract the meta-information from
*
* @returns The parsed {@link RAccess} or `undefined` if the given construct is not accessing a value
*/
export declare function tryNormalizeAccess(data: NormalizerData, mappedWithName: NamedJsonEntry[]): RAccess | undefined;