@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
12 lines (11 loc) • 725 B
TypeScript
import type { NormalizerData } from '../../normalizer-data';
import type { RSymbol } from '../../../../model/nodes/r-symbol';
import type { NamedJsonEntry } from '../../../json/format';
/**
* Normalize the given object as an R symbol (incorporating namespace information).
* @param data - The data used by the parser (see {@link NormalizerData})
* @param objs - The JSON object to extract the meta-information from
* @returns The parsed symbol (with populated namespace information) or `undefined` if the given object is not a symbol.
* @see {@link RSymbol} for more information about R symbols.
*/
export declare function tryNormalizeSymbol(data: NormalizerData, objs: readonly NamedJsonEntry[]): RSymbol | undefined;